Click here to Skip to main content
15,886,578 members
Home / Discussions / Windows Forms
   

Windows Forms

 
AnswerRe: How to display text on the Datagridview Header? Pin
Dave Kreskowiak12-Nov-08 4:08
mveDave Kreskowiak12-Nov-08 4:08 
GeneralRe: How to display text on the Datagridview Header? Pin
Soma Shekhar12-Nov-08 5:21
Soma Shekhar12-Nov-08 5:21 
GeneralRe: How to display text on the Datagridview Header? Pin
Dave Kreskowiak12-Nov-08 12:16
mveDave Kreskowiak12-Nov-08 12:16 
GeneralRe: How to display text on the Datagridview Header? Pin
Paul Conrad12-Nov-08 12:45
professionalPaul Conrad12-Nov-08 12:45 
QuestionHow to save the Windows current view and reload when next time the application is started? Pin
Soma Shekhar11-Nov-08 7:20
Soma Shekhar11-Nov-08 7:20 
AnswerRe: How to save the Windows current view and reload when next time the application is started? Pin
Richard Blythe11-Nov-08 16:18
Richard Blythe11-Nov-08 16:18 
GeneralRe: How to save the Windows current view and reload when next time the application is started? Pin
Soma Shekhar11-Nov-08 17:00
Soma Shekhar11-Nov-08 17:00 
GeneralRe: How to save the Windows current view and reload when next time the application is started? Pin
Richard Blythe11-Nov-08 17:18
Richard Blythe11-Nov-08 17:18 
If there is any automatic save option, I don't know of it. Even if there was one provided by MS, it would generically store too much data and make the file size too large. For example, you don't want to be storing every attribute of the listView object: Font, BackColor, ForeColor, Items etc.

Here's a generic example to illustrate the preference class:

//Save the form's background color
preferences.Add("windowsBColor", this.BackColor);

--------

//Restore the windows backcolor
if (preferences.ContainsKey("windowBColor"))
{
this.BackColor = (Color)(preferences["windowBColor"]);
}

If you need further assistance, don't hesitate to ask.

Cheers!
Richard

My code this week has no errors. But it's Monday morning and I haven't got out of bed.

QuestionHow to show a value in an Edit Textbox Pin
J_E_D_I10-Nov-08 8:35
J_E_D_I10-Nov-08 8:35 
AnswerRe: How to show a value in an Edit Textbox Pin
Dave Kreskowiak10-Nov-08 12:58
mveDave Kreskowiak10-Nov-08 12:58 
Questionlistbox Pin
sram1510-Nov-08 0:22
sram1510-Nov-08 0:22 
AnswerRe: listbox Pin
ScottM112-Nov-08 1:23
ScottM112-Nov-08 1:23 
Questionhow to simulate the image layer , like the one in Photoshop Pin
Member 41517587-Nov-08 4:27
Member 41517587-Nov-08 4:27 
AnswerRe: how to simulate the image layer , like the one in Photoshop Pin
Ray Cassick7-Nov-08 4:43
Ray Cassick7-Nov-08 4:43 
GeneralRe: how to simulate the image layer , like the one in Photoshop Pin
Member 415175810-Nov-08 0:15
Member 415175810-Nov-08 0:15 
GeneralRe: how to simulate the image layer , like the one in Photoshop Pin
Thomas Stockwell10-Nov-08 1:16
professionalThomas Stockwell10-Nov-08 1:16 
GeneralRe: how to simulate the image layer , like the one in Photoshop Pin
Dave Kreskowiak10-Nov-08 3:12
mveDave Kreskowiak10-Nov-08 3:12 
QuestionHow to stop installation in Setup Project 2008? Pin
praful_udade6-Nov-08 20:44
praful_udade6-Nov-08 20:44 
QuestionAny way to purge a Dictionary of items meeting some criterion? Pin
supercat96-Nov-08 9:36
supercat96-Nov-08 9:36 
AnswerRe: Any way to purge a Dictionary of items meeting some criterion? Pin
PIEBALDconsult6-Nov-08 10:19
mvePIEBALDconsult6-Nov-08 10:19 
GeneralRe: Any way to purge a Dictionary of items meeting some criterion? Pin
supercat96-Nov-08 11:31
supercat96-Nov-08 11:31 
AnswerRe: Any way to purge a Dictionary of items meeting some criterion? Pin
Dave Kreskowiak6-Nov-08 10:23
mveDave Kreskowiak6-Nov-08 10:23 
GeneralRe: Any way to purge a Dictionary of items meeting some criterion? Pin
supercat96-Nov-08 11:14
supercat96-Nov-08 11:14 
GeneralRe: Any way to purge a Dictionary of items meeting some criterion? Pin
Luc Pattyn6-Nov-08 11:39
sitebuilderLuc Pattyn6-Nov-08 11:39 
GeneralRe: Any way to purge a Dictionary of items meeting some criterion? Pin
supercat96-Nov-08 12:14
supercat96-Nov-08 12:14 

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.