会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
卡娃儿
博客园
首页
新随笔
联系
管理
订阅
2021年4月21日
Revit共享参数
摘要: Document doc = commandData.Application.ActiveUIDocument.Document; FilteredElementCollector collector = new FilteredElementCollector(doc); List<Paramet
阅读全文
posted @ 2021-04-21 09:46 卡娃儿
阅读(128)
评论(0)
推荐(0)
2021年4月20日
Revit类别
摘要: Document doc = commandData.Application.ActiveUIDocument.Document; string cats = ""; foreach (Category item in doc.Settings.Categories) { cats += item.
阅读全文
posted @ 2021-04-20 15:08 卡娃儿
阅读(62)
评论(0)
推荐(0)
2021年4月10日
Window 重要的事件
摘要: Window 有几个重要的事件: 他们之间的调用顺序是: Window.Initialized Window.Activatied Window.Loaded Window.ContentRendered Window.DeActivatied Window.Closing Window.UnLoa
阅读全文
posted @ 2021-04-10 14:20 卡娃儿
阅读(75)
评论(0)
推荐(0)
2017年4月13日
控件动态创建与删除
摘要: private void Button_Add_Click(object sender, System.Windows.RoutedEventArgs e) { Button btn = new Button(); //btn.Name = "newButton";//这样设置则注册名字可为:can
阅读全文
posted @ 2017-04-13 17:46 卡娃儿
阅读(252)
评论(0)
推荐(0)
2017年4月12日
WPF中实现单双击,单双击互斥
摘要: 在XAML界面设计器中添加MouseLeftButtonDown事件,或MouseDown事件 以下为代码部分: #region 左击事件(分单双击) int i = 0; bool 有双击 = false; private void Grid_MouseLeftButtonDown(object
阅读全文
posted @ 2017-04-12 13:12 卡娃儿
阅读(1633)
评论(0)
推荐(0)
2017年3月24日
CentOS的网络配置文件
摘要: DEVICE=eth0 //网卡可重启 ifconfig显示ip信息(系统会自动以连接的名称为文件名建立新的网配文件,但缺失此项)TYPE=Ethernet //网卡可重启 ifconfig显示ip信息BOOTPROTO=static //【错设为dhcp,其他不变(网络不可达)网卡无法重启(错误:
阅读全文
posted @ 2017-03-24 11:17 卡娃儿
阅读(380)
评论(0)
推荐(0)
2017年2月19日
C#中x名称空间包含的工具及其作用
摘要: 在x名称空间下包含三种类型的工具: 一、Attribute类型的工具 二、标签扩展类型的工具 三、XAML指令元素类型的工具 一下列出x名称空间中包含的工具: XAML指令元素 x:Class 新建的WpfApplication中会有这样的XAML语句:x:Class="WpfApplication
阅读全文
posted @ 2017-02-19 08:58 卡娃儿
阅读(830)
评论(0)
推荐(0)
公告