private void ctrlWebsite1_ExcuteCommand(WssCommon.ListWebCommand command, EventArgs e) { switch (command) { case WssCommon.ListWebCommand.IndividualWebsitesProduct: ConvertProductToRoot(ctrlWebsite1.GetIdCurrent(), ctrlWebsite1.GetDomainCurrent()); break; case WssCommon.ListWebCommand.IndividualWebsitesRootProductAnalyzed: RootProductManager(ctrlWebsite1.GetIdCurrent(), ctrlWebsite1.GetDomainCurrent()); break; case WssCommon.ListWebCommand.ViewTagInWebsites: ViewTagInWebsites(ctrlWebsite1.GetIdCurrent(), ctrlWebsite1.GetDomainCurrent()); break; } }
private void managerRootProductToolStripMenuItem_Click(object sender, EventArgs e) { _command = WssCommon.ListWebCommand.IndividualWebsitesRootProductAnalyzed; ExcuteCommand(_command, e); }
private void viewTagInWebsiteToolStripMenuItem_Click(object sender, EventArgs e) { _command = WssCommon.ListWebCommand.ViewTagInWebsites; ExcuteCommand(_command, e); }
private void getRootProductToWebsiteToolStripMenuItem_Click(object sender, EventArgs e) { _command = WssCommon.ListWebCommand.IndividualWebsitesProduct; ExcuteCommand(_command, e); }