public AddExtensionDialog(PHPModule module, bool isLocalConnection) : base(module) { _module = module; _isLocalConnection = isLocalConnection; InitializeComponent(); InitializeUI(); }
public RegisterPHPDialog(PHPModule module, bool isLocalConnection) : base(module) { _module = module; _isLocalConnection = isLocalConnection; InitializeComponent(); InitializeUI(); }
public ChangeVersionDialog(PHPModule module) : base(module) { _module = module; InitializeComponent(); InitializeUI(); try { ArrayList versions = _module.Proxy.GetAllPHPVersions(); foreach (string[] version in versions) { _versionComboBox.Items.Add(new PHPVersion(version[0], version[1], version[2])); } _versionComboBox.DisplayMember = "Version"; _versionComboBox.SelectedIndex = 0; if (_versionComboBox.Items.Count > 0) { _canAccept = true; UpdateTaskForm(); } } catch (Exception ex) { DisplayErrorMessage(ex, Resources.ResourceManager); } }
public SelectSiteAndUrlDialog(PHPModule module, Connection connection) : base(module) { _module = module; _connection = connection; InitializeComponent(); InitializeUI(); Update(); }
// Constructor for Edit Setting Dialog public AddEditSettingDialog(PHPModule module, PHPIniSetting setting) : base(module) { _module = module; InitializeComponent(); InitializeUI(); // The dialog is used in the "Edit setting" mode Text = Resources.AddEditSettingDialogEditSetting; _nameTextBox.Enabled = false; _sectionTextBox.Enabled = false; _nameTextBox.Text = setting.Name; _valueTextBox.Text = setting.Value; _sectionTextBox.Text = setting.Section; UpdateUI(); }
// Constructor for Add Setting Dialog public AddEditSettingDialog(PHPModule module, IEnumerable<string> sections) : base(module) { _module = module; InitializeComponent(); InitializeUI(); // The dialog is used in the "Add setting" mode Text = Resources.AddEditSettingDialogAddSetting; _autoCompleteSections = new AutoCompleteStringCollection(); foreach (string section in sections) { _autoCompleteSections.Add(section); } _sectionTextBox.AutoCompleteCustomSource = _autoCompleteSections; _sectionTextBox.Text = "PHP"; UpdateUI(); }
// Constructor for Add Setting Dialog public AddEditSettingDialog(PHPModule module, IEnumerable <string> sections) : base(module) { _module = module; InitializeComponent(); InitializeUI(); // The dialog is used in the "Add setting" mode Text = Resources.AddEditSettingDialogAddSetting; _autoCompleteSections = new AutoCompleteStringCollection(); foreach (string section in sections) { _autoCompleteSections.Add(section); } _sectionTextBox.AutoCompleteCustomSource = _autoCompleteSections; _sectionTextBox.Text = @"PHP"; UpdateUI(); }
public RecommendedConfigDialog(PHPModule module): base(module) { _module = module; InitializeComponent(); InitializeUI(); }
public ChangeVersionDialog(PHPModule module) : base(module) { _module = module; InitializeComponent(); InitializeUI(); }
public RecommendedConfigDialog(PHPModule module) : base(module) { _module = module; InitializeComponent(); InitializeUI(); }