void App_Startup(object sender, StartupEventArgs e) { // Unhandled exception handler Application.Current.DispatcherUnhandledException += UnhandledExceptionHandler; DockableWindow mainWindow = new DockableWindow(); mainWindow.Show(); }
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()); }