Beispiel #1
0
 private void button1_Click(object sender, EventArgs e)
 {
     WindowLog.Info("Config::Save", "Saving new configuration");
     Program.ini.Write("Display", "CacheDataDisplayMode", comboBox1.Text);
     Program.cacheDataDisplayMode = comboBox1.Text;
     this.Close();
 }
Beispiel #2
0
        public static DialogResult Ask(string svc, string message)
        {
            WindowLog.Info(svc, message);

            return(MessageBox.Show(message, svc, MessageBoxButtons.YesNo, MessageBoxIcon.Question));
        }