//窗体加载时|加载一些模板信息列表
 private void FrmEditMainPanel_Load(object sender, EventArgs e)
 {
     //设置选择模板下拉列表项
     for (int i = 0; i < EditTemplateInfo.ReturnEditItemName().Count; i++)
     {
         EditItem.Items.Add(EditTemplateInfo.ReturnEditItemName()[i].ToString());
     }
     EditItem.SelectedIndex = 0;
     //设置控件列表面板
     Controllist_Click(null, null);
     DockLeft();
 }
 /// <summary>
 /// 左面板
 /// </summary>
 private void DockLeft()
 {
     //获取模板名称集合
     foreach (object i in EditTemplateInfo.ReturnEditItemName())
     {
         //实例化模板集合中的子列表对象
         FrmEditThempZoom editlistchild = new FrmEditThempZoom(EditTemplateInfo.GetEditImg((i as string)));
         editlistchild.Tag  = (i as string);//存储当前子对象所对应的模板名称
         editlistchild.Dock = DockStyle.Top;
         P_themplist.Controls.Add(editlistchild);
     }
 }