private void changeColorToolStripMenuItem_Click(object sender, EventArgs e) { ColorDialog cdlg = new ColorDialog(); if (cdlg.ShowDialog() == DialogResult.OK) { Properties.Settings.Default.custColor[Properties.Settings.Default.whoIsThisCrazyDoge] = cdlg.Color.Name; Properties.Settings.Default.Save(); Space spaaaaaaaaaaaaaaaaaaace1 = new Space(); spaaaaaaaaaaaaaaaaaaace1.Show(); spaaaaaaaaaaaaaaaaaaace1.Show(); } }
private void ohThatThingYeahDoThatThanksFriend() { if (weKnowWhatThisIs.Text == Properties.Settings.Default.woahThereHello[Properties.Settings.Default.whoIsThisCrazyDoge]) { if (Properties.Settings.Default.loggedIn[Properties.Settings.Default.whoIsThisCrazyDoge] == "false") { Space spaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaace = new Space(); spaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaace.Show(); spaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaace.BringToFront(); Properties.Settings.Default.loggedIn[Properties.Settings.Default.whoIsThisCrazyDoge] = "true"; this.Close(); } else { this.Close(); } } else { weKnowWhatThisIs.Text = ""; ImageFactory imgg = new ImageFactory(); Properties.Resources._20pertrans_lighterGray.Save("C:\\ProjectSnowshoes\\loginbacktempa.png"); imgg.Load("C:\\ProjectSnowshoes\\loginbacktempa.png"); imgg.Tint(Color.DarkRed); panel1.BackgroundImage = imgg.Image; pwdWarning.Visible = true; } }
//private void bgWriter_DoWork(object sender, DoWorkEventArgs e) //{ //} private void bgWriter_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e) { Properties.Settings.Default.whoIsThisCrazyDoge = Properties.Settings.Default.nickname.Count - 1; Space spaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaace = new Space(); spaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaace.Show(); spaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaace.BringToFront(); Properties.Settings.Default.loggedIn[Properties.Settings.Default.whoIsThisCrazyDoge] = "true"; this.Close(); }
private void button1_Click(object sender, EventArgs e) { if (weKnowWhatThisIs.Text == Properties.Settings.Default.woahThereHello[Properties.Settings.Default.whoIsThisCrazyDoge]) { Space spaaaaaaaaaaaaaaaaaaace = new Space(); spaaaaaaaaaaaaaaaaaaace.Show(); spaaaaaaaaaaaaaaaaaaace.BringToFront(); this.Close(); } else { pwdWarning.Visible = true; weKnowWhatThisIs.Text = ""; } }