private void butPrint_Click(object sender, EventArgs e) { _gridPageCur = 0; _gridPrintProgress = EraProcPrintingProgress.DocumentHeader; PrinterL.TryPrintOrDebugRpPreview(pd_PrintPage, Lan.g(this, "Printed 835 Procedure") + ((_proc.ProcNum == 0)?"":(" " + _proc.ProcNum)), printoutOrientation: PrintoutOrientation.Landscape); }
///<summary>Increments the print state to the next state in the EraProcPrintingProgress enum.</summary> private void TransitionPrintState() { _gridPrintProgress = (EraProcPrintingProgress)(((int)_gridPrintProgress) + 1); //Transition }