예제 #1
0
 public void Configure()
 {
     try
     {
         ConfigurationDialog.Show(this.Context.DesktopWindow, FolderExplorerConfigurationComponent.ConfigurationPagePath);
     }
     catch (Exception e)
     {
         ExceptionHandler.Report(e, this.Context.DesktopWindow);
     }
 }
예제 #2
0
 /// <summary>
 /// Called by the framework when the user clicks the "Options" menu item.
 /// </summary>
 public void Show()
 {
     try
     {
         ConfigurationDialog.Show(this.Context.DesktopWindow);
     }
     catch (Exception e)
     {
         ExceptionHandler.Report(e, this.Context.DesktopWindow);
     }
 }
        private void setPrintButton_Click(object sender, EventArgs e)
        {
            if (printComponent == null)
            {
                return;
            }
            ApplicationComponentExitCode exitCode = ConfigurationDialog.Show(printComponent.DesktopWindow, null);

            if (exitCode == ApplicationComponentExitCode.Accepted)
            {
                printComponent.InitDicomPrinterConfig();
                Loaded(this, null);
            }
        }
예제 #4
0
 public static void Configure(IDesktopWindow desktopWindow)
 {
     ConfigurationDialog.Show(desktopWindow, ConfigurationPageProvider.BasicLayoutConfigurationPath);
 }
 public void Show()
 {
     ConfigurationDialog.Show(base.Context.DesktopWindow, ConfigurationPageProvider.DefaultPageId);
 }