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;
 }
 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;
 }