Ejemplo n.º 1
0
 private void OpenExportWindow(PrintItemWrapper printItem)
 {
     if (exportingWindow == null)
     {
         exportingWindow         = new ExportPrintItemWindow(printItem);
         exportingWindow.Closed += new EventHandler(ExportQueueItemWindow_Closed);
         exportingWindow.ShowAsSystemWindow();
     }
     else
     {
         exportingWindow.BringToFront();
     }
 }
Ejemplo n.º 2
0
 private async void OpenExportWindow()
 {
     if (exportingWindow == null)
     {
         exportingWindow         = new ExportPrintItemWindow(await this.GetPrintItemWrapperAsync());
         exportingWindow.Closed += new EventHandler(ExportQueueItemWindow_Closed);
         exportingWindow.ShowAsSystemWindow();
     }
     else
     {
         exportingWindow.BringToFront();
     }
 }
Ejemplo n.º 3
0
 private void OpenExportWindow()
 {
     if (exportingWindowIsOpen == false)
     {
         exportingWindow            = new ExportPrintItemWindow(this.PrintItemWrapper);
         this.exportingWindowIsOpen = true;
         exportingWindow.Closed    += new EventHandler(ExportQueueItemWindow_Closed);
         exportingWindow.ShowAsSystemWindow();
     }
     else
     {
         if (exportingWindow != null)
         {
             exportingWindow.BringToFront();
         }
     }
 }
Ejemplo n.º 4
0
 private void OpenExportWindow(PrintItemWrapper printItem)
 {
     if (exportingWindowIsOpen == false)
     {
         exportingWindow            = new ExportPrintItemWindow(printItem);
         this.exportingWindowIsOpen = true;
         exportingWindow.Closed    += (source, e) => this.exportingWindowIsOpen = false;
         exportingWindow.ShowAsSystemWindow();
     }
     else
     {
         if (exportingWindow != null)
         {
             exportingWindow.BringToFront();
         }
     }
 }
		private void OpenExportWindow(PrintItemWrapper printItem)
		{
			if (exportingWindow == null)
			{
				exportingWindow = new ExportPrintItemWindow(printItem);
				exportingWindow.Closed += new EventHandler(ExportQueueItemWindow_Closed);
				exportingWindow.ShowAsSystemWindow();
			}
			else
			{
				exportingWindow.BringToFront();
			}
		}
		private async void OpenExportWindow()
		{
			if (exportingWindow == null)
			{
				exportingWindow = new ExportPrintItemWindow(await this.GetPrintItemWrapperAsync());
				exportingWindow.Closed += new EventHandler(ExportQueueItemWindow_Closed);
				exportingWindow.ShowAsSystemWindow();
			}
			else
			{
				exportingWindow.BringToFront();
			}
		}
Ejemplo n.º 7
0
		private void OpenExportWindow()
		{
			if(exportingWindowIsOpen == false)
			{
				exportingWindow = new ExportPrintItemWindow (this.PrintItemWrapper);
				this.exportingWindowIsOpen = true;
				exportingWindow.Closed += new EventHandler (ExportQueueItemWindow_Closed);
				exportingWindow.ShowAsSystemWindow();
			} 
			else 
			{
				if (exportingWindow != null)
				{
					exportingWindow.BringToFront ();
				}
			}
		}
Ejemplo n.º 8
0
		private void OpenExportWindow(PrintItemWrapper printItem)
		{
			if (exportingWindowIsOpen == false)
			{
				exportingWindow = new ExportPrintItemWindow(printItem);
				this.exportingWindowIsOpen = true;
				exportingWindow.Closed += (source, e) => this.exportingWindowIsOpen = false;
				exportingWindow.ShowAsSystemWindow();
			}
			else
			{
				if (exportingWindow != null)
				{
					exportingWindow.BringToFront();
				}
			}
		}