private void Button_Copy_Click(object sender, RoutedEventArgs e) { if (cmbColors.Text.Length > 8) { var window = new WpfApplication1.Window1(cmbColors.Text, 1); window.Show(); } }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Game = ((WpfApplication1.Window1)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Window = ((WpfApplication1.Window1)(target)); return; case 2: this.LayoutRoot = ((System.Windows.Controls.Grid)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.DW2 = ((WpfApplication1.Window1)(target)); return; case 2: this.showQueryCanvasStoryboard2 = ((System.Windows.Media.Animation.BeginStoryboard)(target)); return; case 3: this.closeQueryCanvasStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target)); return; case 4: this.Canvas1 = ((System.Windows.Controls.Canvas)(target)); #line 194 "..\..\..\Window1.xaml" this.Canvas1.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Canvas1_MouseLeftButtonDown); #line default #line hidden return; case 5: this.button1 = ((WMControl.WMButton)(target)); #line 207 "..\..\..\Window1.xaml" this.button1.Click += new System.Windows.RoutedEventHandler(this.button1_Click); #line default #line hidden return; case 6: this.button2 = ((WMControl.WMButton)(target)); #line 218 "..\..\..\Window1.xaml" this.button2.Click += new System.Windows.RoutedEventHandler(this.button2_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.win1_main_window = ((WpfApplication1.Window1)(target)); #line 4 "..\..\Window1.xaml" this.win1_main_window.Closing += new System.ComponentModel.CancelEventHandler(this.win1_main_window_Closing); #line default #line hidden return; case 2: this.win1_main_grid = ((System.Windows.Controls.Grid)(target)); return; case 3: this.win1_status_grid = ((System.Windows.Controls.Grid)(target)); return; case 4: this.win1_status_groupbox = ((System.Windows.Controls.GroupBox)(target)); return; case 5: this.win1_status_groupbox_grid = ((System.Windows.Controls.Grid)(target)); return; case 6: this.win1_status_groupbox_grid_separator1 = ((System.Windows.Controls.GridSplitter)(target)); return; case 7: this.win1_status_groupbox_grid_separator2 = ((System.Windows.Controls.GridSplitter)(target)); return; case 8: this.win1_status_groupbox_grid_separator3 = ((System.Windows.Controls.GridSplitter)(target)); return; case 9: this.win1_status_groupbox_vehicleid_label = ((System.Windows.Controls.Label)(target)); return; case 10: this.win1_status_groupbox_rating_label = ((System.Windows.Controls.Label)(target)); return; case 11: this.win1_status_groupbox_balance_label = ((System.Windows.Controls.Label)(target)); return; case 12: this.win1_status_groupbox_counter_label = ((System.Windows.Controls.Label)(target)); return; case 13: this.win1_status_groupbox_vehicleid_textblock = ((System.Windows.Controls.TextBlock)(target)); return; case 14: this.win1_status_groupbox_rating_textblock = ((System.Windows.Controls.TextBlock)(target)); return; case 15: this.win1_status_groupbox_balance_value_textblock = ((System.Windows.Controls.TextBlock)(target)); return; case 16: this.win1_status_groupbox_balance_units_label = ((System.Windows.Controls.Label)(target)); return; case 17: this.win1_status_groupbox_counter_value_textblock = ((System.Windows.Controls.TextBlock)(target)); return; case 18: this.win1_status_groupbox_counter_units_label = ((System.Windows.Controls.Label)(target)); return; case 19: this.win1_messagebox_grid = ((System.Windows.Controls.Grid)(target)); return; case 20: this.win1_messagebox_history_textbox = ((System.Windows.Controls.TextBox)(target)); return; case 21: this.win1_messagebox_current_border = ((System.Windows.Controls.Border)(target)); return; case 22: this.win1_messagebox_current_textblock = ((System.Windows.Controls.TextBlock)(target)); return; case 23: this.win1_messagebox_progressbar = ((System.Windows.Controls.ProgressBar)(target)); return; case 24: this.win1_current_grid = ((System.Windows.Controls.Grid)(target)); return; case 25: this.win1_current_border = ((System.Windows.Controls.Border)(target)); return; case 26: this.win1_current_textblock = ((System.Windows.Controls.TextBlock)(target)); return; case 27: this.win1_status_other_grid = ((System.Windows.Controls.Grid)(target)); return; case 28: this.win1_status_other_groupbox = ((System.Windows.Controls.GroupBox)(target)); return; case 29: this.win1_status_other_groupbox_grid = ((System.Windows.Controls.Grid)(target)); return; case 30: this.win1_status_other_groupbox_grid_separator1 = ((System.Windows.Controls.GridSplitter)(target)); return; case 31: this.win1_status_other_groupbox_grid_separator2 = ((System.Windows.Controls.GridSplitter)(target)); return; case 32: this.win1_status_other_groupbox_vehicleid_label = ((System.Windows.Controls.Label)(target)); return; case 33: this.win1_status_other_groupbox_rating_label = ((System.Windows.Controls.Label)(target)); return; case 34: this.win1_status_other_groupbox_balance_label = ((System.Windows.Controls.Label)(target)); return; case 35: this.win1_status_other_groupbox_vehicleid_textblock = ((System.Windows.Controls.TextBlock)(target)); return; case 36: this.win1_status_other_groupbox_rating_textblock = ((System.Windows.Controls.TextBlock)(target)); return; case 37: this.win1_status_other_groupbox_balance_value_textblock = ((System.Windows.Controls.TextBlock)(target)); return; case 38: this.win1_status_other_groupbox_balance_units_label = ((System.Windows.Controls.Label)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.win1 = ((WpfApplication1.Window1)(target)); #line 4 "..\..\..\Window1.xaml" this.win1.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded); #line default #line hidden return; case 2: #line 39 "..\..\..\Window1.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click); #line default #line hidden return; case 3: #line 42 "..\..\..\Window1.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.tdcl); #line default #line hidden return; case 4: #line 43 "..\..\..\Window1.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.xml_clear); #line default #line hidden return; case 5: #line 45 "..\..\..\Window1.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.open_jsq); #line default #line hidden return; case 6: #line 46 "..\..\..\Window1.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.open_fdzh); #line default #line hidden return; case 7: #line 47 "..\..\..\Window1.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.open_xml_edit); #line default #line hidden return; case 8: #line 51 "..\..\..\Window1.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.open_xml); #line default #line hidden return; case 9: #line 52 "..\..\..\Window1.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.open_bw); #line default #line hidden return; case 10: #line 53 "..\..\..\Window1.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.open_rz); #line default #line hidden return; case 11: this.qp = ((System.Windows.Controls.MenuItem)(target)); #line 59 "..\..\..\Window1.xaml" this.qp.Click += new System.Windows.RoutedEventHandler(this.qpxx); #line default #line hidden return; case 12: this.hy = ((System.Windows.Controls.MenuItem)(target)); #line 60 "..\..\..\Window1.xaml" this.hy.Click += new System.Windows.RoutedEventHandler(this.hyck); #line default #line hidden return; case 13: #line 62 "..\..\..\Window1.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_1); #line default #line hidden return; case 14: this.ztl = ((System.Windows.Controls.TextBlock)(target)); return; case 15: this.ztlx = ((System.Windows.Controls.TextBlock)(target)); return; case 16: this.ckh = ((System.Windows.Controls.ComboBox)(target)); return; case 17: this.btl = ((System.Windows.Controls.ComboBox)(target)); return; case 18: this.dk = ((System.Windows.Controls.Button)(target)); #line 115 "..\..\..\Window1.xaml" this.dk.Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden return; case 19: this.gb = ((System.Windows.Controls.Button)(target)); #line 116 "..\..\..\Window1.xaml" this.gb.Click += new System.Windows.RoutedEventHandler(this.gb_Click); #line default #line hidden return; case 20: this.wjy = ((System.Windows.Controls.CheckBox)(target)); return; case 21: this.groupBox1 = ((System.Windows.Controls.GroupBox)(target)); return; case 22: this.combo = ((System.Windows.Controls.ComboBox)(target)); return; case 23: this.fontsize = ((System.Windows.Controls.Slider)(target)); return; case 24: this.frame = ((System.Windows.Controls.Frame)(target)); return; case 25: this.list_1 = ((System.Windows.Controls.ListView)(target)); return; case 26: #line 201 "..\..\..\Window1.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.clear_Click); #line default #line hidden return; case 27: #line 203 "..\..\..\Window1.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.tdcl); #line default #line hidden return; case 28: #line 207 "..\..\..\Window1.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.open_fdzh); #line default #line hidden return; case 29: this.bg1 = ((System.Windows.Media.ImageBrush)(target)); return; case 30: this.tt = ((System.Windows.Controls.TextBlock)(target)); return; case 31: this.richTextBox1 = ((System.Windows.Controls.RichTextBox)(target)); return; case 32: #line 224 "..\..\..\Window1.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.clear_bw_Click); #line default #line hidden return; case 33: #line 227 "..\..\..\Window1.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.open_xml); #line default #line hidden return; case 34: #line 228 "..\..\..\Window1.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.open_bw); #line default #line hidden return; case 35: #line 229 "..\..\..\Window1.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.open_rz); #line default #line hidden return; case 36: this.xa = ((System.Windows.Documents.Run)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.win1 = ((WpfApplication1.Window1)(target)); #line 4 "..\..\..\Window1.xaml" this.win1.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded); #line default #line hidden #line 4 "..\..\..\Window1.xaml" this.win1.Closed += new System.EventHandler(this.win1_Closed); #line default #line hidden #line 4 "..\..\..\Window1.xaml" this.win1.Closing += new System.ComponentModel.CancelEventHandler(this.win1_Closing); #line default #line hidden return; case 2: #line 35 "..\..\..\Window1.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click); #line default #line hidden return; case 3: #line 38 "..\..\..\Window1.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.tdcl); #line default #line hidden return; case 4: #line 39 "..\..\..\Window1.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.xml_clear); #line default #line hidden return; case 5: #line 41 "..\..\..\Window1.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.open_jsq); #line default #line hidden return; case 6: #line 42 "..\..\..\Window1.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.open_fdzh); #line default #line hidden return; case 7: #line 43 "..\..\..\Window1.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.open_xml_edit); #line default #line hidden return; case 8: #line 47 "..\..\..\Window1.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.open_xml); #line default #line hidden return; case 9: #line 48 "..\..\..\Window1.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.open_bw); #line default #line hidden return; case 10: #line 49 "..\..\..\Window1.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.open_rz); #line default #line hidden return; case 11: this.qp = ((System.Windows.Controls.MenuItem)(target)); #line 55 "..\..\..\Window1.xaml" this.qp.Click += new System.Windows.RoutedEventHandler(this.qpxx); #line default #line hidden return; case 12: this.hy = ((System.Windows.Controls.MenuItem)(target)); #line 57 "..\..\..\Window1.xaml" this.hy.Click += new System.Windows.RoutedEventHandler(this.hyck); #line default #line hidden return; case 13: #line 60 "..\..\..\Window1.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_1); #line default #line hidden return; case 14: #line 64 "..\..\..\Window1.xaml" ((System.Windows.Controls.Grid)(target)).MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.Grid_MouseWheel); #line default #line hidden return; case 15: this.ztl = ((System.Windows.Controls.TextBlock)(target)); return; case 16: this.ztlx = ((System.Windows.Controls.TextBlock)(target)); return; case 17: this.list_1 = ((System.Windows.Controls.ListView)(target)); return; case 18: #line 129 "..\..\..\Window1.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.clear_Click); #line default #line hidden return; case 19: #line 131 "..\..\..\Window1.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.tdcl); #line default #line hidden return; case 20: #line 135 "..\..\..\Window1.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.open_fdzh); #line default #line hidden return; case 21: this.bg1 = ((System.Windows.Media.ImageBrush)(target)); return; case 22: this.richTextBox1 = ((System.Windows.Controls.RichTextBox)(target)); #line 149 "..\..\..\Window1.xaml" this.richTextBox1.KeyDown += new System.Windows.Input.KeyEventHandler(this.richTextBox1_KeyDown); #line default #line hidden return; case 23: #line 152 "..\..\..\Window1.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.clear_bw_Click); #line default #line hidden return; case 24: this.show = ((System.Windows.Controls.MenuItem)(target)); #line 153 "..\..\..\Window1.xaml" this.show.Click += new System.Windows.RoutedEventHandler(this.show_tool); #line default #line hidden return; case 25: this.hend = ((System.Windows.Controls.MenuItem)(target)); #line 154 "..\..\..\Window1.xaml" this.hend.Click += new System.Windows.RoutedEventHandler(this.hend_tool); #line default #line hidden return; case 26: this.wz = ((System.Windows.Controls.MenuItem)(target)); return; case 27: #line 157 "..\..\..\Window1.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.zuoshang); #line default #line hidden return; case 28: #line 158 "..\..\..\Window1.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.zuoxia); #line default #line hidden return; case 29: #line 159 "..\..\..\Window1.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.youshang); #line default #line hidden return; case 30: #line 160 "..\..\..\Window1.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.youxia); #line default #line hidden return; case 31: #line 165 "..\..\..\Window1.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.open_jsq); #line default #line hidden return; case 32: #line 166 "..\..\..\Window1.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.open_fdzh); #line default #line hidden return; case 33: #line 170 "..\..\..\Window1.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.open_rz); #line default #line hidden return; case 34: this.exp = ((System.Windows.Controls.Expander)(target)); return; case 35: this.ckh = ((System.Windows.Controls.ComboBox)(target)); return; case 36: this.btl = ((System.Windows.Controls.ComboBox)(target)); return; case 37: this.ell = ((System.Windows.Shapes.Ellipse)(target)); return; case 38: this.dk = ((System.Windows.Controls.Button)(target)); #line 229 "..\..\..\Window1.xaml" this.dk.Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden return; case 39: this.gb1 = ((System.Windows.Controls.Button)(target)); #line 230 "..\..\..\Window1.xaml" this.gb1.Click += new System.Windows.RoutedEventHandler(this.gb_Click); #line default #line hidden return; case 40: this.wjy = ((System.Windows.Controls.CheckBox)(target)); return; case 41: this.fontsize = ((System.Windows.Controls.Slider)(target)); return; case 42: this.dtwj = ((System.Windows.Controls.Button)(target)); #line 250 "..\..\..\Window1.xaml" this.dtwj.Click += new System.Windows.RoutedEventHandler(this.Open_bin); #line default #line hidden return; case 43: this.kscs = ((System.Windows.Controls.Button)(target)); #line 251 "..\..\..\Window1.xaml" this.kscs.Click += new System.Windows.RoutedEventHandler(this.Open_begin); #line default #line hidden return; case 44: this.zt = ((System.Windows.Controls.Button)(target)); #line 252 "..\..\..\Window1.xaml" this.zt.Click += new System.Windows.RoutedEventHandler(this.zt_th); #line default #line hidden return; case 45: this.tz = ((System.Windows.Controls.Button)(target)); #line 253 "..\..\..\Window1.xaml" this.tz.Click += new System.Windows.RoutedEventHandler(this.Stop_th); #line default #line hidden return; case 46: this.rec_text = ((System.Windows.Controls.TextBox)(target)); return; case 47: this.ml = ((System.Windows.Controls.StackPanel)(target)); return; case 48: this.chek = ((System.Windows.Controls.CheckBox)(target)); #line 264 "..\..\..\Window1.xaml" this.chek.Click += new System.Windows.RoutedEventHandler(this.chek_Click); #line default #line hidden return; case 49: this.T_time = ((System.Windows.Controls.TextBox)(target)); return; case 50: #line 267 "..\..\..\Window1.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1); #line default #line hidden return; case 51: this.countbar = ((System.Windows.Controls.ProgressBar)(target)); return; } this._contentLoaded = true; }