public Update(walangforeverRestaurant.Domain.Model.Category category, Category.List sender)
 {
     InitializeComponent();
     this.txtboxName.Text = category.Name;
     this._category       = category;
     this._sender         = sender;
 }
예제 #2
0
        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();
        }
예제 #3
0
 public UpdateCategory(List sender, Domain.Model.Category category)
 {
     this._category = category;
     this._sender   = sender;
 }
 public Add(Category.List sender)
 {
     InitializeComponent();
     this._sender = sender;
 }
예제 #5
0
 public AddSender()
 {
     InitializeComponent();
     this._sender = sender;
 }