Esempio n. 1
0
        private void button1_Click(object sender, EventArgs e)
        {
            Start start = new Start();

            start.Close();
            if (comboBox1.SelectedIndex == 0)
            {
                // Корректировать записи
                CorrectRecords correct = new CorrectRecords();
                correct.ShowDialog();
            }
            if (comboBox1.SelectedIndex == 1)
            {
                // Добавить запись
                AddingItems adding = new AddingItems();
                adding.ShowDialog();
            }
            if (comboBox1.SelectedIndex == 2)
            {
                // Delete
                DeleteFM delete = new DeleteFM();
                delete.ShowDialog();
            }
            ShowData();
        }
Esempio n. 2
0
        void AddRecord()
        {
            AddingItems a = new AddingItems();

            a.ShowData();

            a.ShowDialog();
        }