コード例 #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.txtId = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 2:
     this.label1 = ((System.Windows.Controls.Label)(target));
     return;
     case 3:
     this.label2 = ((System.Windows.Controls.Label)(target));
     return;
     case 4:
     this.txtW = ((System.Windows.Controls.TextBox)(target));
     return;
     case 5:
     this.txtH = ((System.Windows.Controls.TextBox)(target));
     return;
     case 6:
     this.txtInputAttrKey = ((System.Windows.Controls.TextBox)(target));
     return;
     case 7:
     this.label3 = ((System.Windows.Controls.Label)(target));
     return;
     case 8:
     this.label4 = ((System.Windows.Controls.Label)(target));
     return;
     case 9:
     this.txtCustomUrl = ((System.Windows.Controls.TextBox)(target));
     return;
     case 10:
     this.label5 = ((System.Windows.Controls.Label)(target));
     return;
     case 11:
     this.cmbInputType = ((System.Windows.Controls.ComboBox)(target));
     
     #line 22 "..\..\..\..\..\..\Controls\Rules\Rule\ruleScreenShot.xaml"
     this.cmbInputType.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbInputType_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 12:
     this.imageConvert1 = ((IscraperBuilder.Controls.Common.ImageConvert)(target));
     return;
     case 13:
     this.label6 = ((System.Windows.Controls.Label)(target));
     return;
     case 14:
     this.txtSaveTo = ((System.Windows.Controls.TextBox)(target));
     return;
     case 15:
     this.button1 = ((System.Windows.Controls.Button)(target));
     
     #line 29 "..\..\..\..\..\..\Controls\Rules\Rule\ruleScreenShot.xaml"
     this.button1.Click += new System.Windows.RoutedEventHandler(this.button1_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
コード例 #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.tabControl1 = ((System.Windows.Controls.TabControl)(target));
     return;
     case 2:
     this.tabItem1 = ((System.Windows.Controls.TabItem)(target));
     return;
     case 3:
     this.chkAutoRename = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 4:
     this.label2 = ((System.Windows.Controls.Label)(target));
     return;
     case 5:
     this.txtAttributeKey = ((System.Windows.Controls.TextBox)(target));
     return;
     case 6:
     this.label3 = ((System.Windows.Controls.Label)(target));
     return;
     case 7:
     this.txtFileExt = ((System.Windows.Controls.TextBox)(target));
     return;
     case 8:
     this.chkSetFileExt = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 9:
     this.label4 = ((System.Windows.Controls.Label)(target));
     return;
     case 10:
     this.txtCustomUserAgent = ((System.Windows.Controls.TextBox)(target));
     return;
     case 11:
     this.httpHeaderInfo1 = ((IscraperBuilder.Controls.Common.HttpHeaderInfo)(target));
     return;
     case 12:
     this.tabItem2 = ((System.Windows.Controls.TabItem)(target));
     return;
     case 13:
     this.label5 = ((System.Windows.Controls.Label)(target));
     return;
     case 14:
     this.txtStartFolder = ((System.Windows.Controls.TextBox)(target));
     return;
     case 15:
     this.button1 = ((System.Windows.Controls.Button)(target));
     
     #line 31 "..\..\..\..\..\..\Controls\Rules\Rule\ruleDownload.xaml"
     this.button1.Click += new System.Windows.RoutedEventHandler(this.button1_Click);
     
     #line default
     #line hidden
     return;
     case 16:
     this.chkGenerateDir = ((System.Windows.Controls.CheckBox)(target));
     
     #line 32 "..\..\..\..\..\..\Controls\Rules\Rule\ruleDownload.xaml"
     this.chkGenerateDir.Checked += new System.Windows.RoutedEventHandler(this.chkGenerateDir_Checked);
     
     #line default
     #line hidden
     return;
     case 17:
     this.cmbFolderGenType = ((System.Windows.Controls.ComboBox)(target));
     
     #line 33 "..\..\..\..\..\..\Controls\Rules\Rule\ruleDownload.xaml"
     this.cmbFolderGenType.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbFolderGenType_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 18:
     this.label6 = ((System.Windows.Controls.Label)(target));
     return;
     case 19:
     this.label7 = ((System.Windows.Controls.Label)(target));
     return;
     case 20:
     this.txtSubFolderCustomName = ((System.Windows.Controls.TextBox)(target));
     return;
     case 21:
     this.tabItem3 = ((System.Windows.Controls.TabItem)(target));
     return;
     case 22:
     this.chkMTEnable = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 23:
     this.chkMTSetMaxThread = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 24:
     this.label1 = ((System.Windows.Controls.Label)(target));
     return;
     case 25:
     this.txtMTMaxThread = ((System.Windows.Controls.TextBox)(target));
     return;
     case 26:
     this.tabItem4 = ((System.Windows.Controls.TabItem)(target));
     return;
     case 27:
     this.imageConvert1 = ((IscraperBuilder.Controls.Common.ImageConvert)(target));
     return;
     case 28:
     this.button2 = ((System.Windows.Controls.Button)(target));
     
     #line 53 "..\..\..\..\..\..\Controls\Rules\Rule\ruleDownload.xaml"
     this.button2.Click += new System.Windows.RoutedEventHandler(this.button2_Click);
     
     #line default
     #line hidden
     return;
     case 29:
     this.txtID = ((System.Windows.Controls.TextBlock)(target));
     return;
     }
     this._contentLoaded = true;
 }