예제 #1
0
        private void ShopForm_Load(object sender, EventArgs e)
        {
            OptionsForm optionsForm = new OptionsForm(Shop);
            optionsForm.ShowDialog();
            ApplySettings();

            dataGridViewCashs.AutoGenerateColumns = false;
            dataGridViewCashs.DataSource = Shop.Cashs;

            timer1.Enabled = true;
        }
예제 #2
0
 private void btnChange_Click(object sender, EventArgs e)
 {
     OptionsForm optionsForm=new OptionsForm(Shop);
     if(optionsForm.ShowDialog()==DialogResult.OK)
         ApplySettings();
 }