private void btn_novaComanda_Click(object sender, RoutedEventArgs e) { ComandaWindow comandaWindow = new ComandaWindow(controller.getBaseContext(), new Models.comanda()); comandaWindow.ShowDialog(); actualitzaCapcaleresComandes(); }
public void OnTbtComandaPressButtonEvent(object o, EventArgs e) { Console.WriteLine("TbtComanda"); ComandaWindow cw = new ComandaWindow(); this.ChangeMainLabel(cw.Title); this.ChangeEveChild(cw.vbComanda); }