void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.mywin = ((EVO.TOOL.MAKEPIC.MainWindow)(target)); return; case 2: this.container = ((System.Windows.Controls.Canvas)(target)); return; case 3: this.imgbk = ((System.Windows.Controls.Viewbox)(target)); #line 22 "..\..\MainWindow.xaml" this.imgbk.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.c_MouseLeftButtonDown); #line default #line hidden #line 22 "..\..\MainWindow.xaml" this.imgbk.MouseMove += new System.Windows.Input.MouseEventHandler(this.c_MouseMove); #line default #line hidden #line 23 "..\..\MainWindow.xaml" this.imgbk.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.c_MouseUp); #line default #line hidden return; case 4: this.img = ((System.Windows.Controls.Image)(target)); return; case 5: #line 48 "..\..\MainWindow.xaml" ((System.Windows.Controls.ComboBox)(target)).SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBox_SelectionChanged); #line default #line hidden return; case 6: #line 55 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_4); #line default #line hidden return; case 7: this.tb_picName = ((System.Windows.Controls.TextBox)(target)); return; case 8: #line 57 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_3); #line default #line hidden return; case 9: #line 58 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_6); #line default #line hidden return; case 10: this.tbwidth = ((System.Windows.Controls.TextBox)(target)); #line 63 "..\..\MainWindow.xaml" this.tbwidth.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.tbwidth_TextChanged); #line default #line hidden return; case 11: this.tbheight = ((System.Windows.Controls.TextBox)(target)); #line 65 "..\..\MainWindow.xaml" this.tbheight.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.tbheight_TextChanged); #line default #line hidden return; case 12: this.btn_enable = ((System.Windows.Controls.Button)(target)); #line 66 "..\..\MainWindow.xaml" this.btn_enable.Click += new System.Windows.RoutedEventHandler(this.btn_enable_Click); #line default #line hidden return; case 13: this.btnscaleup = ((System.Windows.Controls.Button)(target)); #line 67 "..\..\MainWindow.xaml" this.btnscaleup.Click += new System.Windows.RoutedEventHandler(this.btnscaleup_Click); #line default #line hidden return; case 14: this.btnscaledown = ((System.Windows.Controls.Button)(target)); #line 68 "..\..\MainWindow.xaml" this.btnscaledown.Click += new System.Windows.RoutedEventHandler(this.btnscaledown_Click); #line default #line hidden return; case 15: this.pb = ((System.Windows.Controls.ProgressBar)(target)); return; case 16: this.pbtxt = ((System.Windows.Controls.TextBlock)(target)); return; case 17: this.TextIn = ((System.Windows.Controls.TextBox)(target)); return; case 18: #line 82 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1); #line default #line hidden return; case 19: #line 83 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_2); #line default #line hidden return; case 20: #line 84 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_5); #line default #line hidden return; case 21: this.rectcolor = ((System.Windows.Shapes.Rectangle)(target)); return; case 22: this.cbfont = ((System.Windows.Controls.ComboBox)(target)); #line 86 "..\..\MainWindow.xaml" this.cbfont.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.font_chg); #line default #line hidden return; case 23: this.fontsize = ((System.Windows.Controls.TextBlock)(target)); return; case 24: #line 89 "..\..\MainWindow.xaml" ((System.Windows.Controls.Slider)(target)).ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.Slider_ValueChanged); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.mywin = ((EVO.TOOL.MAKEPIC.MainWindow)(target)); return; case 2: this.container = ((System.Windows.Controls.Canvas)(target)); return; case 3: this.imgbk = ((System.Windows.Controls.Viewbox)(target)); #line 18 "..\..\MainWindow.xaml" this.imgbk.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.c_MouseLeftButtonDown); #line default #line hidden #line 18 "..\..\MainWindow.xaml" this.imgbk.MouseMove += new System.Windows.Input.MouseEventHandler(this.c_MouseMove); #line default #line hidden #line 19 "..\..\MainWindow.xaml" this.imgbk.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.c_MouseUp); #line default #line hidden return; case 4: this.img = ((System.Windows.Controls.Image)(target)); return; case 5: #line 37 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_4); #line default #line hidden return; case 6: #line 38 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_3); #line default #line hidden return; case 7: this.tbwidth = ((System.Windows.Controls.TextBox)(target)); return; case 8: this.tbheight = ((System.Windows.Controls.TextBox)(target)); return; case 9: this.btnscaleup = ((System.Windows.Controls.Button)(target)); #line 46 "..\..\MainWindow.xaml" this.btnscaleup.Click += new System.Windows.RoutedEventHandler(this.btnscaleup_Click); #line default #line hidden return; case 10: this.btnscaledown = ((System.Windows.Controls.Button)(target)); #line 47 "..\..\MainWindow.xaml" this.btnscaledown.Click += new System.Windows.RoutedEventHandler(this.btnscaledown_Click); #line default #line hidden return; case 11: this.TextIn = ((System.Windows.Controls.TextBox)(target)); return; case 12: #line 61 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1); #line default #line hidden return; case 13: #line 62 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_2); #line default #line hidden return; case 14: #line 63 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_5); #line default #line hidden return; case 15: this.rectcolor = ((System.Windows.Shapes.Rectangle)(target)); return; case 16: this.cbfont = ((System.Windows.Controls.ComboBox)(target)); #line 65 "..\..\MainWindow.xaml" this.cbfont.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.font_chg); #line default #line hidden return; case 17: this.fontsize = ((System.Windows.Controls.TextBlock)(target)); return; case 18: #line 68 "..\..\MainWindow.xaml" ((System.Windows.Controls.Slider)(target)).ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.Slider_ValueChanged); #line default #line hidden return; } this._contentLoaded = true; }