示例#1
0
 //Constructor
 public frm_Products()
 {
     InitializeComponent();
     if (ProductForm == null)
     {
         ProductForm = this;
     }
     //This Method GetAllProducts Names to fill the dataGridView
     ViewAllProducts();
 }
示例#2
0
        //Show form for Management All Products
        private void productsManagementToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frm_Products frm = new frm_Products();

            frm.ShowDialog();
        }