Пример #1
0
        private void MainForm_Load(object sender, EventArgs e)
        {
            ProjectNew();

            // Create and show forms
            Form_Timeline = new TimelineForm(sc_MainContainer.Panel2);
            Form_Toolbox  = new PropertiesForm(sc_MainContainer.Panel2);
            Form_Canvas   = new CanvasForm(sc_MainContainer.Panel2);

            Form_Timeline.Show();
            Form_Toolbox.Show();
            Form_Canvas.Show();

            Form_Timeline.Location = new Point(5, 0);
            Form_Toolbox.Location  = new Point(50, Form_Timeline.Location.Y + Form_Timeline.Height + 4);
            Form_Canvas.Location   = new Point(Form_Toolbox.Location.X + Form_Toolbox.Width + 20, Form_Timeline.Location.Y + Form_Timeline.Height + 4);

            if (Program.LoadFile != "")
            {
                ProjectOpen(Program.LoadFile);
            }

            AutoUpdateDialog.CheckForUpdates(false);
        }
Пример #2
0
 private void checkForUpdatesToolStripMenuItem_Click(object sender, EventArgs e)
 {
     AutoUpdateDialog.CheckForUpdates(true);
 }