public SlugebZapiskaRemontViewModal(RowDefectViewModal row) { parent_row = row.Save; text_for_filter_cherch = parent_row.Cherch; text_for_filter_naim = parent_row.Naim; is_change = false; IsRight(); }
public RowDefectViewModal(string pCherch, RowDefectViewModal prow) { row = new Row_in_kart_defect(); row.Nom_sz = prow.Nom_sz; row.Par = prow.Id; row.Cherch = pCherch; parent = prow; }
public SlugebZapiskaIzgotViewModal(RowDefectViewModal row) { parent_row = row.Save; text_for_filter_cherch = parent_row.Cherch; text_for_filter_naim = parent_row.Naim; color = "White"; IsRight(); }
public SlugebZapiskaPriobrViewModal(RowDefectViewModal row) { parent_row = row.Save; text_for_filter_cherch = parent_row.Cherch; text_for_filter_naim = parent_row.Naim; text_for_filter_n_nomer = parent_row.N_nomer; is_change = false; }
public RowDefectViewModal(Row_in_kart_defect prow) { row = prow; if (row.Par != 0) { parent = Converter.ToViewModal(Server.GetServer.DataBase("uit") .Table("select * from rz_kart_defect where id = " + row.Par) .LoadFromServer() as List <Row_in_kart_defect>)[0]; } }
public SlugebZapiskaStorRemViewModal(RowDefectViewModal row) { parent_row = row.Save; text_for_filter_cherch = parent_row.Cherch; text_for_filter_naim = parent_row.Naim; List <object> tmp = Server.GetServer.DataBase("cvodka") .ExecuteCommand("select Ltrim(rtrim(zakazchi_naim)) from" + " zakazchi_naim where id = " + parent_row.Izgotov); if (tmp.Count != 0) { text_for_filter_izgotov = tmp[0].ToString(); } DefaultAction(); IsRight(); }
public RowDefectViewModal(RowDefectViewModal prow) { row = new Row_in_kart_defect(prow.Save); parent = prow.GetParent(); }
public TreeViewModal(RowDefectViewModal prow) { row = prow; children = new ObservableCollection <TreeViewModal>(); }