Click here to Skip to main content
16,012,223 members
Home / Discussions / C#
   

C#

 
GeneralRe: One about Remoting Pin
Heath Stewart25-May-04 6:43
protectorHeath Stewart25-May-04 6:43 
GeneralRe: One about Remoting Pin
Diego F.25-May-04 21:41
Diego F.25-May-04 21:41 
GeneralRe: One about Remoting Pin
Heath Stewart26-May-04 3:12
protectorHeath Stewart26-May-04 3:12 
GeneralRe: One about Remoting Pin
Diego F.26-May-04 5:20
Diego F.26-May-04 5:20 
GeneralRe: One about Remoting Pin
Heath Stewart26-May-04 5:23
protectorHeath Stewart26-May-04 5:23 
GeneralRe: One about Remoting Pin
Diego F.26-May-04 6:03
Diego F.26-May-04 6:03 
Generalwindow.showmodal Pin
rbarzallo21-May-04 6:08
rbarzallo21-May-04 6:08 
GeneralRe: window.showmodal Pin
Heath Stewart21-May-04 6:45
protectorHeath Stewart21-May-04 6:45 
You mean Form.ShowDialog? Yes, but you must dispose the Form when you don't need it anymore. Modal dialogs need to be disposed explicitly or you'll gradually consume more and more memory that won't be reclaimed because of native resources:
using (MyForm form = new MyForm())
{
  form.ShowDialog();
}
Using using this way ensures that even if an exception is thrown your modal form is disposed. See the .NET Framework SDK for the Form.ShowDialog method for more information.

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: window.showmodal Pin
rbarzallo21-May-04 7:05
rbarzallo21-May-04 7:05 
GeneralRe: window.showmodal Pin
Heath Stewart21-May-04 8:46
protectorHeath Stewart21-May-04 8:46 
GeneralRe: window.showmodal Pin
rbarzallo21-May-04 8:57
rbarzallo21-May-04 8:57 
GeneralTreeviews and Imagelists Pin
Kryptonic21-May-04 5:41
Kryptonic21-May-04 5:41 
GeneralRe: Treeviews and Imagelists Pin
Heath Stewart21-May-04 5:46
protectorHeath Stewart21-May-04 5:46 
Generalmsn profile tool Pin
hardboy11121-May-04 5:39
hardboy11121-May-04 5:39 
GeneralRe: msn profile tool Pin
Heath Stewart21-May-04 5:41
protectorHeath Stewart21-May-04 5:41 
GeneralShared DBConnections and Dynamic Connection Strings Pin
redrover_nc21-May-04 5:02
redrover_nc21-May-04 5:02 
GeneralRe: Shared DBConnections and Dynamic Connection Strings Pin
Heath Stewart21-May-04 5:37
protectorHeath Stewart21-May-04 5:37 
GeneralAppSpecific Pin
Huy Pham21-May-04 4:55
Huy Pham21-May-04 4:55 
Questionhow to use rs232/ rs485 in .net compact framework Pin
jelleo21-May-04 3:33
jelleo21-May-04 3:33 
AnswerRe: how to use rs232/ rs485 in .net compact framework Pin
Dave Kreskowiak21-May-04 3:59
mveDave Kreskowiak21-May-04 3:59 
QuestionHow to hide taskbar in C# compact .net framework Pin
jelleo21-May-04 3:31
jelleo21-May-04 3:31 
AnswerRe: How to hide taskbar in C# compact .net framework Pin
Dave Kreskowiak21-May-04 4:13
mveDave Kreskowiak21-May-04 4:13 
Generalc+ instead of c# Pin
jelleo21-May-04 5:26
jelleo21-May-04 5:26 
GeneralRe: c+ instead of c# Pin
Judah Gabriel Himango21-May-04 5:52
sponsorJudah Gabriel Himango21-May-04 5:52 
GeneralRe: c+ instead of c# Pin
jelleo21-May-04 6:44
jelleo21-May-04 6:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.