Beispiel #1
0
 void Print(int num)
 {
     StopRefresh();
     if (Data.lines[num].partNum == null |
         Data.lines[num].partNum == "" |
         Data.lines[num].count == "")
     {
         return;
     }
     if (Data.isTerminal)
     {
         FormPrint formprint = new FormPrint(num);
         formprint.ShowDialog();
     }
     else
     {
         FormPrintPC formprint = new FormPrintPC(num);
         formprint.ShowDialog();
     }
     StartRefresh();
 }
Beispiel #2
0
 void Print(int num)
 {
     StopRefresh();
     if (Data.Labels[num].PartNum == null |
         Data.Labels[num].PartNum == "" |
         Data.Labels[num].Count == "") return;
     if (Data.IsMachine)
     {
         FormPrint formprint = new FormPrint(num);
         formprint.ShowDialog();
     }
     else
     {
         FormPrintPC formprint = new FormPrintPC(num);
         formprint.ShowDialog();
     }
     StartRefresh();
 }