Inheritance: WeifenLuo.WinFormsUI.Docking.DockContent
コード例 #1
0
ファイル: LogViewPlugin.cs プロジェクト: arajar/duality
		public LogView RequestLogView()
		{
			if (this.logView == null || this.logView.IsDisposed)
			{
				this.logView = new LogView();
				this.logView.FormClosed += delegate(object sender, FormClosedEventArgs e) { this.logView = null; };
			}

			if (!this.isLoading)
			{
				this.logView.Show(DualityEditorApp.MainForm.MainDockPanel);
				if (this.logView.Pane != null)
				{
					this.logView.Pane.Activate();
					this.logView.Focus();
				}
			}

			return this.logView;
		}
コード例 #2
0
ファイル: LogViewPlugin.cs プロジェクト: pyneer/case
        public LogView RequestLogView()
        {
            if (this.logView == null || this.logView.IsDisposed)
            {
                this.logView             = new LogView();
                this.logView.FormClosed += delegate(object sender, FormClosedEventArgs e) { this.logView = null; };
            }

            if (!this.isLoading)
            {
                this.logView.Show(DualityEditorApp.MainForm.MainDockPanel);
                if (this.logView.Pane != null)
                {
                    this.logView.Pane.Activate();
                    this.logView.Focus();
                }
            }

            return(this.logView);
        }