private void outBtn_Click(object sender, EventArgs e)
 {
     Hide();
     using OutStorageForm outStorageForm = new OutStorageForm(storageId);
     outStorageForm.ShowDialog(this);
     Show();
 }
Ejemplo 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();
     }
 }