internal void OnInstall (object sender, EventArgs e)
		{
			AddinInstallDialog dlg = new AddinInstallDialog (service);
			try {
				dlg.Run ();
				LoadAddins ();
			} finally {
				dlg.Destroy ();
			}
		}
        internal void OnInstall(object sender, EventArgs e)
        {
            AddinInstallDialog dlg = new AddinInstallDialog(service);

            try {
                dlg.Run();
                LoadAddins();
            } finally {
                dlg.Destroy();
            }
        }
		internal void OnUninstall (object sender, EventArgs e)
		{
			AddinHeader info = (AddinHeader) tree.ActiveAddin;
			AddinInstallDialog dlg = new AddinInstallDialog (service);
			try {
				dlg.SetUninstallMode (info);
				dlg.Run ();
				LoadAddins ();
			} finally {
				dlg.Destroy ();
			}
		}
        internal void OnUninstall(object sender, EventArgs e)
        {
            AddinHeader        info = (AddinHeader)tree.ActiveAddin;
            AddinInstallDialog dlg  = new AddinInstallDialog(service);

            try {
                dlg.SetUninstallMode(info);
                dlg.Run();
                LoadAddins();
            } finally {
                dlg.Destroy();
            }
        }