Inheritance: WinFormsBase
Ejemplo n.º 1
0
        private void sequenceEditorToolStripMenuItem_Click(object sender, EventArgs e)
        {
            SequenceEditor seq = new SequenceEditor();

            seq.MdiParent = this;
            seq.Show();
            seq.WindowState = FormWindowState.Maximized;
            taskbar.AddTool(seq, Properties.Resources.sequence_editor_64x64);
        }
Ejemplo n.º 2
0
        private int HandleCommandLineJumplistCall(string[] args, out int exitCode)
        {
            if (args.Length < 2)
            {
                exitCode = 0;
                return(1);
            }

            string arg = args[1];

            if (arg == "JUMPLIST_PACKAGE_EDITOR")
            {
                PackageEditor editor = new PackageEditor();
                editor.BringToFront();
                editor.Show();
                exitCode = 0;
                return(0);
            }
            if (arg == "JUMPLIST_SEQUENCE_EDITOR")
            {
                SequenceEditor editor = new SequenceEditor();
                editor.BringToFront();
                editor.Show();
                exitCode = 0;
                return(0);
            }
            if (arg == "JUMPLIST_PATHFINDING_EDITOR")
            {
                PathfindingEditor editor = new PathfindingEditor();
                editor.BringToFront();
                editor.Show();
                exitCode = 0;
                return(0);
            }

            string ending = Path.GetExtension(args[1]).ToLower();

            switch (ending)
            {
            case ".pcc":
                PackageEditor editor = new PackageEditor();
                editor.Show();
                editor.LoadFile(args[1]);
                exitCode = 0;
                return(1);
            }
            exitCode = 0;
            return(1);
        }
Ejemplo n.º 3
0
 private void sequenceEditorToolStripMenuItem_Click(object sender, EventArgs e)
 {
     SequenceEditor seq = new SequenceEditor();
     seq.MdiParent = this;
     seq.Show();
     seq.WindowState = FormWindowState.Maximized;
     taskbar.AddTool(seq, imageList1.Images[9]);
 }
Ejemplo n.º 4
0
 private void sequenceEditorToolStripMenuItem_Click(object sender, EventArgs e)
 {
     SequenceEditor seq = new SequenceEditor();
     seq.MdiParent = this;
     seq.Show();
     seq.WindowState = FormWindowState.Maximized;
     taskbar.AddTool(seq, Properties.Resources.sequence_editor_64x64);
 }