Пример #1
0
 public IndividualHeros(MainWindow mwi)
 {
    
     InitializeComponent();
     mw = mwi;
     hero_type = mw.heroTypeArray;
     hero_name = mw.heroNameArray;
     gender = mw.heroGenderArray;
 }
Пример #2
0
        public IndividualHeros(MainWindow mwi)
        {          
            InitializeComponent();
            mw = mwi;
            hero_type = mw.heroTypeArray;
            hero_name = mw.heroNameArray;
            gender = mw.heroGenderArray;

            warriorHero.MouseEnter += new EventHandler(Warrior_MouseOver);
            warriorHero.MouseLeave += new EventHandler(Warrior_MouseOverLeave);

            mageHero.MouseEnter += new EventHandler(Mage_MouseOver);
            mageHero.MouseLeave += new EventHandler(Mage_MouseOverLeave);

            healerHero.MouseEnter += new EventHandler(Healer_MouseOver);
            healerHero.MouseLeave += new EventHandler(Healer_MouseOverLeave);

            hunterHero.MouseEnter += new EventHandler(Hunter_MouseOver);
            hunterHero.MouseLeave += new EventHandler(Hunter_MouseOverLeave);

            rogueHero.MouseEnter += new EventHandler(Rogue_MouseOver);
            rogueHero.MouseLeave += new EventHandler(Rogue_MouseOverLeave);
        }
Пример #3
0
 public IndividualHeros(MainWindow mwi)
 {
    
     InitializeComponent();
     mw = mwi;
 }