Esempio n. 1
0
        public static void SetEmployeeName(TextBox box)
        {
            MTN_EMPLOYEE_LIST frm = new MTN_EMPLOYEE_LIST();

            frm.SelectVisible = true;
            if (frm.ShowDialog() == DialogResult.OK)
            {
                box.Text = Util.retValue2;
            }
        }
Esempio n. 2
0
        private void cboSalesMan_SelectedIndexChanged(object sender, EventArgs e)
        {
            if (cboSalesMan.SelectedValue == null)
            {
                return;
            }
            if (cboSalesMan.SelectedValue.ToString().CompareTo("New...") != 0)
            {
                return;
            }

            MTN_EMPLOYEE_LIST frm = new MTN_EMPLOYEE_LIST();

            frm.ShowDialog();
            FillControl.FillEmployeeList(cboSalesMan, false, true);
        }
Esempio n. 3
0
        private void btnEmployeeList_Click(object sender, EventArgs e)
        {
            MTN_EMPLOYEE_LIST frm = new MTN_EMPLOYEE_LIST();

            frm.ShowDialog();
        }