示例#1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.wMain = ((StockD.MainWindow)(target));
     return;
     case 2:
     this.MyGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.tabControl1 = ((System.Windows.Controls.TabControl)(target));
     return;
     case 4:
     this.tabItem3 = ((System.Windows.Controls.TabItem)(target));
     return;
     case 5:
     this.groupBox1 = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 6:
     this.label1 = ((System.Windows.Controls.Label)(target));
     return;
     case 7:
     this.dtStartDate = ((System.Windows.Controls.DatePicker)(target));
     return;
     case 8:
     this.label2 = ((System.Windows.Controls.Label)(target));
     return;
     case 9:
     this.dtEndDate = ((System.Windows.Controls.DatePicker)(target));
     return;
     case 10:
     this.Tools = ((Controls.ComboWithCheckboxes)(target));
     return;
     case 11:
     this.groupBox2 = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 12:
     this.chkNseEquity = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 13:
     this.ChkBseFo = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 14:
     this.ChkIndiaIndices = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 15:
     this.chkYahooEOD = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 16:
     this.ChkYahooIEOD1 = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 17:
     this.chkYahooFundamental = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 18:
     this.chkNseFo = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 19:
     this.chkNseForex = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 20:
     this.chkNseNcdex = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 21:
     this.ChkMcxEquity = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 22:
     this.checkBox12 = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 23:
     this.ChkMcxCom = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 24:
     this.ChkMcxForex = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 25:
     this.ChkUseForex = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 26:
     this.ChkNatStoExc = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 27:
     this.ChkGoogleEOD = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 28:
     this.ChkGoogleIEOD = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 29:
     this.chkNseBulkdeal = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 30:
     this.chkSelectAll = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 31:
     this.chkIgnoreSaturday = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 32:
     this.checkBox23 = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 33:
     this.ChkBSEEquity = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 34:
     this.ChkAddOIE = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 35:
     this.btnExit = ((System.Windows.Controls.Button)(target));
     return;
     case 36:
     this.btnStart = ((System.Windows.Controls.Button)(target));
     return;
     case 37:
     this.ChkFOP = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 38:
     this.ChkMutualFund = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 39:
     this.chkNseFIIFutures = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 40:
     this.chkIgnoreSunday = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 41:
     this.chkNseBlockdeal = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 42:
     this.chkCombinedReport = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 43:
     this.ChkYahooIEOD5 = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 44:
     this.tabItem1 = ((System.Windows.Controls.TabItem)(target));
     return;
     case 45:
     this.comboBox2 = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 46:
     this.checkBox22 = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 47:
     this.checkBox25 = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 48:
     this.comboBox3 = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 49:
     this.label3 = ((System.Windows.Controls.Label)(target));
     return;
     case 50:
     this.label4 = ((System.Windows.Controls.Label)(target));
     return;
     case 51:
     this.label5 = ((System.Windows.Controls.Label)(target));
     return;
     case 52:
     this.label9 = ((System.Windows.Controls.Label)(target));
     return;
     case 53:
     this.tabItem2 = ((System.Windows.Controls.TabItem)(target));
     return;
     case 54:
     this.label6 = ((System.Windows.Controls.Label)(target));
     return;
     case 55:
     this.comboBox4 = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 56:
     this.comboBox5 = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 57:
     this.label7 = ((System.Windows.Controls.Label)(target));
     return;
     case 58:
     this.comboBox6 = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 59:
     this.label8 = ((System.Windows.Controls.Label)(target));
     return;
     case 60:
     this.tabItem4 = ((System.Windows.Controls.TabItem)(target));
     return;
     case 61:
     this.groupBox4 = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 62:
     this.radioButton3 = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 63:
     this.radioButton4 = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 64:
     this.groupBox5 = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 65:
     this.label10 = ((System.Windows.Controls.Label)(target));
     return;
     case 66:
     this.label11 = ((System.Windows.Controls.Label)(target));
     return;
     case 67:
     this.textBox1 = ((System.Windows.Controls.TextBox)(target));
     return;
     case 68:
     this.textBox2 = ((System.Windows.Controls.TextBox)(target));
     return;
     case 69:
     this.label12 = ((System.Windows.Controls.Label)(target));
     return;
     case 70:
     this.textBox3 = ((System.Windows.Controls.TextBox)(target));
     return;
     case 71:
     this.label13 = ((System.Windows.Controls.Label)(target));
     return;
     case 72:
     this.textBox4 = ((System.Windows.Controls.TextBox)(target));
     return;
     case 73:
     this.label14 = ((System.Windows.Controls.Label)(target));
     return;
     case 74:
     this.textBox5 = ((System.Windows.Controls.TextBox)(target));
     return;
     case 75:
     this.label22 = ((System.Windows.Controls.Label)(target));
     return;
     case 76:
     this.label23 = ((System.Windows.Controls.Label)(target));
     return;
     case 77:
     this.textBox10 = ((System.Windows.Controls.TextBox)(target));
     return;
     case 78:
     this.textBox11 = ((System.Windows.Controls.TextBox)(target));
     return;
     case 79:
     this.txtTargetFolder = ((System.Windows.Controls.TextBox)(target));
     return;
     case 80:
     this.btnTarget = ((System.Windows.Controls.Button)(target));
     return;
     case 81:
     this.groupBox6 = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 82:
     this.label15 = ((System.Windows.Controls.Label)(target));
     return;
     case 83:
     this.textBox6 = ((System.Windows.Controls.TextBox)(target));
     return;
     case 84:
     this.label16 = ((System.Windows.Controls.Label)(target));
     return;
     case 85:
     this.label17 = ((System.Windows.Controls.Label)(target));
     return;
     case 86:
     this.textBox7 = ((System.Windows.Controls.TextBox)(target));
     return;
     case 87:
     this.label18 = ((System.Windows.Controls.Label)(target));
     return;
     case 88:
     this.textBox8 = ((System.Windows.Controls.TextBox)(target));
     return;
     case 89:
     this.textBox9 = ((System.Windows.Controls.TextBox)(target));
     return;
     case 90:
     this.label19 = ((System.Windows.Controls.Label)(target));
     return;
     case 91:
     this.label20 = ((System.Windows.Controls.Label)(target));
     return;
     case 92:
     this.groupBox7 = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 93:
     this.checkBox26 = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 94:
     this.label24 = ((System.Windows.Controls.Label)(target));
     return;
     case 95:
     this.textBox12 = ((System.Windows.Controls.TextBox)(target));
     return;
     case 96:
     this.label25 = ((System.Windows.Controls.Label)(target));
     return;
     case 97:
     this.textBox13 = ((System.Windows.Controls.TextBox)(target));
     return;
     case 98:
     this.label26 = ((System.Windows.Controls.Label)(target));
     return;
     case 99:
     this.textBox14 = ((System.Windows.Controls.TextBox)(target));
     return;
     case 100:
     this.checkBox30 = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 101:
     this.button1 = ((System.Windows.Controls.Button)(target));
     return;
     case 102:
     this.button4 = ((System.Windows.Controls.Button)(target));
     return;
     case 103:
     this.btnOutput = ((System.Windows.Controls.Button)(target));
     return;
     case 104:
     this.txtOutputFolder = ((System.Windows.Controls.TextBox)(target));
     return;
     case 105:
     this.btnAmibrokerExe = ((System.Windows.Controls.Button)(target));
     return;
     case 106:
     this.btnDatabaseName = ((System.Windows.Controls.Button)(target));
     return;
     case 107:
     this.textBox15 = ((System.Windows.Controls.TextBox)(target));
     return;
     case 108:
     this.btnDatabasePath = ((System.Windows.Controls.Button)(target));
     return;
     case 109:
     this.textBox16 = ((System.Windows.Controls.TextBox)(target));
     return;
     case 110:
     this.textBox17 = ((System.Windows.Controls.TextBox)(target));
     return;
     case 111:
     this.tabLog = ((System.Windows.Controls.TabItem)(target));
     return;
     case 112:
     this.txtLog = ((System.Windows.Controls.TextBox)(target));
     return;
     case 113:
     this.image1 = ((System.Windows.Controls.Image)(target));
     return;
     }
     this._contentLoaded = true;
 }
