Exemplo n.º 1
0
 private void AddActionTabs(int partyid)
 {
     actiontabs = new ActionTabs(partyid, Employee);
     MainStackPanel.Children.Add(actiontabs);
     MainStackPanel.AddHandler(PawnActionSelector.CheckOutEvent, new RoutedEventHandler(Done));
     MainStackPanel.AddHandler(PawnEditor.PawnSavedEvent, new RoutedEventHandler(Done));
     MainStackPanel.AddHandler(PurchaseEditor.PurchaseSaveAndCloseEvent, new RoutedEventHandler(Done));
     hasactiontabs = true;
 }
Exemplo n.º 2
0
 private void AddActionTabs(int partyid)
 {
     actiontabs = new ActionTabs(partyid, Employee);
     MainStackPanel.Children.Add(actiontabs);
     MainStackPanel.AddHandler(PawnActionSelector.CheckOutEvent, new RoutedEventHandler(Done));
     MainStackPanel.AddHandler(PawnEditor.PawnSavedEvent, new RoutedEventHandler(Done));
     MainStackPanel.AddHandler(PurchaseEditor.PurchaseSaveAndCloseEvent, new RoutedEventHandler(Done));
     hasactiontabs = true;
 }