Пример #1
0
        private void UpdateAppraisalFormReport(object sender, EventArgs e)
        {
            var appraisalFormReport = (AppraisalFormReport)appraisalFormReportGV.CurrentRow.DataBoundItem;
            var form = new Form10(2, appraisalFormReport.Id);

            form.ShowDialog();
            _unit.Commit();
            _context.Dispose();
            _context = new StudentContext(Resources.ConnectionString);
            _unit    = new UnitOfWork(_context);
            this.SearchAppraisalFormReport(13, _tBox_searchValue);
        }
Пример #2
0
        private void AddAppraisalFormReport(object sender, EventArgs e)
        {
            var form = new Form10(1, 0);

            form.ShowDialog();
        }