示例#2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.wMain = ((StockD.MainWindow)(target));
                return;

            case 2:
                this.MyGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.tabControl1 = ((System.Windows.Controls.TabControl)(target));
                return;

            case 4:
                this.tabItem3 = ((System.Windows.Controls.TabItem)(target));
                return;

            case 5:
                this.groupBox1 = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 6:
                this.label1 = ((System.Windows.Controls.Label)(target));
                return;

            case 7:
                this.dtStartDate = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 8:
                this.label2 = ((System.Windows.Controls.Label)(target));
                return;

            case 9:
                this.dtEndDate = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 10:
                this.Tools = ((Controls.ComboWithCheckboxes)(target));
                return;

            case 11:
                this.groupBox2 = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 12:
                this.chkNseEquity = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 13:
                this.ChkBseFo = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 14:
                this.ChkIndiaIndices = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 15:
                this.chkYahooEOD = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 16:
                this.ChkYahooIEOD1 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 17:
                this.chkYahooFundamental = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 18:
                this.chkNseFo = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 19:
                this.chkNseForex = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 20:
                this.chkNseNcdex = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 21:
                this.ChkMcxEquity = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 22:
                this.checkBox12 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 23:
                this.ChkMcxCom = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 24:
                this.ChkMcxForex = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 25:
                this.ChkUseForex = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 26:
                this.ChkNatStoExc = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 27:
                this.ChkGoogleEOD = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 28:
                this.ChkGoogleIEOD = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 29:
                this.chkNseBulkdeal = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 30:
                this.chkSelectAll = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 31:
                this.chkIgnoreSaturday = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 32:
                this.checkBox23 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 33:
                this.ChkBSEEquity = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 34:
                this.ChkAddOIE = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 35:
                this.btnExit = ((System.Windows.Controls.Button)(target));
                return;

            case 36:
                this.btnStart = ((System.Windows.Controls.Button)(target));
                return;

            case 37:
                this.ChkFOP = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 38:
                this.ChkMutualFund = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 39:
                this.chkNseFIIFutures = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 40:
                this.chkIgnoreSunday = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 41:
                this.chkNseBlockdeal = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 42:
                this.chkCombinedReport = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 43:
                this.ChkYahooIEOD5 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 44:
                this.tabItem1 = ((System.Windows.Controls.TabItem)(target));
                return;

            case 45:
                this.comboBox2 = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 46:
                this.checkBox22 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 47:
                this.checkBox25 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 48:
                this.comboBox3 = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 49:
                this.label3 = ((System.Windows.Controls.Label)(target));
                return;

            case 50:
                this.label4 = ((System.Windows.Controls.Label)(target));
                return;

            case 51:
                this.label5 = ((System.Windows.Controls.Label)(target));
                return;

            case 52:
                this.label9 = ((System.Windows.Controls.Label)(target));
                return;

            case 53:
                this.tabItem2 = ((System.Windows.Controls.TabItem)(target));
                return;

            case 54:
                this.label6 = ((System.Windows.Controls.Label)(target));
                return;

            case 55:
                this.comboBox4 = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 56:
                this.comboBox5 = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 57:
                this.label7 = ((System.Windows.Controls.Label)(target));
                return;

            case 58:
                this.comboBox6 = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 59:
                this.label8 = ((System.Windows.Controls.Label)(target));
                return;

            case 60:
                this.tabItem4 = ((System.Windows.Controls.TabItem)(target));
                return;

            case 61:
                this.groupBox4 = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 62:
                this.radioButton3 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 63:
                this.radioButton4 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 64:
                this.groupBox5 = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 65:
                this.label10 = ((System.Windows.Controls.Label)(target));
                return;

            case 66:
                this.label11 = ((System.Windows.Controls.Label)(target));
                return;

            case 67:
                this.textBox1 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 68:
                this.textBox2 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 69:
                this.label12 = ((System.Windows.Controls.Label)(target));
                return;

            case 70:
                this.textBox3 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 71:
                this.label13 = ((System.Windows.Controls.Label)(target));
                return;

            case 72:
                this.textBox4 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 73:
                this.label14 = ((System.Windows.Controls.Label)(target));
                return;

            case 74:
                this.textBox5 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 75:
                this.label22 = ((System.Windows.Controls.Label)(target));
                return;

            case 76:
                this.label23 = ((System.Windows.Controls.Label)(target));
                return;

            case 77:
                this.textBox10 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 78:
                this.textBox11 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 79:
                this.txtTargetFolder = ((System.Windows.Controls.TextBox)(target));
                return;

            case 80:
                this.btnTarget = ((System.Windows.Controls.Button)(target));
                return;

            case 81:
                this.groupBox6 = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 82:
                this.label15 = ((System.Windows.Controls.Label)(target));
                return;

            case 83:
                this.textBox6 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 84:
                this.label16 = ((System.Windows.Controls.Label)(target));
                return;

            case 85:
                this.label17 = ((System.Windows.Controls.Label)(target));
                return;

            case 86:
                this.textBox7 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 87:
                this.label18 = ((System.Windows.Controls.Label)(target));
                return;

            case 88:
                this.textBox8 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 89:
                this.textBox9 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 90:
                this.label19 = ((System.Windows.Controls.Label)(target));
                return;

            case 91:
                this.label20 = ((System.Windows.Controls.Label)(target));
                return;

            case 92:
                this.groupBox7 = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 93:
                this.checkBox26 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 94:
                this.label24 = ((System.Windows.Controls.Label)(target));
                return;

            case 95:
                this.textBox12 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 96:
                this.label25 = ((System.Windows.Controls.Label)(target));
                return;

            case 97:
                this.textBox13 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 98:
                this.label26 = ((System.Windows.Controls.Label)(target));
                return;

            case 99:
                this.textBox14 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 100:
                this.checkBox30 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 101:
                this.button1 = ((System.Windows.Controls.Button)(target));
                return;

            case 102:
                this.button4 = ((System.Windows.Controls.Button)(target));
                return;

            case 103:
                this.btnOutput = ((System.Windows.Controls.Button)(target));
                return;

            case 104:
                this.txtOutputFolder = ((System.Windows.Controls.TextBox)(target));
                return;

            case 105:
                this.btnAmibrokerExe = ((System.Windows.Controls.Button)(target));
                return;

            case 106:
                this.btnDatabaseName = ((System.Windows.Controls.Button)(target));
                return;

            case 107:
                this.textBox15 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 108:
                this.btnDatabasePath = ((System.Windows.Controls.Button)(target));
                return;

            case 109:
                this.textBox16 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 110:
                this.textBox17 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 111:
                this.tabLog = ((System.Windows.Controls.TabItem)(target));
                return;

            case 112:
                this.txtLog = ((System.Windows.Controls.TextBox)(target));
                return;

            case 113:
                this.image1 = ((System.Windows.Controls.Image)(target));
                return;
            }
            this._contentLoaded = true;
        }