LoadPCC() public method

public LoadPCC ( string path ) : void
path string
return void
示例#1
0
        private void openInLeveleditorToolStripMenuItem_Click(object sender, EventArgs e)
        {
            int n = listBox1.SelectedIndex;

            if (n == -1)
            {
                return;
            }
            DBEntry d = database[n];

            LevelEditor.Leveleditor led = new LevelEditor.Leveleditor();
            led.MdiParent = this.MdiParent;
            led.Show();
            led.WindowState = FormWindowState.Maximized;
            led.LoadPCC(d.filepath);
        }
示例#2
0
 private void openInLeveleditorToolStripMenuItem_Click(object sender, EventArgs e)
 {
     int n = listBox1.SelectedIndex;
     if (n == -1)
         return;
     DBEntry d = database[n];
     LevelEditor.Leveleditor led = new LevelEditor.Leveleditor();
     led.MdiParent = this.MdiParent;
     led.Show();
     led.WindowState = FormWindowState.Maximized;
     led.LoadPCC(d.filepath);
 }