Inheritance: GraphicalOverlay
Example #1
0
        public StageForm(StageDocument stage)
        {
            InitializeComponent();

            joinOverlay = new JoinOverlay();
            joinOverlay.Owner = this;

            this.SetBackgroundGrid();

            history = new History();
            surfaces = new Dictionary<String, ScreenDrawingSurface>();
            surfaceLocations = new Dictionary<string, Point>();

            SetStage(stage);

            MainForm.Instance.DrawOptionToggled += () => { joinOverlay.Visible = MainForm.Instance.DrawJoins; };
        }
Example #2
0
        public StageForm(StageDocument stage)
        {
            InitializeComponent();

            joinOverlay       = new JoinOverlay();
            joinOverlay.Owner = this;

            this.SetBackgroundGrid();

            history          = new History();
            surfaces         = new Dictionary <String, ScreenDrawingSurface>();
            surfaceLocations = new Dictionary <string, Point>();

            SetStage(stage);

            MainForm.Instance.DrawOptionToggled += () => { joinOverlay.Visible = MainForm.Instance.DrawJoins; };
        }