public void Image_MouseUp(object sender, MouseButtonEventArgs e) { Show_Cpus(); //showHelper(); //panelHelp.IsEnabled = true; HelperWindow helperWindow = new HelperWindow(this); helperWindow.Show(); this.Hide(); }
private void MainWindow_Loaded(object sender, RoutedEventArgs e) { if (!isNotFirstStart) { Show_Cpus(); HelperWindow helperWindow = new HelperWindow(this); helperWindow.Show(); Hide(); } else { } }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.helps = ((ShopKeeper.HelperWindow)(target)); #line 8 "..\..\HelperWindow.xaml" this.helps.Closed += new System.EventHandler(this.Helps_Closed); #line default #line hidden return; case 2: this.welcomeLabel = ((System.Windows.Controls.Label)(target)); #line 10 "..\..\HelperWindow.xaml" this.welcomeLabel.Initialized += new System.EventHandler(this.Label_Initialized); #line default #line hidden return; case 3: this.buttonNext = ((System.Windows.Controls.Button)(target)); #line 11 "..\..\HelperWindow.xaml" this.buttonNext.Click += new System.Windows.RoutedEventHandler(this.ButtonNext_Click); #line default #line hidden return; case 4: this.mainCanvas = ((System.Windows.Controls.Canvas)(target)); return; case 5: this.rezhim = ((System.Windows.Controls.Label)(target)); #line 13 "..\..\HelperWindow.xaml" this.rezhim.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.Label_MouseUp); #line default #line hidden return; case 6: this.showerCpusLabel = ((System.Windows.Controls.Label)(target)); #line 14 "..\..\HelperWindow.xaml" this.showerCpusLabel.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.Label_MouseUp_1); #line default #line hidden return; case 7: this.startImage1 = ((System.Windows.Controls.Image)(target)); return; case 8: this.startImage2 = ((System.Windows.Controls.Image)(target)); return; case 9: this.startLabel1 = ((System.Windows.Controls.Label)(target)); return; case 10: this.startLabel2 = ((System.Windows.Controls.Label)(target)); return; case 11: this.coresInfoLabel = ((System.Windows.Controls.Label)(target)); return; case 12: this.frenqInfoLabel = ((System.Windows.Controls.Label)(target)); return; case 13: this.welcomeLabel_Copy = ((System.Windows.Controls.Label)(target)); #line 22 "..\..\HelperWindow.xaml" this.welcomeLabel_Copy.Initialized += new System.EventHandler(this.Label_Initialized); #line default #line hidden return; } this._contentLoaded = true; }
public WindowLowBorders(HelperWindow windowParent) { InitializeComponent(); windowSelect = windowParent; //searched = false; }