private void btmInsert_Click(object sender, EventArgs e)
        {
            VendorInsert frmVendorInsert = new VendorInsert();

            frmVendorInsert.Owner        = this;
            frmVendorInsert.cnConnection = this.cnConnection;
            frmVendorInsert.ShowDialog();
        }
        private void BtmInsertVendor_Click(object sender, EventArgs e)
        {
            VendorInsert frmVendorInsert = new VendorInsert();

            frmVendorInsert.cnConnection = this.cnConnection;
            frmVendorInsert.setSettings  = this.setSettings;
            frmVendorInsert.usUser       = this.usUser;
            frmVendorInsert.ShowDialog();
        }
        private void btmInsert_Click(object sender, EventArgs e)
        {
            this.btmInsert.Enabled = false;
            VendorInsert frmVendorInsert = new VendorInsert();

            frmVendorInsert.Owner        = this;
            frmVendorInsert.cnConnection = this.cnConnection;
            frmVendorInsert.setSettings  = this.setSettings;
            frmVendorInsert.usUser       = this.usUser;
            frmVendorInsert.ShowDialog();
            this.btmInsert.Enabled = true;
        }