Пример #1
0
        public BranchListUI(DepartmentUI frmDepartment)
        {
            InitializeComponent();
            branchRepository = EntityContainer.GetType <IBranchRepository>();

            this.frmDepartment = frmDepartment;
            formActive         = "Department";
        }
Пример #2
0
        private void mnuDepartment_Click(object sender, EventArgs e)
        {
            var frmDepartment = new DepartmentUI();

            frmDepartment.MdiParent = this;

            frmDepartment.Show();
        }