Example #1
0
        private void ok_Click(object sender, RoutedEventArgs e)
        {
            SVConfig config = SVConfig.instance();

            config.SaveInterval = Int32.Parse(this.textBox.Text);
            config.saveConfig();
            this.Close();
        }
Example #2
0
        private void okBtn_Click(object sender, EventArgs e)
        {
            SVConfig config = SVConfig.instance();

            //config.RectCount = Int32.Parse(this.textBox1.Text);
            config.SaveInterval = Int32.Parse(this.textBox2.Text);
            config.saveConfig();

            DialogResult = System.Windows.Forms.DialogResult.Yes;
        }