Esempio n. 1
0
 private void ES_Notifaction_Click(object sender, EventArgs e)
 {
     if (stsUI.ShowDialog(this) == DialogResult.OK)
     {
         SaveConfigs();
     }
 }
Esempio n. 2
0
        private void ES_Setting_Click(object sender, EventArgs e)
        {
            if (beginUpdate)
            {
                return;
            }

            if (stsUI.ShowDialog(this) == DialogResult.OK)
            {
                SaveConfigs();

                if (!beginUpdate)
                {
                    new Thread(RefreshData)
                    {
                        IsBackground = true,
                        Name         = "Update Thread",
                        Priority     = ThreadPriority.BelowNormal
                    }.Start();
                }
            }
        }