private void ShowTreeList() { this.Items.Nodes.Clear(); TreeNode overview = TreeListHelper.GetOverviewNode(this._currentFile); this.Items.Nodes.Add(overview); this.Items.Nodes.Add(TreeListHelper.GetHeaderNode(this._currentFile)); this.Items.Nodes.Add(TreeListHelper.GetParametersNode(this._currentFile)); this.Items.Nodes.Add(TreeListHelper.Get3DDataNode(this._currentFile)); this.Items.Nodes.Add(TreeListHelper.GetAnalogDataNode(this._currentFile)); this.Items.CollapseAll(); this.Items.SelectedNode = overview; }
private void bbiExport_ItemClick(object sender, ItemClickEventArgs e) { TreeListHelper.ExportTo(this.tlSysObject, EnvInfo.RunPath); }
/// <summary> /// 导出产口列表清单 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void btnCopy_Click(object sender, EventArgs e) { tlDllFile.ExpandAll(); TreeListHelper.ExportTo(tlDllFile, EnvInfo.RunPath); tlDllFile.CollapseAll(); }
private void bbiExport_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { TreeListHelper.ExportTo(this.tlSysMenu, EnvInfo.RunPath); }