Exemple #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.modify1 = ((Expert.modify)(target));
                return;

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

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

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

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

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

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

            case 8:
                this.textBoxa1 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 9:
                this.textBoxa2 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 10:
                this.textBoxa3 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 11:
                this.textBoxs1 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 12:
                this.textBoxs2 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 13:
                this.textBoxs3 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 14:
                this.textBoxe1 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 15:
                this.textBoxe2 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 16:
                this.textBoxe3 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 17:
                this.textBoxc1 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 18:
                this.textBoxc2 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 19:
                this.textBoxc3 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 20:
                this.textBoxj1 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 21:
                this.textBoxj2 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 22:
                this.textBoxj5 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 23:
                this.textBoxj9 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 24:
                this.textBoxj3 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 25:
                this.textBoxj4 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 26:
                this.textBoxj6 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 27:
                this.textBoxj7 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 28:
                this.textBoxj8 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 29:
                this.textBoxj10 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 30:
                this.textBoxjtype = ((System.Windows.Controls.TextBox)(target));
                return;

            case 31:
                this.buttontc = ((System.Windows.Controls.Button)(target));

            #line 44 "..\..\modify.xaml"
                this.buttontc.Click += new System.Windows.RoutedEventHandler(this.clear_typejob);

            #line default
            #line hidden
                return;

            case 32:
                this.buttontt = ((System.Windows.Controls.Button)(target));

            #line 45 "..\..\modify.xaml"
                this.buttontt.Click += new System.Windows.RoutedEventHandler(this.submit_type);

            #line default
            #line hidden
                return;

            case 33:
                this.buttondt = ((System.Windows.Controls.Button)(target));

            #line 46 "..\..\modify.xaml"
                this.buttondt.Click += new System.Windows.RoutedEventHandler(this.submit_job);

            #line default
            #line hidden
                return;

            case 34:
                this.buttondc = ((System.Windows.Controls.Button)(target));

            #line 47 "..\..\modify.xaml"
                this.buttondc.Click += new System.Windows.RoutedEventHandler(this.clear_detailjob);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Exemple #2
0
        private void start_modify(object sender, RoutedEventArgs e)
        {
            modify mo = new modify();

            mo.Show();
        }