The form that currently loads during when our beta WinForm application starts up is one that shows a vast array of buttons... "Inventory", "Customers", "Reports", etc. Nothing too exciting.
I usually begin UI by looking at similar software products to see how they get done, but as this is a corporate application, I really can't go dow...
Currently I have a Winforms app which relies on transpareny effects. However this is proving to be an absolute pain in the preverial behind! Winforms as Im learning doesn't deal with transparency particularly well.
I was wondering whether or not this would be any easier using WPF components for the transparency bit and winforms for the ...
I have tried : ParentForm.ControlBox = false;
... but it doesn't seem to work ... the ControlBox is still enabled!
Any ideas?
/I don't want to use the Win32 interop method to disable the 'X'. Disabling the ControlBox is fine.
...
I have a custom control I'm currently developing and realized that my code was being ran twice. Not really a huge issue (it is only a Focus method call) however I would like to understand it.
From reading the MSDN description it states that:
Fires when the user clicks the left mouse button on the object.
So I added the OnClick e...
Hi.
Is there a way to allow an instance of a class from a dynamically loaded assembly to show a form?
I have this plugin system which loads assemblies in separate domains (for unloading them as needed). These assemblies might have settings, and I was hoping I could have each assembly present a form to the end user to allow for editing ...
I have a WPF control that I would like to overlay onto a WinForms application. So I have dutifully created a Element Host that can show the following WPF object:
<UserControl x:Class="LightBoxTest.LightBox"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
...
Hi.
I'm looking for an efficient little algorithm to traverse the text property of a .NET treeView node list. When the user is finished adding new nodes and eventually hits save I need to check that the text property (that contains the user entered friendly name) is still unique.
Life would be easy if the treeView key happened to be thi...
I am trying to use a CBT hook to receive HCBT_MOVESIZE notifications. It works fine for all applications when I run my program from a folder on my desktop. When I install the application to the "Program Files" or "Program Files (x86" folder I only receive notifications for my own application. The .exe file is signed and works perfectly ...
I have this App that uses the Webbrowser control to do automated browsing. I need to come up with a way to automatically close the browser (dispose), then create another instance that actually works.
Here's some of the code that I have so far.
this.webBrowser2 = new System.Windows.Forms.WebBrowser();
this.webBrowser2.Dock = System.Win...
I have a WinForms dialog box that contains 3 radio buttons. I am using ApplicationSettings to bind the Checked property of each of these RadioButton controls, but it doesn't do what I am expecting it to do. Now I have to click each radio button twice before it gets checked and the selected radio button is not being persisted.
Is there a...
Many posts around about restoring a WinForm position and size.
Examples:
www.stackoverflow.com/questions/92540/save-and-restore-form-position-and-size
www.codeproject.com/KB/dialog/restoreposition.aspx?fid=1249382&df=90&mpp=25&noise=3&sort=Position&view=Quick&select=2595746
But I have yet to find code to do this with multiple monito...
Update: Management has seen the light, we're going with php and mysql. Thanks for your help.
Subject: Access 2007
If it were my choice, i'd write up a web-based app w/ perl and mysql... But the higher-ups aren't good with computers, and know more about microsoft excel than they do the command line. They are great at organizing and...
I am trying to change the UserAgent of the WebBrowser control in a Winforms application.
I have successfully achieved this by using the following code:
[DllImport("urlmon.dll", CharSet = CharSet.Ansi)]
private static extern int UrlMkSetSessionOption(int dwOption, string pBuffer, int dwBufferLength, int dwReserved);
const int UR...
I've created a DataGridView and added a DataGridViewImageColumn (using the Designer).
The DataGridView has "AllowUserToAddRows = true" so a blank row is displayed for the user to enter a new row in. In this blank row the DataGridViewImageColumn displays a red x. I want to always display the same image in the column regardless of whether...
I'm trying to write a simple Compact Framework winforms app. The main form has a DataGrid bound to a DataTable (with data from an xml file). I want to bring up another form that displays the details of the current record. I have something like the following code as the constructor for the detail form.
public DetailsForm(DataTable dtL...
I'm using listview control with the following parameters set:
this.listView1.BackColor = System.Drawing.Color.Gainsboro;
this.listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
this.columnHeader1,
this.columnHeader2});
this.listView1.FullRowSelect = true;
this.listView1.H...
I am trying to build an employee data entry form that looks like this:
Employee Form
-----------------------------------------------
--------------------------------------- |
| | Name | | |
| Picture | Department | | |
| | Position | | |
| ...
I am manually displaying a System.Windows.Forms.Tooltip on a control using the show method, but how can I detect if a tooltip is currently shown?
If I need to change the method for showing it to find out, that is fine.
...
Im about to start working on a big application (big for me anyway :P) and i was wondering, how do i create a splash page for the program that shows up as soon as the exe is launched and disappears when all of the exe is loaded?
...
The ASP.NET TreeView has a NodeWrap property, is there an equivalent way of accomplishing the same thing in a WinForms TreeView?
EDIT:
Thanks for your suggestions of other controls, unfortunately my client will not permit the use of third-party controls.
...