コード例 #1
0
        public MainMenu()
        {
            InitializeComponent();
            Statics();
            Status();
            loadConfigs();

            LiveMap.Engine get = new LiveMap.Engine(this); get.LoadMaps();
            this.editchar.MouseEnter += new MouseEventHandler(editchar_MouseEnter);
            this.editchar.MouseLeave += new MouseEventHandler(editchar_MouseLeave);

            this.newacc.MouseEnter += new MouseEventHandler(newacc_MouseEnter);
            this.newacc.MouseLeave += new MouseEventHandler(newacc_MouseLeave);

            this.deletechar.MouseEnter += new MouseEventHandler(deletechar_MouseEnter);
            this.deletechar.MouseLeave += new MouseEventHandler(deletechar_MouseLeave);

            this.deleteaccount.MouseEnter += new MouseEventHandler(deleteaccount_MouseEnter);
            this.deleteaccount.MouseLeave += new MouseEventHandler(deleteaccount_MouseLeave);

            this.banacc.MouseEnter += new MouseEventHandler(banacc_MouseEnter);
            this.banacc.MouseLeave += new MouseEventHandler(banacc_MouseLeave);

            this.editcoins.MouseEnter += new MouseEventHandler(editcoins_MouseEnter);
            this.editcoins.MouseLeave += new MouseEventHandler(editcoins_MouseLeave);
        }
コード例 #2
0
 /// <summary>
 /// Changes the live map dekaron map
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void changemap_Click(object sender, RoutedEventArgs e)
 {
     LiveMap.Engine lm = new LiveMap.Engine(this);
     lm.UpdateMap(mapList.SelectedIndex);
 }