private void configure_button_Click(object sender, EventArgs e)
 {
     using (ConfigureQueueForm configureQueueForm = new ConfigureQueueForm())
     {
         if (DialogResult.OK == configureQueueForm.ShowDialog())
         {
             _preference = configureQueueForm.PrintPreference;
         }
     }
 }
예제 #2
0
 /// <summary>
 /// Constructor
 /// </summary>
 public ConfigureQueueForm()
 {
     InitializeComponent();
     PrintPreference = new PrintQueuePreferences();
 }