public Update(walangforeverRestaurant.Domain.Model.Category category, Category.List sender) { InitializeComponent(); this.txtboxName.Text = category.Name; this._category = category; this._sender = sender; }
private void btnViewChildren_Click(object sender, RoutedEventArgs e) { CustomCategory category = ((FrameworkElement)sender).DataContext as CustomCategory; Category.List categoryWindow = new Category.List(category.Id, category.Name); categoryWindow.Show(); }
public UpdateCategory(List sender, Domain.Model.Category category) { this._category = category; this._sender = sender; }
public Add(Category.List sender) { InitializeComponent(); this._sender = sender; }
public AddSender() { InitializeComponent(); this._sender = sender; }