I have a splash screen set using the Application Framework. In my main form, I check for some conditions in Load() event of the MainForm and display a MsgBox if some of them fails.
But the problem is, the MsgBox comes below the Splash Screen. Is there any way to correct this?
...
I have taken over a project, that have been coded by someone else. There are weird stuff in it like this: An interface declaring a custom event named Load ( event EventHandler Load; )
Since the Form class has its own Load event, what is supposed to happen when this interface is implemented? Is it some form of overriding the default event...
There are plenty of articles addressing flicker in Windows Forms. The majority recommend setting DoubleBuffered = true or setting a bunch of ControlStyle flags. However, none of these help reduce a TextBox flickering.
Here are a couple of related questions:
How to double buffer .NET controls on a form?
How to eliminate flicker in Wind...
I have a layout of medium complexity based on several nested TableLayoutPanels. Resizing the form causes the controls inside the deeper nested tables to visually lag behind the resize. Firstly, this makes them look like they move around while the form is being resized, but worse, the edges of the controls are visibly clipped when they la...
In a Windows Forms application I want to separate the GUI from the logic. The user requests are complex and involve communications so I don't want it to depend on the GUI thread. The structure should be something like:
GUI -----> splash screen ---------> User Form --------------> ...
| #
...
Hi I added a context menu on label (c#, winforms). my context menu having 3 child items and i want to display label text when i click on any one of context menu items.
thanks in advance
...
I have a button on my form. When the user clicks on the button, Microsoft Word is running.
I want to store the file in SQL Server 2005, when the user saves the file.
...
Hi guys,
Below is a method that I want to ship off into a background worker but I am struggling how to do it based on how created my method. As you can it doesn't return anything which is ok but it expects a directoryInfo object everytime it is recalled.
private void getSizeForTargetDirectory(DirectoryInfo dtar)
{
// g...
I have a Form with TextBox on it like this:
Form f = new Form();
TextBox t = new TextBox ();
t.Click += new EventHandler(t_Click);
t.LostFocus += new EventHandler(t_LostFocus);
Testus tt = new Testus();
t.DataBindings.Add("Left", Testus , "X");
t.DataBindings.Add("Text", Testus ,...
Hi,
I have a rather specific query -
I want to be able to retrieve data from a database, display it in a DataGridView and allow the user to filter columns by inputting simple filter queries above each column.
For example:-
| Foo | Bar | Baz |
------------------------------------|
Filters | > 10 | 1/...
I am trying to understand the difference between the following 2 examples.
First, this is how I currently assign Data to a control in my WinForm App.
lkuCounty.Properties.DataSource = Person.CountyList();
lkuCounty.Properties.PopulateColumns();
lkuCounty.Properties.DisplayMember = "CountyName";
lkuC...
The MSDN documentation for the SplitContainer controls says:
With the SplitContainer control, you can create complex user interfaces;
often, a selection in one panel
determines what objects are shown in
the other panel.
So, I have a SplitContainer that is split horizontally having top and bottom panels.
What I would like to...
Say I have a webbrowsercontrol inside a windows form, and the user logs in to a secure site from the form. If the user were to open IE separately, it would also show them logged in. Is it possible to isolate the windows form's IE instance?
...
I have a WPF window that I am launching from inside of a winform app. I only want to allow once instance of that WPF window to be open at a time, and not warn that user if they try to open it again.
I am having a problem however trying to search for that WPF window being open because the window is being launched from a winform. What I n...
I already made the background transparent but there is still some part left from the group box. How do I make those transparent also?
The blank line are what I want it to be transparent. It should give you the picture of what I want. Thanks.
And don't even ask what are the password for, all of them are just dummies :)
If you want to ...
i would like to be able to set the change the default file location. for example if i do a filestream on a "file.txt", i want it to look by default in the desktop. is there somewhere in the settings of vb.net express 2008 where i can change this default location of working with files?
...
I am trying to do simple data binding to an instance of an object. Something like this:
public class Foo : INotifyPropertyChanged
{
private int bar;
public int Bar { /* snip code to get, set, and fire event */ }
public event PropertyChangedEventHandler PropertyChanged;
}
// Code from main form
public Form1()
{
Initiali...
Well i am developing an application whose interface requires an animated slide show
and by animated slide show i means UI components placed together change their positions after regular intervals in a sliding (animated) fashion. Let me illustrate my idea with the following image,
in the image above there are three columns of UI compo...
hi
I want to delete rows in my gridview whit button delete on keyboard.what do I do?
...
I have a winform app. On the menu bar, far right, I placed a dropdown box on top of it. When I resize the form the dropdown box obviously stays in the same position (x,y location). How can I get it to move propotionally to the right when the form is resized. It basically stays on the same Y axis.
I can't use a layout control since it's...