private void Save(LocalRow _localRow) { _localRow.DocumentID = _localRow.ID; _localRow.ID = 0; foreach (BitmapImage bitmapImage in _localRow.ListImage) { _localRow.PhotoImageByte = ImageSql.ConvertToBytes(bitmapImage); logicTovarZona.Save(_localRow); } }
public void ButtonProductEditOpenF(FormUsers.Tovar.LocalRow _localRow) { tovarInZona = new TovarInZona(); tovarInZona.LocalRow = _localRow; this.frameWorkArea.Navigate(tovarInZona); }
public TovarInZona() { InitializeComponent(); LocalRow = new LocalRow(); }