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