Пример #1
0
 private void tlbNew_Click(object sender, EventArgs e)
 {
     MCSS model = new MCSS();
     model.SpecialRefs = new List<SpecialRef>();
     model.InsertState = true;
     McssMaster frm = new McssMaster(model, epiSession);
     frm.Show();
 }
Пример #2
0
 private void tlbOpen_Click(object sender, EventArgs e)
 {
     if (this.McssNum != "")
     {
         var model = _repo.Get(epiSession.PlantID, this.McssNum);
         McssMaster frm = new McssMaster(model, epiSession);
         frm.Show();
     }
 }