Inheritance: System.Windows.Forms.Form
Esempio n. 1
0
        private void directAFCReplaceToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (w.IsPCCStored)
            {
                MessageBox.Show("Cannot do an afc replace on a pcc-stored sound.");
                return;
            }
            DirectReplace dr = new DirectReplace();

            dr.MdiParent = this.MdiParent;
            dr.Show();
            dr.WindowState = FormWindowState.Maximized;
            int n = listBox1.SelectedIndex;

            if (n == -1)
            {
                return;
            }
            int          index = ObjectIndexes[n];
            IExportEntry ex    = pcc.Exports[index];

            if (ex.ClassName == "WwiseStream")
            {
                dr.textBox3.Text = w.DataOffset.ToString();
                dr.textBox2.Text = w.FileName + ".afc";
            }
        }
Esempio n. 2
0
 private void directAFCReplaceToolStripMenuItem_Click(object sender, EventArgs e)
 {
     DirectReplace dr = new DirectReplace();
     dr.MdiParent = this.MdiParent;
     dr.Show();
     dr.WindowState = FormWindowState.Maximized;
     int n = listBox1.SelectedIndex;
     if (n == -1)
         return;
     int index = ObjectIndexes[n];
     PCCObject.ExportEntry ex = pcc.Exports[index];
     if (ex.ClassName == "WwiseStream")
     {
         dr.textBox3.Text = w.DataOffset.ToString();
         dr.textBox2.Text = w.FileName + ".afc";
     }
 }
Esempio n. 3
0
 private void directAFCReplaceToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (w.IsPCCStored)
     {
         MessageBox.Show("Cannot do an afc replace on a pcc-stored sound.");
         return;
     }
     DirectReplace dr = new DirectReplace();
     dr.MdiParent = this.MdiParent;
     dr.Show();
     dr.WindowState = FormWindowState.Maximized;
     int n = listBox1.SelectedIndex;
     if (n == -1)
         return;
     int index = ObjectIndexes[n];
     IExportEntry ex = pcc.Exports[index];
     if (ex.ClassName == "WwiseStream")
     {
         dr.textBox3.Text = w.DataOffset.ToString();
         dr.textBox2.Text = w.FileName + ".afc";
     }
 }