Beispiel #1
0
 public void NextForm()
 {
     if (type == MenuForm.typeFolio.unloading)
     {
         readerUnloading.Show(FolioBox.Text);
     }
     else
     {
         readerLoading.Show(FolioBox.Text);
     }
 }
Beispiel #2
0
 private void NextButton_Click(object sender, EventArgs e)
 {
     if (FolioBox.TextLength != 0)
     {
         if (type == MenuForm.typeFolio.unloading)
         {
             readerUnloading.Show(FolioBox.Text);
         }
         else
         {
             readerLoading.Show(FolioBox.Text);
         }
     }
     else
     {
         MessageBox.Show("Indique un folio", "Error",
                         MessageBoxButtons.OK, MessageBoxIcon.Asterisk, MessageBoxDefaultButton.Button1);
     }
 }