public override void Configure() { frmConfig frm = new frmConfig(); frm.HandleAssemblyEvent = handleAssemblyEvent; frm.HandleModuleEvent = handleModuleEvent; frm.HandleTypeEvent = handleTypeEvent; frm.HandleMethodEvent = handleMethodEvent; frm.HandlePropertyEvent = handlePropertyEvent; frm.HandleFieldEvent = handleFieldEvent; frm.HandleEventEvent = handleEventEvent; frm.ShowNameList = showNameList; frm.ShowRenameList = showRenameList; if (frm.ShowDialog() == DialogResult.OK) { handleAssemblyEvent = frm.HandleAssemblyEvent; handleModuleEvent = frm.HandleModuleEvent; handleTypeEvent = frm.HandleTypeEvent; handleMethodEvent = frm.HandleMethodEvent; handlePropertyEvent = frm.HandlePropertyEvent; handleFieldEvent = frm.HandleFieldEvent; handleEventEvent = frm.HandleEventEvent; showNameList = frm.ShowNameList; showRenameList = frm.ShowRenameList; } }