private void button2_Click(object sender, EventArgs e)
        {
            using (var accountsList = new Form_AccountList())
            {
                accountsList.ShowDialog();
            }

            fillComboBoxes();
        }
Exemple #2
0
        private void СписокСчетовtoolStripMenuItem_Click(object sender, EventArgs e)
        {
            arxDs.ds = dataSet1;

            using (var fListAcc = new Form_AccountList())
            {

                if (fListAcc.ShowDialog() == DialogResult.OK)
                {
                    dataSet1 = arxDs.ds;
                }

                saveData();
            }
        }