public void cmNewExceptionHandler_Click(object sender, EventArgs e)
 {
     frmClassEditExceptionHandler f = new frmClassEditExceptionHandler(_currentMethod, -1);
     if (f.ShowDialog() == DialogResult.OK)
     {
         InitBody(_currentMethod);
     }
 }
        public void cmEdit_Click(object sender, EventArgs e)
        {
            if (CallEditInstruction(frmClassEditInstruction.EditModes.Edit))
                return;

            int ehIndex = GetExceptionHandlerIndex(dgBody.CurrentRow);
            if (ehIndex >= 0)
            {
                frmClassEditExceptionHandler f = new frmClassEditExceptionHandler(_currentMethod, ehIndex);
                if (f.ShowDialog() == DialogResult.OK)
                {
                    //InsUtils.ComputeOffsets(_currentMethod.Body.Instructions);
                    InitBody(_currentMethod);
                }
                return;
            }
        }