Beispiel #1
0
        private void ToolStripMenuItem_add_Click(object sender, EventArgs e)
        {
            PersonnelInformationList        tmpData = null;
            Add_Modify_PersonnelInformation tmpAdd_Modify_PersonnelInformation = new Add_Modify_PersonnelInformation(tmpData);

            tmpAdd_Modify_PersonnelInformation.ShowDialog();
            if (tmpAdd_Modify_PersonnelInformation.result == DialogResult.OK)
            {
                GetPersonnelInformationList();
            }
        }
Beispiel #2
0
        private void ToolStripMenuItem_edittype_Click(object sender, EventArgs e)
        {
            PersonnelInformationList tmpData = new PersonnelInformationList();

            for (int i = 0; i < tmpListPersonnelInformation.Count; i++)
            {
                if (tmpListPersonnelInformation[i].ID == _PersonnelInformationList.ID)
                {
                    tmpData = tmpListPersonnelInformation[i];
                    break;
                }
            }
            Add_Modify_PersonnelInformation tmpAdd_Modify_PersonnelInformation = new Add_Modify_PersonnelInformation(tmpData);

            tmpAdd_Modify_PersonnelInformation.ShowDialog();
            if (tmpAdd_Modify_PersonnelInformation.result == DialogResult.OK)
            {
                GetPersonnelInformationList();
            }
        }