Beispiel #1
0
        private void ViewMutant(WorldForm form, int mutantId)
        {
            var mutant     = mutantManager.GetMutant(mutantId);
            var mutantForm = new MutantForm(mutant);

            mutantForm.Show(form);
        }
Beispiel #2
0
 private void LoadMutant(WorldForm form, string path)
 {
     try
     {
         var mutant     = mutantManager.LoadMutant(path);
         var mutantForm = new MutantForm(mutant);
         mutantForm.Show(form);
     }
     catch (Exception e)
     {
         MessageBox.Show(form, e.Message, "Failed");
     }
 }