コード例 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.tstDataGrid = ((Trace.PagingDataGrid)(target));
                return;

            case 2:
                this.cRUID = ((System.Windows.Controls.DataGridCheckBoxColumn)(target));
                return;

            case 4:
                this.btnAdd = ((System.Windows.Controls.Button)(target));

            #line 183 "..\..\..\..\Views\production\ProductConfigure.xaml"
                this.btnAdd.Click += new System.Windows.RoutedEventHandler(this.btnAdd_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.btnDel = ((System.Windows.Controls.Button)(target));

            #line 184 "..\..\..\..\Views\production\ProductConfigure.xaml"
                this.btnDel.Click += new System.Windows.RoutedEventHandler(this.btnDel_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #2
0
ファイル: Goods.g.i.cs プロジェクト: wwkkww1983/Trace
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.button = ((System.Windows.Controls.Button)(target));

            #line 200 "..\..\..\..\Views\base\Goods.xaml"
                this.button.Click += new System.Windows.RoutedEventHandler(this.btnQuery_Click);

            #line default
            #line hidden
                return;

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

            case 3:
                this.txtProducts = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 5:
                this.txtMassif = ((System.Windows.Controls.TextBox)(target));
                return;

            case 6:
                this.dataGrid = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 7:
                this.btnUpdate = ((System.Windows.Controls.Button)(target));
                return;

            case 8:
                this.tstDataGrid = ((Trace.PagingDataGrid)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.tstDataGrid = ((Trace.PagingDataGrid)(target));
                return;

            case 2:
                this.cRUID = ((System.Windows.Controls.DataGridCheckBoxColumn)(target));
                return;

            case 4:
                this.btnQuery = ((System.Windows.Controls.Button)(target));

            #line 490 "..\..\..\..\Views\Inputs\InputManagement.xaml"
                this.btnQuery.Click += new System.Windows.RoutedEventHandler(this.btnQuery_Click);

            #line default
            #line hidden
                return;

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

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

            case 7:
                this.txtInputsName = ((System.Windows.Controls.TextBox)(target));

            #line 493 "..\..\..\..\Views\Inputs\InputManagement.xaml"
                this.txtInputsName.GotFocus += new System.Windows.RoutedEventHandler(this.txtProducts_GotFocus);

            #line default
            #line hidden
                return;

            case 8:
                this.cboxInputsType = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 9:
                this.btnAdd = ((System.Windows.Controls.Button)(target));

            #line 500 "..\..\..\..\Views\Inputs\InputManagement.xaml"
                this.btnAdd.Click += new System.Windows.RoutedEventHandler(this.btnAdd_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.btnDel = ((System.Windows.Controls.Button)(target));

            #line 510 "..\..\..\..\Views\Inputs\InputManagement.xaml"
                this.btnDel.Click += new System.Windows.RoutedEventHandler(this.btnDel_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.btnModify = ((System.Windows.Controls.Button)(target));

            #line 511 "..\..\..\..\Views\Inputs\InputManagement.xaml"
                this.btnModify.Click += new System.Windows.RoutedEventHandler(this.btnModify_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #4
0
ファイル: QualityRecord.g.i.cs プロジェクト: wwkkww1983/Trace
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.label4 = ((System.Windows.Controls.Label)(target));
                return;

            case 2:
                this.qualityName = ((System.Windows.Controls.TextBox)(target));
                return;

            case 3:
                this.btnQuery = ((System.Windows.Controls.Button)(target));

            #line 239 "..\..\..\..\..\Views\quality\QualityRecord.xaml"
                this.btnQuery.Click += new System.Windows.RoutedEventHandler(this.btnQuery_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.btnAdd = ((System.Windows.Controls.Button)(target));

            #line 241 "..\..\..\..\..\Views\quality\QualityRecord.xaml"
                this.btnAdd.Click += new System.Windows.RoutedEventHandler(this.btnAdd_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.btnModify = ((System.Windows.Controls.Button)(target));

            #line 246 "..\..\..\..\..\Views\quality\QualityRecord.xaml"
                this.btnModify.Click += new System.Windows.RoutedEventHandler(this.btnModify_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.btnDel = ((System.Windows.Controls.Button)(target));

            #line 251 "..\..\..\..\..\Views\quality\QualityRecord.xaml"
                this.btnDel.Click += new System.Windows.RoutedEventHandler(this.btnDel_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.dataGrid = ((Trace.PagingDataGrid)(target));
                return;

            case 8:
                this.cRUID = ((System.Windows.Controls.DataGridCheckBoxColumn)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #5
0
ファイル: Harmles.g.i.cs プロジェクト: wwkkww1983/Trace
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.btnQuery = ((System.Windows.Controls.Button)(target));

            #line 113 "..\..\..\..\..\Views\records\Harmles.xaml"
                this.btnQuery.Click += new System.Windows.RoutedEventHandler(this.btnQuery_Click);

            #line default
            #line hidden
                return;

            case 2:
                this.lblProduceId = ((System.Windows.Controls.Label)(target));
                return;

            case 3:
                this.lblEnterpriseName = ((System.Windows.Controls.Label)(target));
                return;

            case 4:
                this.txtProduceId = ((System.Windows.Controls.TextBox)(target));

            #line 116 "..\..\..\..\..\Views\records\Harmles.xaml"
                this.txtProduceId.GotFocus += new System.Windows.RoutedEventHandler(this.txtProducts_GotFocus);

            #line default
            #line hidden
                return;

            case 5:
                this.txtEnterpriseName = ((System.Windows.Controls.TextBox)(target));

            #line 117 "..\..\..\..\..\Views\records\Harmles.xaml"
                this.txtEnterpriseName.GotFocus += new System.Windows.RoutedEventHandler(this.txtEnterpriseName_GotFocus);

            #line default
            #line hidden
                return;

            case 6:
                this.btnAdd = ((System.Windows.Controls.Button)(target));

            #line 118 "..\..\..\..\..\Views\records\Harmles.xaml"
                this.btnAdd.Click += new System.Windows.RoutedEventHandler(this.btnAdd_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.btnDel = ((System.Windows.Controls.Button)(target));

            #line 128 "..\..\..\..\..\Views\records\Harmles.xaml"
                this.btnDel.Click += new System.Windows.RoutedEventHandler(this.btnDel_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.btnModify = ((System.Windows.Controls.Button)(target));

            #line 129 "..\..\..\..\..\Views\records\Harmles.xaml"
                this.btnModify.Click += new System.Windows.RoutedEventHandler(this.btnModify_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.tstDataGrid = ((Trace.PagingDataGrid)(target));
                return;

            case 10:
                this.cRUID = ((System.Windows.Controls.DataGridCheckBoxColumn)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #6
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.label4 = ((System.Windows.Controls.Label)(target));
                return;

            case 2:
                this.enterpriseName = ((System.Windows.Controls.TextBox)(target));
                return;

            case 3:
                this.labMassif = ((System.Windows.Controls.Label)(target));
                return;

            case 4:
                this.farmLandName = ((System.Windows.Controls.TextBox)(target));
                return;

            case 5:
                this.label = ((System.Windows.Controls.Label)(target));
                return;

            case 6:
                this.produceName = ((System.Windows.Controls.TextBox)(target));
                return;

            case 7:
                this.btnQuery = ((System.Windows.Controls.Button)(target));

            #line 241 "..\..\..\..\..\Views\production-records\Records.xaml"
                this.btnQuery.Click += new System.Windows.RoutedEventHandler(this.btnQuery_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.btnAdd = ((System.Windows.Controls.Button)(target));

            #line 243 "..\..\..\..\..\Views\production-records\Records.xaml"
                this.btnAdd.Click += new System.Windows.RoutedEventHandler(this.btnAdd_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.btnModify = ((System.Windows.Controls.Button)(target));

            #line 248 "..\..\..\..\..\Views\production-records\Records.xaml"
                this.btnModify.Click += new System.Windows.RoutedEventHandler(this.btnModify_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.btnDel = ((System.Windows.Controls.Button)(target));

            #line 253 "..\..\..\..\..\Views\production-records\Records.xaml"
                this.btnDel.Click += new System.Windows.RoutedEventHandler(this.btnDel_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.btnSf = ((System.Windows.Controls.Button)(target));

            #line 258 "..\..\..\..\..\Views\production-records\Records.xaml"
                this.btnSf.Click += new System.Windows.RoutedEventHandler(this.btnSf_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.dataGrid = ((Trace.PagingDataGrid)(target));
                return;

            case 13:
                this.cRUID = ((System.Windows.Controls.DataGridCheckBoxColumn)(target));
                return;
            }
            this._contentLoaded = true;
        }