public partial class xre_main : 网页链接 {
public xre_main()
{
InitializeComponent();
InitAccordion(accordionControl1);
}
//切换页面的操作
void InitAccordion(AccordionControl accordion)
{
accordion.Elements.Clear();
AccordionControlElement group1 = new AccordionControlElement(ElementStyle.Group)
{
Name = "User_Task",
Text = "用户操作",
Expanded = true
};
AccordionControlElement group2 = new AccordionControlElement(ElementStyle.Group)
{
Name = "user_setting",
Text = "用户配置",
Expanded = true
};
AccordionControlElement item1 = new AccordionControlElement(ElementStyle.Item)
{
Name = "command_Menu",
Text = "控制菜单"
};
AccordionControlElement item2 = new AccordionControlElement(ElementStyle.Item)
{
Name = "InstructionEditing",
Text = "指令编辑"
};
AccordionControlElement item3 = new AccordionControlElement(ElementStyle.Item)
{
Name = "oligoSynthesis",
Text = "核酸合成"
};
AccordionControlElement item4 = new AccordionControlElement(ElementStyle.Item)
{
Name = "report",
Text = "报告"
};
AccordionControlElement item5 = new AccordionControlElement(ElementStyle.Item)
{
Name = "confidence",
Text = "软件设置"
};
AccordionControlElement item6 = new AccordionControlElement(ElementStyle.Item)
{
Name = "command_Setting",
Text = "指令设置"
};
AccordionControlElement item7 = new AccordionControlElement(ElementStyle.Item)
{
Name = "base_Setting",
Text = "碱基设置"
};
AccordionControlElement item8 = new AccordionControlElement(ElementStyle.
public xre_main()
{
InitializeComponent();
InitAccordion(accordionControl1);
}
//切换页面的操作
void InitAccordion(AccordionControl accordion)
{
accordion.Elements.Clear();
AccordionControlElement group1 = new AccordionControlElement(ElementStyle.Group)
{
Name = "User_Task",
Text = "用户操作",
Expanded = true
};
AccordionControlElement group2 = new AccordionControlElement(ElementStyle.Group)
{
Name = "user_setting",
Text = "用户配置",
Expanded = true
};
AccordionControlElement item1 = new AccordionControlElement(ElementStyle.Item)
{
Name = "command_Menu",
Text = "控制菜单"
};
AccordionControlElement item2 = new AccordionControlElement(ElementStyle.Item)
{
Name = "InstructionEditing",
Text = "指令编辑"
};
AccordionControlElement item3 = new AccordionControlElement(ElementStyle.Item)
{
Name = "oligoSynthesis",
Text = "核酸合成"
};
AccordionControlElement item4 = new AccordionControlElement(ElementStyle.Item)
{
Name = "report",
Text = "报告"
};
AccordionControlElement item5 = new AccordionControlElement(ElementStyle.Item)
{
Name = "confidence",
Text = "软件设置"
};
AccordionControlElement item6 = new AccordionControlElement(ElementStyle.Item)
{
Name = "command_Setting",
Text = "指令设置"
};
AccordionControlElement item7 = new AccordionControlElement(ElementStyle.Item)
{
Name = "base_Setting",
Text = "碱基设置"
};
AccordionControlElement item8 = new AccordionControlElement(ElementStyle.