public override MainFormIOController GetNew()
        {
            global::MyFlowLayout.WindowFlowPanel MainPanel = new WindowFlowPanel();
            TeamStatsPanelControlEvents          Events    = new TeamStatsPanelControlEvents();
            TeamStatsMyToolbar Toolbar = new TeamStatsMyToolbar(MainPanel, Events);

            return(new TeamStatsFormIOController(MainPanel, Toolbar, Events, "Team Stats"));
        }
Beispiel #2
0
        /// <summary>
        /// Starts the project and provides an IO controller for forms relating to this project.
        /// </summary>
        /// <returns>An instance of an IO controller used for forms for this project</returns>
        public static TeamStatsFormIOController StartProject()
        {
            Main();
            WindowFlowPanel             MainPanel = new WindowFlowPanel();
            TeamStatsPanelControlEvents Events    = new TeamStatsPanelControlEvents();
            TeamStatsMyToolbar          Toolbar   = new TeamStatsMyToolbar(MainPanel, Events);

            return(new TeamStatsFormIOController(MainPanel, Toolbar, Events, "Team Stats"));
        }
 public TeamStatsFormIOController(WindowFlowPanel MainPanel, TeamStatsMyToolbar Toolbar, TeamStatsPanelControlEvents Events, string Title)
     : base(MainPanel, Toolbar, Events, Title)
 {
 }
Beispiel #4
0
 public TeamStatsMyToolbar(WindowFlowPanel MainPanel, PanelControlEvents Events)
     : base(MainPanel, Events)
 {
     this.events = (TeamStatsPanelControlEvents)Events;
 }