Ejemplo n.º 1
0
        private void OpenArmouredCarsWindow()
        {
            thisModel.EditedEntry = "armouredcars";
            Window EntryWindow = new AddEntryWindow(service);

            service.AddSubscriber(this);
            EntryWindow.Show();
        }
Ejemplo n.º 2
0
        private void OpenTransportsWindow()
        {
            thisModel.EditedEntry = "transport";
            Window EntryWindow = new AddEntryWindow(service);

            service.AddSubscriber(this);
            EntryWindow.Show();
        }
Ejemplo n.º 3
0
        private void OpenArtilleryWindow()
        {
            thisModel.EditedEntry = "artillery";
            Window EntryWindow = new AddEntryWindow(service);

            service.AddSubscriber(this);
            EntryWindow.Show();
        }
Ejemplo n.º 4
0
        private void OpenHeadquaetersWindow()
        {
            thisModel.EditedEntry = "headquarters";
            Window EntryWindow = new AddEntryWindow(service);

            service.AddSubscriber(this);
            EntryWindow.Show();
        }
Ejemplo n.º 5
0
 private void OpenEditTransportsWindow()
 {
     if (SelectedMandatoryEntry != null)
     {
         thisModel.EditedEntry = "transport";
         Window EntryWindow = new AddEntryWindow(service, SelectedTransportsEntry);
         service.AddSubscriber(this);
         EntryWindow.Show();
     }
 }
Ejemplo n.º 6
0
 private void OpenEditArmouredCarsWindow()
 {
     if (SelectedMandatoryEntry != null)
     {
         thisModel.EditedEntry = "armouredcars";
         Window EntryWindow = new AddEntryWindow(service, SelectedArmouredCarsEntry);
         service.AddSubscriber(this);
         EntryWindow.Show();
     }
 }
Ejemplo n.º 7
0
 private void OpenEditInfantryWindow()
 {
     if (SelectedMandatoryEntry != null)
     {
         thisModel.EditedEntry = "infantry";
         Window EntryWindow = new AddEntryWindow(service, SelectedInfantryEntry);
         service.AddSubscriber(this);
         EntryWindow.Show();
     }
 }
Ejemplo n.º 8
0
 private void OpenEditHeadquaetersWindow()
 {
     if (SelectedMandatoryEntry != null)
     {
         thisModel.EditedEntry = "headquarters";
         Window EntryWindow = new AddEntryWindow(service, SelectedHeadquaetersEntry);
         service.AddSubscriber(this);
         EntryWindow.Show();
     }
 }