Beispiel #1
0
        public FRM_PRODUCTS()
        {
            InitializeComponent();

            if (frm == null)
            {
                frm = this;
            }

            this.dataGridView1.DataSource = prd.GetAllProducts();
        }
        private void manageProductsToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FRM_PRODUCTS frm = new FRM_PRODUCTS();

            frm.ShowDialog();
        }
Beispiel #3
0
 static void frm_FromClosed(object sender, FormClosedEventArgs e)
 {
     frm = null;
 }