private JiwaFinancials.Jiwa.JiwaApplication.Plugin.Plugin GetPlugin()
{
List<JiwaFinancials.Jiwa.JiwaApplication.Plugin.Plugin> plugins = this.Manager.PluginCollection.Cast<JiwaFinancials.Jiwa.JiwaApplication.Plugin.Plugin>().ToList();
return plugins.FirstOrDefault( p => p.Name == System.Reflection.Assembly.GetExecutingAssembly().GetName().FullName );
}
SBarnes wrote:Thanks, based on that suggestion this should do it as a function in the form
- Code: Select all
private JiwaFinancials.Jiwa.JiwaApplication.Plugin.Plugin GetPlugin()
{
List<JiwaFinancials.Jiwa.JiwaApplication.Plugin.Plugin> plugins = this.Manager.PluginCollection.Cast<JiwaFinancials.Jiwa.JiwaApplication.Plugin.Plugin>().ToList();
return plugins.FirstOrDefault( p => p.Name == System.Reflection.Assembly.GetExecutingAssembly().GetName().FullName );
}
private JiwaFinancials.Jiwa.JiwaApplication.Plugin.Plugin GetPlugin()
{
List<JiwaFinancials.Jiwa.JiwaApplication.Plugin.Plugin> plugins = this.Manager.PluginCollection.Cast<JiwaFinancials.Jiwa.JiwaApplication.Plugin.Plugin>().ToList();
return plugins.FirstOrDefault(p => p.Name == System.Reflection.Assembly.GetExecutingAssembly().GetName().Name);
}
Return to Technical and or Programming
Users browsing this forum: No registered users and 4 guests