Example #1
0
        private void buttonApply_Click(object sender, EventArgs e)
        {
            buttonApply.BackColor = SystemColors.Control;
            buttonApply.Update();

            try
            {
                LocalProfile.SavePATH(textBoxPATH.Text);
            }
            catch (Exception exc)
            {
                MessageBox.Show(exc.Message);
            }

            buttonApply.BackColor = Color.LightGreen;
        }
Example #2
0
 private void FormMain_Load(object sender, EventArgs e)
 {
     textBoxPATH.Text = LocalProfile.ReadPATH();
 }