Beispiel #1
0
 private void ShowEditForm(BRANCH p)
 {
     if (p != null)
     {
         BranchEdit pt = new BranchEdit(p, this);
     }
 }
Beispiel #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Branch_edit = ((Sales.Branch.BranchEdit)(target));
                return;

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

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

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

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

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

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

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

            case 9:
                this.btnCancel = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #3
0
        private void NewEditForm()
        {
            BranchEdit pt = new BranchEdit(null, this);

            pt.Show();
        }