//构造函数
        public DepartmentForm(BathDBDataContext dc, Department department, DepartLogMgForm form)
        {
            db     = dc;
            m_form = form;
            if (department != null)
            {
                newDepartment = false;
                m_Department  = department;
            }

            InitializeComponent();
        }
        //构造函数
        public DepartmentForm(BathDBDataContext dc, Department department, DepartLogMgForm form)
        {
            db = dc;
            m_form = form;
            if (department != null)
            {
                newDepartment = false;
                m_Department = department;
            }

            InitializeComponent();
        }
Exemple #3
0
 //部门日志管理
 private void btnDepartLog_Click(object sender, EventArgs e)
 {
     var form = new DepartLogMgForm();
     form.ShowDialog();
 }
Exemple #4
0
        //部门日志管理
        private void btnDepartLog_Click(object sender, EventArgs e)
        {
            var form = new DepartLogMgForm();

            form.ShowDialog();
        }