public Init(Communicator com, MemMan man) { InitializeComponent(); // Define our private variables _communicator = com; _manager = man; // Refresh list of processes butRefresh_Click(null, null); splitContainer1_Resize(null, null); }
public void Initialize(IPluginHost host) { // Setup unique names for each form form_init_id = Name + " " + Version + " " + form_init_id; // Set version _version = new ObjectVersion(1, 0); // Create MemMan instance _manager = new MemMan(); _manager.ProcessExited += (sender, e) => { Ready = false; }; // Register forms with UI host.RegisterWindow(this, "Attach Process", form_init_id, "Displays a list of processes to attach to.", AddInitForm); }
public void Dispose(IPluginHost host) { form_init_id = null; _manager = null; _version = null; }