Example #1
0
        private void AddOrderButton_Click(object sender, EventArgs e)
        {
            var productName = textBox1.Text;

            var result = ProductRepository.CreateProduct(productName);

            if (result)
            {
                MessageBox.Show("Ürün eklendi.");
                var productScreen = new ProductScreen();
                productScreen.Search();
                this.Close();
            }
        }
Example #2
0
        private void button11_Click(object sender, EventArgs e)
        {
            ProductScreen productScreen = new ProductScreen();

            productScreen.Show();
        }