WinForms Questions

1

Difference Behaviour of Dispose Method Between Winforms and Textboxes
This question is just for knowledge. Whenever Dispose Method Called for clean Winforms, it’s Finalize and disposed. So my question is why not in TextBox case. It Should same behaviour of dispose method against textbox. Instead of clean/dispose it will remain Invisible. If we have no use than it will have to completly remove during [...]

Answer Question   |  September 7, 2010  12:54 PM
C#, TextBox, Visual Studio, Visual Studio 2005, VS 2005, WinForms
asked by:
260 pts.

Access Listbox Without Focusing in WinForms
Is that possible to access ListBox without Focus? I mean as below example I have a TextBox and a ListBox. I wants when cursor in textbox listbox should search the items containing in textbox and do well up and down arrow key. When i press Enter the items which is search by listbox should replace [...]

Answer Question   |  August 27, 2010  3:44 PM
C#, ListBox, Visual Studio, Visual Studio 2005, VS 2005, WinForms
asked by:
260 pts.

Pocket PC: How to stop a form from closing
Using C#, on a WinForm, to stop a form from closing, I simply have to put this line in the public Form1(): this.Closing += new System.ComponentModel.CancelEventHandler(this.Form1_Closing); and add this bit: public void Form1_Closing(object sender, System.ComponentModel.CancelEventArgs e) { if (MessageBox.Show(“Are you sure you want to exit?”, “Confirm exit”, MessageBoxButtons.YesNo, MessageBoxIcon.Question, MessageBoxDefaultButton.Button1) == DialogResult.No) { e.Cancel = [...]

Answer Question   |  July 29, 2009  9:45 PM
C#, Pocket PC, WinForms
asked by:
85 pts.

How to open a new email in Lotus Notes using C#
I am writing a .Net c# windows application where I need to open a new email in the Lotus Notes mail client. Any ideas on how this could be done

Answer Question   |  May 6, 2009  7:57 PM
.NET, C#, Lotus Notes, Windows Application, WinForms
asked by:
BKR
5 pts.

1