Exemplo n.º 1
0
 private void ShowEditForm(CUSTOMER pv)
 {
     if (pv != null)
     {
         CustomerEdit pro = new CustomerEdit(pv, this);
         pro.Show();
     }
 }
Exemplo n.º 2
0
        private void NewEditForm()
        {
            CustomerEdit pro = new CustomerEdit(null, this);

            pro.Show();
        }
Exemplo n.º 3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Customer_edit = ((Sales.Customer.CustomerEdit)(target));
                return;

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

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

            case 4:
                this.in_birthdate = ((System.Windows.Controls.DatePicker)(target));
                return;

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

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

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

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

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

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

            case 11:
                this.of_startdate = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 12:
                this.of_enddate = ((System.Windows.Controls.DatePicker)(target));
                return;

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

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

            case 15:
                this.cus_custypeid = ((System.Windows.Controls.ComboBox)(target));

            #line 98 "..\..\..\Customer\CustomerEdit.xaml"
                this.cus_custypeid.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cus_custypeid_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

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

            case 19:
                this.btnOk = ((System.Windows.Controls.Button)(target));
                return;

            case 20:
                this.btnCancel = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }