Exemple #1
0
 private void simpleButton1_Click(object sender, EventArgs e)
 {
     try
     {
         BuilderObjectBiz       bob  = new BuilderObjectBiz();
         List <File3dattribute> list = bob.GetModelByName(this.txt_selectWhere.Text.ToString().Trim());
         this.InitTree(list);
     }
     catch (Exception)
     {
     }
 }
Exemple #2
0
 /// <summary>
 /// 显示物体信息
 /// </summary>
 /// <param name="objectID"></param>
 private void ShowBuilderInfo(string objectID)
 {
     try
     {
         BuilderObjectBiz       bobTemp = new BuilderObjectBiz();
         List <File3dattribute> list    = bobTemp.GetModelInfo(objectID);
         // List<BuilderObject> list = bobTemp.GetBuilderInfo(objectID);
         this.DrawModelInfo(list);
     }
     catch (Exception)
     {
     }
 }
Exemple #3
0
        /// <summary>
        /// ��ѯ��ť����¼�
        /// ִ�в�ѯ����
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btn_selectWhere_Click(object sender, EventArgs e)
        {
            try
            {
                BuilderObjectBiz bob = new BuilderObjectBiz();
                List<File3dattribute> list = bob.GetModelByName(this.txt_selectWhere.Text.ToString().Trim());

                this.InitTree(list);
            }
            catch (Exception)
            {

            }
        }