Exemplo n.º 1
0
        private void ShowPrintPreview()
        {
            if (printPreviewForm == null)
            {
                printPreviewForm = new PrintPreviewForm();
            }

            printPreviewForm.GraphPanel = this.gPane;
            printPreviewForm.Show();
            printPreviewForm.TopMost = true;
            printPreviewForm.Invalidate();
        }
 private void ShowPrintPreview()
 {
     if (printPreviewForm == null)
     {
         printPreviewForm = new PrintPreviewForm();
     }
     printPreviewForm.GraphPanel = this.gPane;
     printPreviewForm.Show();
     printPreviewForm.TopMost = true;
     printPreviewForm.Invalidate();
 }