private void ButVendor_Click(object sender, EventArgs e)
        {
            SelectVendor frmSelectVendor = new SelectVendor();

            frmSelectVendor.Owner        = this;
            frmSelectVendor.cnConnection = this.cnConnection;
            frmSelectVendor.setSettings  = this.setSettings;
            frmSelectVendor.usUser       = this.usUser;
            frmSelectVendor.ShowDialog();

            this.labVendor.Text = SelectVendor.strNameSelectedVendor;

            SetEnableBtmSearch();
        }
Example #2
0
        private void ButVendor_Click(object sender, EventArgs e)
        {
            SelectVendor frmSelectVendor = new SelectVendor();

            frmSelectVendor.Owner        = this;
            frmSelectVendor.cnConnection = this.cnConnection;
            frmSelectVendor.setSettings  = this.setSettings;
            frmSelectVendor.usUser       = this.usUser;
            frmSelectVendor.ShowDialog();
            if (SelectVendor.intNumberSelectedVendor != 0)
            {
                this.invInsert.intVendorNumber = SelectVendor.intNumberSelectedVendor;
                this.labVendor.Text            = SelectVendor.strNameSelectedVendor;
            }

            SetEnableBtmInsert();
        }