Beispiel #1
0
        private void btnFind_Click(object sender, EventArgs e)
        {
            FrmCustomerSelect frmCustomerSelect = new FrmCustomerSelect {
                DbLinks = this.DbLinks
            };

            if (frmCustomerSelect.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {
                this.GetFindFilter(frmCustomerSelect.SelectedId);
            }
        }
Beispiel #2
0
        private void btnSelectCustomer_Click(object sender, EventArgs e)
        {
            FrmCustomerSelect frmCustomerSelect = new FrmCustomerSelect {
                DbLinks = this.DbLinks
            };

            if (frmCustomerSelect.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {
                this.txtCustomerName.SelectedValue = frmCustomerSelect.SelectedId;
                this.txtCustomerName.Text          = frmCustomerSelect.SelectedName;
            }
        }