Ejemplo n.º 1
0
        private void bunifuFlatButton5_Click(object sender, EventArgs e)
        {
            var test = new InventoryForm();

            test.Closed += (s, args) => this.Close();
            test.Show();
            this.Hide();
        }
Ejemplo n.º 2
0
 // back button click
 private void BackButtonClick(object sender, EventArgs e)
 {
     if (inventoryDetailsGrid.RowCount > 0)
     {
         MessageBox.Show("Please Remove All Data First");
     }
     else
     {
         var test = new InventoryForm();
         test.Closed += (s, args) => this.Close();
         test.Show();
         this.Hide();
     }
 }