As the subject is self explainatory, I need help.
I'm writing a small tool that displays a splash screen when starting.
The splash screen is a Form. When there was only a Button control on it it was working fine.
But when I removed it and placed a WebBrowser control on it, it throws the above exception.
Thanks in advance.
...
we can change the background of buttons and menu items n other UI components etc but is there a way to also change the background image for hover, pressed and other states
...
In order to make a convenient UI for an .Net 2.0 Winforms application I am working on, I have need for a control that I'm pretty sure goes beyond the "out of the box" behavior of any standard control. A mock-up of what I'm trying to achieve follows:
Essentially, this part of the application attempts to parse words into syllables from ...
Hello!
I'm developing a WinForm Windows Mobile 5.0 or above with .Net Compact Framework 2.0 SP2 and C#.
I have two custom controls (two classes that inherits from Control). If I click over a specific location of control1 it shows control2 (control2 is a control of control1). In other words, control2 is a pop up menu that it shows over ...
I'm something of a n00b at C# and I'm having trouble finding an answer to this, so if it's already been answered somewhere feel free to laugh at me (provided you also share the solution). :)
I'm reading an XML file into a GUI form, where certain elements are paths to files that are entered into TextBox objects. I'm looping through the ...
I was thinking that that this would be a useful way to display what would appear to be a Treeview with multiple top nodes.
Example: Lets say that I want to create a TreeView of geography and I want the top nodes(s) to be countries. I could do this by:
World
Mexico
Japan
But what the user wants is:
Mexico
Japan
It would be ...
I am experiencing some annoying behavior with Visual Studio .NET 2008.
We have created a base form, and a base grid derived from Infragistics UltraGrid.
In the base form, we have set some properties like colors, font size, etc.
1. We create a new Windows Form, (i.e. DerivedForm)
2. We change the inheritance to BaseForm, by simply addin...
It seems like a simple question but how do I set the bacground color of the 'tab control', it seems to be derived from the standard window theme color. Is it Possible to create a black tab control with white text written on the tabs themselves (not the tab page)?
Help, I,m a little familiar with custom controls extending existing contro...
Somehow forms and controls created through Visual Studio and the designer have the great ability to scale themselves depending on the current DPI/font size of Windows. One portion of my UI is a tab control full of dynamic pages and labels/inputs generated depending on the user's selection. When these are created, they use hard coded size...
Can any one provide me a simple Windows forms project to implement a Compound File Explorer?, With which we can access all the storages and streams of a compound file(.xls,.doc) in tree view.
...
I've gone through this http://stackoverflow.com/questions/246058/system-invalidoperationexception-the-object-is-currently-in-use-elsewhere-ho
but it didn't help.
The case here is different. I'm using Backgroundworkers. 1st backgroundworker starts operating on the image input of user and inside firstbackgroundworker_runworkercompleted() ...
Is it at all possible to detect when your application stops responding, so appropriate action can be taken automatically, instead of the user having to go to task manager/end process and/or end task etc?
...
I have some controls on a form, and I have them anchored to the left and right of the form to ensure they grow and shrink with the form. My form is also set to automatically grow and shrink in order to accommodate some labels that may get long strings. When those labels get their long strings removed, I want my form to go back to the wid...
Hello.
I'm developing a winform Windows Mobile 5.0 or above application with .NET Compact Framework 2.0 SP2 and C#.
I'm wondering if there is a way to set a default size of a custom control. When I drop it over the form (on the designer) it is always getting 200x200 as its default size.
Any advice?
Thank you!
...
I have a main form (frmMain), with some buttons (button1, button2...).
then I do this:
object objectsContainer = frmMain; // <--now the object contains form base, button1, button2...
how could I loop through all containing items in my object to access butto1, button2...???
I did this, but it's not what I want.
foreach (PropertyInf...
Hello, i have a .net winforms application that i want to be "soundless".
occasionally when a user opens a dialog or press enter a "pling" sound appears. how can i disable this on a global scale for my application?
...
I have assembly that targets .NET 2.0 to be compatible with a broad range of applications. When used with a desktop application (either winforms or WPF) I want to hook certain hotkeys and popup modeless dialog windows. The tricky bit is finding a solution that can be implemented under .NET 2.0 that is compatible with WPF.
For winforms...
I have an editable grid bound to a Linq to SQL table. I use SubmitChanges to save changes and I need a way to get old values of the changed rows. I tried getting context.GetChangeSet().Updates but the problem is the rows in this collection has new values not the old ones, even before calling SubmitChanges(). How can I do this?
...
Here is the UI of my application. It contains a DataSet, a Save Button, a calendar (monthCalendar), and a DataGridView (columns are Assignment, Description, Date Due, Subject Finished). I want it to do the events:
The Calendar changes the dates to a different color if they are in the date due column
The save button should save the Da...
I want to make a panel have a thick border. Can I set this somehow?
PS, I am using C#. VS 2008.
...