Пример #1
0
 public AddExtensionDialog(PHPModule module, bool isLocalConnection) : base(module)
 {
     _module            = module;
     _isLocalConnection = isLocalConnection;
     InitializeComponent();
     InitializeUI();
 }
Пример #2
0
 public RegisterPHPDialog(PHPModule module, bool isLocalConnection) : base(module)
 {
     _module = module;
     _isLocalConnection = isLocalConnection;
     InitializeComponent();
     InitializeUI();
 }
Пример #3
0
 public AddExtensionDialog(PHPModule module, bool isLocalConnection) : base(module)
 {
     _module = module;
     _isLocalConnection = isLocalConnection;
     InitializeComponent();
     InitializeUI();
 }
Пример #4
0
        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);
            }

        }
Пример #5
0
 public RegisterPHPDialog(PHPModule module, bool isLocalConnection) : base(module)
 {
     _module            = module;
     _isLocalConnection = isLocalConnection;
     InitializeComponent();
     InitializeUI();
 }
Пример #6
0
        public SelectSiteAndUrlDialog(PHPModule module, Connection connection)
            : base(module)
        {
            _module     = module;
            _connection = connection;

            InitializeComponent();
            InitializeUI();

            Update();
        }
        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();
        }
Пример #9
0
        // 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();
        }
Пример #10
0
        // 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();
        }
Пример #11
0
        // 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();
 }
Пример #13
0
 public ChangeVersionDialog(PHPModule module) : base(module)
 {
     _module = module;
     InitializeComponent();
     InitializeUI();
 }
Пример #14
0
 public RecommendedConfigDialog(PHPModule module) : base(module)
 {
     _module = module;
     InitializeComponent();
     InitializeUI();
 }
Пример #15
0
 public ChangeVersionDialog(PHPModule module) : base(module)
 {
     _module = module;
     InitializeComponent();
     InitializeUI();
 }