示例#1
0
        //  public event EventHandler evtMember;

        //ShowFrmUpdataCreate 1 == add job 2 == updata jobs
        private void btnAdd_Click(object sender, EventArgs e)
        {
            addJob jobForm = new addJob();

            jobForm.ShowDialog();
            helpDeskForm_Load(null, null);
            // ShowFrmUpdataCreate(1);
        }
示例#2
0
        private void EditJob()
        {
            JobInfo job = m_jobDict[deskJobList.SelectedRows[0].Cells[0].Value.ToString()];

            if (job != null)
            {
                addJob jobForm = new addJob(job);
                jobForm.ShowDialog();
                helpDeskForm_Load(null, null);
            }
        }