private void insertBtn_Click(object sender, EventArgs e)
 {
     Hide();
     using InsertStorageForm InsertStorageForm = new InsertStorageForm(storageId);
     InsertStorageForm.ShowDialog(this);
     Show();
 }
Exemplo n.º 2
0
 private void recordBtn_Click(object sender, EventArgs e)
 {
     if (_storageId == 9)
     {
         Hide();
         using InsertStorageForm insertStorageForm = new InsertStorageForm(_storageId);
         insertStorageForm.ShowDialog(this);
         Show();
     }
     else
     {
         Hide();
         using OutStorageForm outStorageForm = new OutStorageForm(_storageId);
         outStorageForm.ShowDialog(this);
         Show();
     }
 }