public override void Insert() { InspectionEditView _sta = new InspectionEditView(this); _sta.Owner = Global._MainWindow; _sta.ShowDialog(); }
public override void Update(object par) { if (par is InspectionOR) { InspectionEditView _sta = new InspectionEditView(this, par as InspectionOR); _sta.Owner = Global._MainWindow; _sta.ShowDialog(); } }