Пример #1
0
        private void addProductButton_Click(object sender, EventArgs e)
        {
            AddProductForm window = new AddProductForm();

            window.ShowDialog();
            updateListView1();
        }
Пример #2
0
        private void button1_Click(object sender, EventArgs e)
        {
            AddProductForm addProductForm = new AddProductForm();

            addProductForm.ShowDialog();
        }