示例#1
0
 private void InstallProjectsControls(IComponentContext context)
 {
     _projectSettingsControl = new SettingsControl(context);
     Controls.Add(_projectSettingsControl);
     _projectSettingsControl.Dock = DockStyle.Fill;
     _projectSettingsControl.BringToFront();
     _projectSettingsControl.Focus();
 }
示例#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;
     }
 }
示例#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;
			}
		}
示例#4
0
		private void InstallProjectsControls(IContext context)
		{
			_projectSettingsControl = new SettingsControl(context);
			Controls.Add(_projectSettingsControl);
			_projectSettingsControl.Dock = DockStyle.Fill;
			_projectSettingsControl.BringToFront();
			_projectSettingsControl.Focus();
		}