Exemple #1
0
        public MainForm()
        {
            InitializeComponent();
            loadHero();

            Form f = this.FindForm();

            f.Controls.Remove(this);

            HomeScreen hs = new HomeScreen();

            f.Controls.Add(hs);

            //create code to launch the HomeScreen when the program starts
        }