Click here to Skip to main content
16,014,392 members
Home / Discussions / C#
   

C#

 
GeneralRe: unboxing object to List Pin
AspDotNetDev20-Feb-10 23:39
protectorAspDotNetDev20-Feb-10 23:39 
QuestionRefrence Pin
pcsience20-Feb-10 9:00
pcsience20-Feb-10 9:00 
AnswerRe: Refrence Pin
Not Active20-Feb-10 9:47
mentorNot Active20-Feb-10 9:47 
Question[Ideas&Implementation] Saving settings of an application Pin
User 680178020-Feb-10 8:51
User 680178020-Feb-10 8:51 
AnswerRe: [Ideas&Implementation] Saving settings of an application Pin
OriginalGriff20-Feb-10 8:57
mveOriginalGriff20-Feb-10 8:57 
GeneralRe: [Ideas&Implementation] Saving settings of an application Pin
User 680178020-Feb-10 10:46
User 680178020-Feb-10 10:46 
GeneralRe: [Ideas&Implementation] Saving settings of an application Pin
OriginalGriff20-Feb-10 21:47
mveOriginalGriff20-Feb-10 21:47 
GeneralRe: [Ideas&Implementation] Saving settings of an application Pin
User 680178021-Feb-10 1:10
User 680178021-Feb-10 1:10 
Yes, I have looked at the modification dates of both versions. Even if I copy my executable file to another folder - nothing changes in the config file.

My settings:
public bool setLOW_Inter2D {
    get {
        return ((bool)(this["setLOW_Inter2D"]));
    }
    set {
        this["setLOW_Inter2D"] = value;
    }
}


Saving them if the window is closed:
private void LogOptionWindow_FormClosing(object sender, FormClosingEventArgs e)
{

    Settings1.Default.Save();

}


Integration of the settings:
this.cboxLOW_inter2D.AutoSize = true;
       this.cboxLOW_inter2D.Checked = Settings1.Default.setLOW_Inter2D;
       this.cboxLOW_inter2D.DataBindings.Add(new System.Windows.Forms.Binding("Checked", Settings1.Default, "setLOW_Inter2D"));
       this.cboxLOW_inter2D.Location = new System.Drawing.Point(175, 141);
       this.cboxLOW_inter2D.Name = "cboxLOW_inter2D";
       this.cboxLOW_inter2D.Size = new System.Drawing.Size(115, 17);
       this.cboxLOW_inter2D.TabIndex = 14;
       this.cboxLOW_inter2D.Text = "Interactive 2D Grid";
       this.cboxLOW_inter2D.UseVisualStyleBackColor = true;


Config file:
<setting name="setLOW_Inter2D" serializeAs="String">
    <value>True</value>
</setting>


modified 1-Aug-19 21:02pm.

AnswerRe: [Ideas&Implementation] Saving settings of an application Pin
User 680178021-Feb-10 3:41
User 680178021-Feb-10 3:41 
QuestionHow to create COM Dll in C# Pin
Sunil G20-Feb-10 2:29
Sunil G20-Feb-10 2:29 
AnswerRe: How to create COM Dll in C# Pin
OriginalGriff20-Feb-10 3:12
mveOriginalGriff20-Feb-10 3:12 
GeneralRe: How to create COM Dll in C# Pin
Sunil G20-Feb-10 3:13
Sunil G20-Feb-10 3:13 
GeneralRe: How to create COM Dll in C# Pin
OriginalGriff20-Feb-10 3:16
mveOriginalGriff20-Feb-10 3:16 
AnswerRe: How to create COM Dll in C# Pin
Rod Kemp20-Feb-10 16:27
Rod Kemp20-Feb-10 16:27 
Questionsend and receive message over the internet Pin
sanforjackass20-Feb-10 0:49
sanforjackass20-Feb-10 0:49 
AnswerRe: send and receive message over the internet Pin
Wamuti20-Feb-10 1:38
Wamuti20-Feb-10 1:38 
GeneralRe: send and receive message over the internet Pin
harold aptroot20-Feb-10 1:52
harold aptroot20-Feb-10 1:52 
GeneralRe: send and receive message over the internet Pin
Wamuti20-Feb-10 2:03
Wamuti20-Feb-10 2:03 
GeneralRe: send and receive message over the internet Pin
harold aptroot20-Feb-10 2:15
harold aptroot20-Feb-10 2:15 
GeneralRe: send and receive message over the internet Pin
Wamuti20-Feb-10 2:21
Wamuti20-Feb-10 2:21 
GeneralRe: send and receive message over the internet Pin
sanforjackass20-Feb-10 2:58
sanforjackass20-Feb-10 2:58 
GeneralRe: send and receive message over the internet Pin
Wamuti20-Feb-10 3:30
Wamuti20-Feb-10 3:30 
GeneralRe: send and receive message over the internet [modified] Pin
Not Active20-Feb-10 3:59
mentorNot Active20-Feb-10 3:59 
GeneralRe: send and receive message over the internet Pin
Richard MacCutchan20-Feb-10 4:12
mveRichard MacCutchan20-Feb-10 4:12 
GeneralMessage Closed Pin
20-Feb-10 6:57
stancrm20-Feb-10 6:57 

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.