private void ScriptHub_Click(object sender, RoutedEventArgs e) { ScriptHub sh = new ScriptHub(); sh.Show(); }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.scriptwindow = ((SpiderReborn_WPF.ScriptHub)(target)); #line 8 "..\..\ScriptHub.xaml" this.scriptwindow.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Scriptwindow_MouseDown); #line default #line hidden return; case 2: this.FullGrid1 = ((System.Windows.Controls.Grid)(target)); return; case 3: this.ButtonGrid1 = ((System.Windows.Controls.Grid)(target)); return; case 4: this.RoseFarm1 = ((System.Windows.Controls.Button)(target)); #line 25 "..\..\ScriptHub.xaml" this.RoseFarm1.Click += new System.Windows.RoutedEventHandler(this.RoseFarm_Click); #line default #line hidden return; case 5: this.JailFarm1 = ((System.Windows.Controls.Button)(target)); #line 26 "..\..\ScriptHub.xaml" this.JailFarm1.Click += new System.Windows.RoutedEventHandler(this.JailFarm_Click); #line default #line hidden return; case 6: this.MadFarm1 = ((System.Windows.Controls.Button)(target)); #line 27 "..\..\ScriptHub.xaml" this.MadFarm1.Click += new System.Windows.RoutedEventHandler(this.MadFarm_Click); #line default #line hidden return; case 7: this.FEkill1 = ((System.Windows.Controls.Button)(target)); #line 28 "..\..\ScriptHub.xaml" this.FEkill1.Click += new System.Windows.RoutedEventHandler(this.FEkill_Click); #line default #line hidden return; case 8: this.TopKek1 = ((System.Windows.Controls.Button)(target)); #line 29 "..\..\ScriptHub.xaml" this.TopKek1.Click += new System.Windows.RoutedEventHandler(this.TopKek_Click); #line default #line hidden return; case 9: this.ScriptHub1 = ((System.Windows.Controls.Label)(target)); #line 30 "..\..\ScriptHub.xaml" this.ScriptHub1.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.ScriptHub_MouseDown); #line default #line hidden return; case 10: this.ClseBtn1 = ((System.Windows.Controls.Button)(target)); #line 31 "..\..\ScriptHub.xaml" this.ClseBtn1.Click += new System.Windows.RoutedEventHandler(this.CloseBtn_Click); #line default #line hidden return; case 11: this.MinBtn1 = ((System.Windows.Controls.Button)(target)); #line 32 "..\..\ScriptHub.xaml" this.MinBtn1.Click += new System.Windows.RoutedEventHandler(this.MinBtn_Click); #line default #line hidden return; } this._contentLoaded = true; }