Esempio n. 1
0
 private void InstallProjectsControls(IComponentContext context)
 {
     _projectSettingsControl = new SettingsControl(context);
     Controls.Add(_projectSettingsControl);
     _projectSettingsControl.Dock = DockStyle.Fill;
     _projectSettingsControl.BringToFront();
     _projectSettingsControl.Focus();
 }
Esempio n. 2
0
 private void RemoveExistingControls()
 {
     if (_welcomePage != null)
     {
         Controls.Remove(_welcomePage);
         _welcomePage.Dispose();
         _welcomePage = null;
     }
     if (_projectSettingsControl != null)
     {
         Controls.Remove(_projectSettingsControl);
         _projectSettingsControl.Dispose();
         _projectSettingsControl = null;
     }
 }
Esempio n. 3
0
		private void RemoveExistingControls()
		{
			if (_welcomePage != null)
			{
				Controls.Remove(_welcomePage);
				_welcomePage.Dispose();
				_welcomePage = null;
			}
			if (_projectSettingsControl != null)
			{
				Controls.Remove(_projectSettingsControl);
				_projectSettingsControl.Dispose();
				_projectSettingsControl = null;
			}
		}
Esempio n. 4
0
		private void InstallProjectsControls(IContext context)
		{
			_projectSettingsControl = new SettingsControl(context);
			Controls.Add(_projectSettingsControl);
			_projectSettingsControl.Dock = DockStyle.Fill;
			_projectSettingsControl.BringToFront();
			_projectSettingsControl.Focus();
		}