예제 #1
0
        private void btn_uninstall_Click(object sender, EventArgs e)
        {
            ExtensionListControl parent = Parent.Parent as ExtensionListControl;

            if (parent == null)
            {
                return;
            }
            parent.OnUninstallExtension(this);
        }
예제 #2
0
        private void btn_conf_Click(object sender, EventArgs e)
        {
            ExtensionListControl parent = Parent.Parent as ExtensionListControl;

            if (parent == null)
            {
                return;
            }
            parent.OnConfigureExtension(this);
        }
예제 #3
0
        private void testToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ToolStripMenuItem    menu   = sender as ToolStripMenuItem;
            ExtensionListControl parent = Parent.Parent as ExtensionListControl;

            if (parent == null)
            {
                return;
            }
            parent.OnInstallExtension(this, menu.Tag as PackageClass);
        }