public DbgEntityPrimerSilent(DbgEntity aEntity, DbgPluginEngine aPlugin) { iEntity = aEntity; iPlugin = aPlugin; // Make a new primer and seed it with the entity. iPrimer = aPlugin.CreatePrimer(); iPrimer.Add(aEntity); // Listen to plugin primer events iPrimer.EventHandler += new DbgPluginPrimer.PrimeEventHandler(PrimerPlugin_EventHandler); }
public DbgEntityPrimerUi(DbgEntity aEntity, DbgPluginEngine aPlugin) { iEntity = aEntity; iPlugin = aPlugin; // Make a new primer and seed it with the entity. iPrimer = aPlugin.CreatePrimer(); iPrimer.Add(aEntity); // Listen to plugin primer events iPrimer.EventHandler += new DbgPluginPrimer.PrimeEventHandler(PrimerPlugin_EventHandler); // this.InitializeComponent(); this.Text = string.Format("Preparing: [{0}]", Path.GetFileName(aEntity.FullName)); }