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) { } }
/// <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) { } }
/// <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) { } }