Beispiel #1
0
 public Pad(UserControl mycontrol,string title,WeifenLuo.WinFormsUI.Docking.DockState target)
 {
     basecontrol = mycontrol;
     this.ShowHint = target;
     this.TabText = title;
     this.Text = title;
     basecontrol.Dock = DockStyle.Fill;
     this.Controls.Add(basecontrol);
 }
Beispiel #2
0
 public PadDefaultLocationAttribute(WeifenLuo.WinFormsUI.Docking.DockState dockState)
 {
     this.dockState = dockState;
 }
 public void Show(WeifenLuo.WinFormsUI.Docking.DockPanel dock, WeifenLuo.WinFormsUI.Docking.DockState state)
 {
     MockeGeneratorUi ui = new MockeGeneratorUi(this);
     ui.Show(dock, state);
 }
Beispiel #4
0
		public void AddForm(WeifenLuo.WinFormsUI.Docking.DockContent dc)
		{
			dc.Show(dockPanel1);
		}
Beispiel #5
0
 /**************************************************************************************************/
 public void PushViewOnMainWindow(HraView view, WeifenLuo.WinFormsUI.Docking.DockState dockstate)
 {
     PushView(view);
 }
Beispiel #6
0
 public WeifenLuo.WinFormsUI.AutoHideTab CreateAutoHideTab(WeifenLuo.WinFormsUI.IDockContent content)
 {
     return new AutoHideTabFromBase(content);
 }
Beispiel #7
0
 public WeifenLuo.WinFormsUI.AutoHideStripBase CreateAutoHideStrip(WeifenLuo.WinFormsUI.DockPanel panel)
 {
     return new AutoHideStripOverride(panel);
 }
Beispiel #8
0
 public WeifenLuo.WinFormsUI.DockPaneTab CreateDockPaneTab(WeifenLuo.WinFormsUI.IDockContent content)
 {
     return new DockPaneTabFromBase(content);
 }
Beispiel #9
0
 public WeifenLuo.WinFormsUI.DockPaneStripBase CreateDockPaneStrip(WeifenLuo.WinFormsUI.DockPane pane)
 {
     return new DockPaneStripOverride(pane);
 }
Beispiel #10
0
 public WeifenLuo.WinFormsUI.DockPaneCaptionBase CreateDockPaneCaption(WeifenLuo.WinFormsUI.DockPane pane)
 {
     return new DockPaneCaptionFromBase(pane);
 }
 public void Show(WeifenLuo.WinFormsUI.Docking.DockPanel dock, WeifenLuo.WinFormsUI.Docking.DockState state)
 {
     ParserUi ui = new ParserUi(this,Owner);
     ui.Show(dock, state);
 }
 public void Show(WeifenLuo.WinFormsUI.Docking.DockPanel dock, WeifenLuo.WinFormsUI.Docking.DockState state)
 {
     m_ParserFrame = new CPPParserUi(this);
     m_ParserFrame.Show(dock, state);
 }
Beispiel #13
0
 public void ShowDockingForm(WeifenLuo.WinFormsUI.Docking.DockContent form)
 {
     form.Show(mainDockPanel);
 }
 public void Show(WeifenLuo.WinFormsUI.Docking.DockPanel dock, WeifenLuo.WinFormsUI.Docking.DockState state)
 {
     m_ui = new TestRunnerUi(this);
     m_ui.Show(dock, state);
 }
Beispiel #15
0
        private void updateTheme(WeifenLuo.WinFormsUI.Docking.Colors.IColor colorTable)
        {
            //CloseAllContents(); // TODO: we have to remove this...

            ThemeMgr.Instance.SetColorTable(colorTable);
            this.BackColor = ThemeMgr.Instance.getColor(IKnownColors.FormBackground);
            this.dockPanel.Theme = ThemeMgr.Instance.DockPanelTheme;
            this.dockPanel.Skin = ThemePanel.CreatePanelThemeValues();

            this.toolBar.Renderer = ThemeMgr.Instance.Renderer;
            this.toolBar.BackColor = ThemeMgr.Instance.getColor(IKnownColors.FormBackground);
            this.toolBar.ForeColor = ThemeMgr.Instance.getColor(IKnownColors.FormText);
            this.mainMenu.Renderer = ThemeMgr.Instance.Renderer;
            this.mainMenu.BackColor = ThemeMgr.Instance.getColor(IKnownColors.FormBackground);
            this.mainMenu.ForeColor = ThemeMgr.Instance.getColor(IKnownColors.FormText);

            this.menuItemSchemaTheme.Checked = (colorTable is WeifenLuo.WinFormsUI.Docking.Colors.Light);
            this.menuItemSchemaVS2012Dark.Checked = (colorTable is WeifenLuo.WinFormsUI.Docking.Colors.Dark);
            this.Refresh();
        }
 public void Show(WeifenLuo.WinFormsUI.Docking.DockPanel dock, WeifenLuo.WinFormsUI.Docking.DockState state)
 {
     buildJobHandler = new GUnitFramework.Implementation.ExternalProcessHandler();
     m_ui = new ProjectbuilderUi(this);
     m_ui.Show(dock, WeifenLuo.WinFormsUI.Docking.DockState.DockBottomAutoHide);
 }