예제 #1
0
        private void cmiDisplayAddonReport_Click(object sender, EventArgs e)
        {
            AddonPackage addon = GetSelectedAddon();

            if (addon == null)
            {
                return;
            }

            AddonReportForm reportForm = new AddonReportForm(addon.QualifiedName, addon.ToString());

            reportForm.Show(this);
        }
예제 #2
0
        // ------------------------------------------------------------------------------------------------------------------------------

        private void cmiDisplayAddonReport_Click(object sender, EventArgs e)
        {
            if (GetAssetSelectedRowIndex() < 0)
            {
                return;
            }

            string publisher;
            string name = GetSelectedAddonNamePublisher(out publisher);

            AddonPackage package = _addonPackageSet.FindByName(name, publisher);

            if (package == null)
            {
                return;
            }

            AddonReportForm reportForm = new AddonReportForm(name, package.ToString());

            reportForm.Show(this);
        }