示例#1
0
        public Form GetForm(string frmName)
        {
            Form ret = null;

            switch (frmName)
            {
            case "RSDepart":
                // ShowRSDepart();
                ret = new frmRSDepart();
                break;

            case "RSEmp":
                ret = new frmRSEmp();
                break;

            case "RSDimission":
                ret = new frmRSDimission();
                break;

            case "RSEmpChart":
                ret = new frmRSEmpChart();
                break;
            }
            return(ret);
        }
示例#2
0
        private void ShowRSDepart()
        {
            frmRSDepart frm = new frmRSDepart();

            frm.ShowDialog();
        }