Beispiel #1
0
        private void InitializeViews()
        {
            _Views.Add(ViewType.Scenario, new View_Scenario());
            _Views[ViewType.Scenario].BindNavigatorControl(Navigator_SplitContainer.Panel2, DockStyle.Fill, false);
            _Views[ViewType.Scenario].BindViewControl(VSG_SplitContainer.Panel2, DockStyle.Fill, false);

            CntP_Playfield playfield = new CntP_Playfield();

            _Views.Add(ViewType.Playfield, new View_Playfield(playfield));
            _Views[ViewType.Playfield].BindNavigatorControl(Navigator_SplitContainer.Panel2, DockStyle.Fill, false);
            _Views[ViewType.Playfield].BindViewControl(VSG_SplitContainer.Panel2, DockStyle.Fill, false);

            _Views.Add(ViewType.Preview, new View_Preview(playfield));
            _Views[ViewType.Preview].BindNavigatorControl(Navigator_SplitContainer.Panel2, DockStyle.Fill, false);
            _Views[ViewType.Preview].BindViewControl(VSG_SplitContainer.Panel2, DockStyle.Fill, false);

            _Views.Add(ViewType.Scoring, new View_Scoring());
            _Views[ViewType.Scoring].BindNavigatorControl(Navigator_SplitContainer.Panel2, DockStyle.Fill, false);
            _Views[ViewType.Scoring].BindViewControl(VSG_SplitContainer.Panel2, DockStyle.Fill, false);

            _Views.Add(ViewType.Timeline, new View_Timeline(playfield));
            _Views[ViewType.Timeline].BindNavigatorControl(Navigator_SplitContainer.Panel2, DockStyle.Fill, false);
            _Views[ViewType.Timeline].BindViewControl(VSG_SplitContainer.Panel2, DockStyle.Fill, false);

            _Views.Add(ViewType.Types, new View_ObjectTypes());
            _Views[ViewType.Types].BindNavigatorControl(Navigator_SplitContainer.Panel2, DockStyle.Fill, false);
            _Views[ViewType.Types].BindViewControl(VSG_SplitContainer.Panel2, DockStyle.Fill, false);

            TopLevel_Navigator.SelectedIndices.Add(0);
        }
Beispiel #2
0
 public View_Playfield(CntP_Playfield playfield)
     : base(new NavP_Playfield(), playfield)
 {
 }
Beispiel #3
0
 public View_Timeline(CntP_Playfield playfield)
     : base(new NavP_Timeline(), playfield)
 {
 }