Ejemplo n.º 1
0
		public void LoadAboutForm(About about)
		{
			IList<ListViewItem> pluginItems = new List<ListViewItem>();
			IList<Image> pluginImages = new List<Image>();
		
			string version = Assembly.GetExecutingAssembly().GetName().Version.ToString();
		
			string license = Properties.Resources.MIT_License;
			license = license.Replace("\\n", "\r\n");

			//int i = 0;
			//foreach (PluginInfo plugin in GetPluginInfo())
			//{
			//    if (plugin.Bitmap != null)
			//        pluginImages.Add(plugin.Bitmap);

			//    ListViewItem item = new ListViewItem(new string[] { plugin.Title, plugin.Version.ToString() } , i);
			//    item.ToolTipText = plugin.Description;
			//    pluginItems.Add(item);
			//    i++;
			//}
			
			//about.LoadForm(version, license, pluginItems, pluginImages);
		}
Ejemplo n.º 2
0
		private void AboutToolStripMenuItem_Click(object sender, EventArgs e)
		{
			About about = new About();
			about.Initialize(pluginController);
			about.ShowDialog(this);
		}