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(); }
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(); }