예제 #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;
            }
        }
예제 #2
0
        private void MTN_EMPLOYEE_LIST_Click(object sender, EventArgs e)
        {
            frmMain frmmain = (frmMain)this.ParentForm;

            if (frmmain.CheckChildFrmExist("MTN_EMPLOYEE_LIST") == true)
            {
                return;
            }
            MTN_EMPLOYEE_LIST newFrm = new MTN_EMPLOYEE_LIST();

            if (newFrm != null && !frmmain.ShowMDIChild(newFrm, newFrm))
            {
                newFrm.Dispose();
                newFrm = null;
            }
        }
예제 #3
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);
        }
예제 #4
0
파일: SYS_INIT.cs 프로젝트: 100009/hberp
        private void btnEmployeeList_Click(object sender, EventArgs e)
        {
            MTN_EMPLOYEE_LIST frm = new MTN_EMPLOYEE_LIST();

            frm.ShowDialog();
        }