コード例 #1
0
        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);
        }
コード例 #2
0
 void TimeSpanForm_FormClosed(object sender, FormClosedEventArgs e)
 {
     instance = null;
 }