public void Add(TempMove tempMove) { if (list.Exists(item => item == tempMove)) return; list.Add(tempMove); }
protected override void loadFromSql() { DataTable dt = _provider.Select("TempMove"); foreach (DataRow row in dt.Rows) { TempMove tempMove = new TempMove(row); Add(tempMove); } }
public TempMove_AddEdit(TempMove tempMove) { InitializeComponent(); _tempMove = tempMove; }