public TimeSpanForm() { InitializeComponent(); this.Size = new System.Drawing.Size(1024, 800); spanPanel = new SpanPanel(this.Size.Width - spanPanelOffsetX * 2, this.Size.Height - spanPanelOffsetY1 - spanPanelOffsetY2); this.Controls.Add(spanPanel); spanPanel.Location = new Point(spanPanelOffsetX, spanPanelOffsetY1); this.ResizeEnd += TimeSpanForm_ResizeEnd; this.MaximumSizeChanged += TimeSpanForm_MaximumSizeChanged; this.MouseWheel += TimeSpanForm_MouseWheel; this.FormClosed += TimeSpanForm_FormClosed; instance = this; spanPanel.updateActionBox(MainFrame.instance.curEditAEData); }
internal void updateActionBox(AEData aeData) { spanPanel.updateActionBox(aeData); }