예제 #1
0
 private void button1_Click(object sender, EventArgs e)
 {
     ScriptFunctions me = new ScriptFunctions();
     if (me.CheckMod(m_ExePath, obj.Name))
     {
         ModEditor me2 = new ModEditor(obj, me, m_ExePath);
         me2.ShowDialog();
         obj = me2.GetObj();
         boxMod.Clear();
         foreach (byte b in obj.modbuf)
             boxMod.Text += String.Format("{0:x2} ", b);
     }
     else
     {
         MessageBox.Show("There is no mod editor for that object.");
     }
 }