public StratSimMyToolbar(WindowFlowPanel Parent, StratSimPanelControlEvents Events) : base(Parent, Events) { this.events = Events; MyEvents.FinishedLoadingParameters += OnPaceParametersFinishedLoading; MyEvents.FinishedLoadingStrategies += OnStrategiesFinishedLoading; }
public override MainFormIOController GetNew() { StratSimWindowFlowPanel MainPanel = new StratSimWindowFlowPanel(); StratSimPanelControlEvents Events = new StratSimPanelControlEvents(); StratSimMyToolbar Toolbar = new StratSimMyToolbar(MainPanel, Events); return(new StratSimFormIOController(MainPanel, Toolbar, Events, "StratSim")); }
public override void SetEvents(PanelControlEvents events) { base.SetEvents(events); this.events = (StratSimPanelControlEvents)events; }
public StratSimFormIOController(StratSimWindowFlowPanel MainPanel, StratSimMyToolbar Toolbar, StratSimPanelControlEvents Events, string Title) : base(MainPanel, Toolbar, Events, Title) { }
void VersionInfo_Click(object sender, EventArgs e) { StratSimPanelControlEvents.OnShowVersionInfo(); }
void Instructions_Click(object sender, EventArgs e) { StratSimPanelControlEvents.OnShowInstructions(); }