void InitializeInlineComponent() { installedDrivers_ComboBox = new PrintDriverComboBox(new Point(141, 27)); installedDrivers_ComboBox.SelectedIndexChanged += new EventHandler(installedDrivers_ComboBox_SelectedIndexChanged); currentDriver_GroupBox.Controls.Add(installedDrivers_ComboBox); warning_Label.Text = Resource.UpgradeWarningMessage; }
private void InitializeInlineComponent() { driverModel_ComboBox = new PrintDriverComboBox(new Point(134, 32)); driverModel_ComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); driverModel_ComboBox.SelectedIndexChanged += new EventHandler(driverModel_ComboBox_SelectedIndexChanged); driverModel_ComboBox.Validating += new CancelEventHandler(driverModel_ComboBox_Validating); Controls.Add(driverModel_ComboBox); }