private void buildMenus() { WF_PopUpMenuItem item1 = new WF_PopUpMenuItem(); //****************************** menu2 ************************************* item1 = new WF_PopUpMenuItem(); item1.Text = "Modify"; item1.ImageURL = "http://" + wf._webServer + wf._appPath + "/images/Edit16.png"; item1.hREF = "javascript:fnMenuModifyStep()"; menu2.menuItems.Add(item1); item1 = new WF_PopUpMenuItem(); item1.Text = "Insert"; item1.ImageURL = "http://" + wf._webServer + wf._appPath + "/images/Add16.png"; item1.hREF = "javascript:fnMenuInsertStep()"; menu2.menuItems.Add(item1); item1 = new WF_PopUpMenuItem(); item1.isSeparator = true; menu2.menuItems.Add(item1); item1 = new WF_PopUpMenuItem(); item1.Text = "Delete"; item1.ImageURL = "http://" + wf._webServer + wf._appPath + "/images/Delete16.png"; item1.hREF = "javascript:fnMenuDeleteStep()"; menu2.menuItems.Add(item1); item1 = new WF_PopUpMenuItem(); item1.isSeparator = true; menu2.menuItems.Add(item1); item1 = new WF_PopUpMenuItem(); item1.Text = "Move Up"; item1.ImageURL = "http://" + wf._webServer + wf._appPath + "/images/Move Up (Arrow)16.png"; item1.hREF = "javascript:fnMenuMoveUp()"; menu2.menuItems.Add(item1); item1 = new WF_PopUpMenuItem(); item1.Text = "Move Down"; item1.ImageURL = "http://" + wf._webServer + wf._appPath + "/images/Move Down (Arrow)16.png"; item1.hREF = "javascript:fnMenuMoveDown()"; menu2.menuItems.Add(item1); item1 = new WF_PopUpMenuItem(); item1.isSeparator = true; menu2.menuItems.Add(item1); item1 = new WF_PopUpMenuItem(); item1.Text = "Cancel"; menu2.menuItems.Add(item1); }
public void AddMenuItem(WF_PopUpMenuItem item) { menuItems.Add(item); }
private void buildMenus() { WF_PopUpMenuItem item1 = new WF_PopUpMenuItem(); //****************************** menu1 ************************************* item1 = new WF_PopUpMenuItem(); item1.Text = "Insert Step"; item1.ImageURL = "http://" + wf._webServer + wf._appPath + "/workflow/images/Add16.png"; item1.hREF = "javascript:fnMenuInsertStep()"; menu1.menuItems.Add(item1); //item1 = new FE_PopUpMenuItem(); //item1.isSeparator = true; //menu1.menuItems.Add(item1); //item1 = new FE_PopUpMenuItem(); //item1.Text = wf.TranslatePage("Templates"); //item1.ImageURL = item1.ImageURL = "http://" + wf._webServer + wf._appPath + "/workflow/images/Settings16.png"; //item1.hREF = "javascript:fnTemplates()"; //menu1.menuItems.Add(item1); item1 = new WF_PopUpMenuItem(); item1.isSeparator = true; menu1.menuItems.Add(item1); item1 = new WF_PopUpMenuItem(); item1.Text = "Cancel"; menu1.menuItems.Add(item1); //****************************** menu2 ************************************* item1 = new WF_PopUpMenuItem(); item1.Text = "Modify"; item1.ImageURL = "http://" + wf._webServer + wf._appPath + "/workflow/images/Edit16.png"; item1.hREF = "javascript:fnMenuModifyStep()"; menu2.menuItems.Add(item1); item1 = new WF_PopUpMenuItem(); item1.Text = "Insert"; item1.ImageURL = "http://" + wf._webServer + wf._appPath + "/workflow/images/Add16.png"; item1.hREF = "javascript:fnMenuInsertStep()"; menu2.menuItems.Add(item1); item1 = new WF_PopUpMenuItem(); item1.Text = "Reset"; item1.ImageURL = "http://" + wf._webServer + wf._appPath + "/workflow/images/refresh16.png"; item1.hREF = "javascript:fnMenuResetStep()"; menu2.menuItems.Add(item1); item1 = new WF_PopUpMenuItem(); item1.isSeparator = true; menu2.menuItems.Add(item1); item1 = new WF_PopUpMenuItem(); item1.Text = "Send Mail"; item1.ImageURL = "http://" + wf._webServer + wf._appPath + "/workflow/images/Send (Email)16.png"; item1.hREF = "javascript:fnMenuEmail()"; menu2.menuItems.Add(item1); item1 = new WF_PopUpMenuItem(); item1.isSeparator = true; menu2.menuItems.Add(item1); item1 = new WF_PopUpMenuItem(); item1.Text = "Delete"; item1.ImageURL = "http://" + wf._webServer + wf._appPath + "/workflow/images/Delete16.png"; item1.hREF = "javascript:fnMenuDeleteStep()"; menu2.menuItems.Add(item1); item1 = new WF_PopUpMenuItem(); item1.isSeparator = true; menu2.menuItems.Add(item1); item1 = new WF_PopUpMenuItem(); item1.Text = "Move Up"; item1.ImageURL = "http://" + wf._webServer + wf._appPath + "/workflow/images/Move Up (Arrow)16.png"; item1.hREF = "javascript:fnMenuMoveUp()"; menu2.menuItems.Add(item1); item1 = new WF_PopUpMenuItem(); item1.Text = "Move Down"; item1.ImageURL = "http://" + wf._webServer + wf._appPath + "/workflow/images/Move Down (Arrow)16.png"; item1.hREF = "javascript:fnMenuMoveDown()"; menu2.menuItems.Add(item1); item1 = new WF_PopUpMenuItem(); item1.isSeparator = true; menu2.menuItems.Add(item1); item1 = new WF_PopUpMenuItem(); item1.Text = "Cancel"; menu2.menuItems.Add(item1); }