protected override void OnClick() { DockableWindow pDockWin = getDockableWindow() as DockableWindow; if (pDockWin == null) { return; } pDockWin.Show(!pDockWin.IsVisible()); }
protected override void OnClick() { if (DockableWindow == null) { return; } DockableWindow.Show(!DockableWindow.IsVisible()); Checked = DockableWindow.IsVisible(); }
protected override void OnClick() { ConfigUtil.type = "gas"; DockableWindow pDockWin = getDockableWindow() as DockableWindow; if (pDockWin == null) { return; } pDockWin.Show(!pDockWin.IsVisible()); }