Inheritance: System.Windows.Forms.Form
Beispiel #1
0
        private void importFromUDKToolStripMenuItem_Click(object sender, EventArgs e)
        {
            int n = listBox1.SelectedIndex;

            if (n == -1)
            {
                return;
            }
            int idx = Objects[n].index;

            MPOpt.SelectedObject = idx;
            MPOpt.pcc            = pcc;
            MPOpt.SelectedLOD    = getLOD();
            UDKCopy u = new UDKCopy();

            u.MdiParent = this.MdiParent;
            u.Show();
            u.WindowState = FormWindowState.Maximized;
        }
        private void importFromUDKToolStripMenuItem_Click(object sender, EventArgs e)
        {
            int n;

            if (stm != null)
            {
                n = stm.index;
            }
            else if (skm != null)
            {
                n = skm.MyIndex;
            }
            else
            {
                return;
            }
            UDKCopy u = new UDKCopy(Pcc as ME3Package, n, getLOD());

            u.Show();
        }
Beispiel #3
0
 private void importFromUDKToolStripMenuItem_Click(object sender, EventArgs e)
 {
     int n = listBox1.SelectedIndex;
     if (n == -1)
         return;
     int idx = Objects[n].index;
     MPOpt.SelectedObject = idx;
     MPOpt.pcc = pcc;
     MPOpt.SelectedLOD = getLOD();
     UDKCopy u = new UDKCopy();
     u.MdiParent = this.MdiParent;
     u.Show();
     u.WindowState = FormWindowState.Maximized;
 }
Beispiel #4
0
 private void importFromUDKToolStripMenuItem_Click(object sender, EventArgs e)
 {
     int n;
     if (stm != null)
     {
         n = stm.index;
     }
     else if (skm != null)
     {
         n = skm.MyIndex;
     }
     else
     {
         return;
     }
     UDKCopy u = new UDKCopy(pcc as ME3Package, n, getLOD());
     u.Show();
 }