public FormVSQtSettings() { InitializeComponent(); versionManager = QtVersionManager.The(); columnVersionName.Text = SR.GetString("BuildOptionsPage_Name"); columnVersionPath.Text = SR.GetString("BuildOptionsPage_Path"); addButton.Text = SR.GetString("Add"); deleteButton.Text = SR.GetString("Delete"); label2.Text = SR.GetString("BuildOptionsPage_DefaultQtVersion"); okButton.Text = SR.GetString("OK"); cancelButton.Text = SR.GetString("Cancel"); tabControl1.TabPages[0].Text = SR.GetString("BuildOptionsPage_Title"); tabControl1.TabPages[1].Text = SR.GetString("QtDefaultSettings"); SetupDefaultVersionComboBox(null); UpdateListBox(); vsQtSettings = new VSQtSettings(); optionsPropertyGrid.SelectedObject = vsQtSettings; vsQtSettings.PropertyChanged += OnSettingsChanged; KeyPress += FormQtVersions_KeyPress; Shown += FormQtVersions_Shown; }
public FormVSQtSettings() { InitializeComponent(); versionManager = QtVersionManager.The(); listView.Columns.Add(SR.GetString("BuildOptionsPage_Name"), 100, HorizontalAlignment.Left); listView.Columns.Add(SR.GetString("BuildOptionsPage_Path"), 180, HorizontalAlignment.Left); addButton.Text = SR.GetString("Add"); deleteButton.Text = SR.GetString("Delete"); label2.Text = SR.GetString("BuildOptionsPage_DefaultQtVersion"); okButton.Text = SR.GetString("OK"); cancelButton.Text = SR.GetString("Cancel"); tabControl1.TabPages[0].Text = SR.GetString("BuildOptionsPage_Title"); tabControl1.TabPages[1].Text = SR.GetString("QtDefaultSettings"); SetupDefaultVersionComboBox(null); UpdateListBox(); FormBorderStyle = FormBorderStyle.FixedDialog; vsQtSettings = new VSQtSettings(); optionsPropertyGrid.SelectedObject = vsQtSettings; vsQtSettings.PropertyChanged += OnSettingsChanged; KeyPress += FormQtVersions_KeyPress; Shown += FormQtVersions_Shown; }