上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 17 下一页
摘要: 普通索引 ALTER TABLE tablename ADD INDEX index_name1 ( column_name ) 单字段唯一约束 alter table tablename add unique(column_name) 多字段唯一约束 alter table tablename a 阅读全文
posted @ 2022-02-10 11:39 奇迹之耀 阅读(646) 评论(0) 推荐(1)
摘要: 样式中加入 .el-table__fixed { height: 100% !important; } .el-table__fixed-right { height: 100% !important; } 阅读全文
posted @ 2022-01-26 15:37 奇迹之耀 阅读(96) 评论(0) 推荐(0)
摘要: 在head中加入 <meta name="referrer" content="no-referrer"> 阅读全文
posted @ 2022-01-17 16:42 奇迹之耀 阅读(417) 评论(0) 推荐(0)
摘要: <el-table-column fixed="right" label="操作" width="80"> <template slot-scope="scope"> <el-button @click="showPatient(scope.row)" type="text" size="small 阅读全文
posted @ 2022-01-17 14:24 奇迹之耀 阅读(689) 评论(0) 推荐(0)
摘要: [JsonObject(MemberSerialization.OptIn)] public class TemplateSort { public int Id { get; set; } [JsonProperty] public string Name { get; set; } [JsonP 阅读全文
posted @ 2022-01-10 11:03 奇迹之耀 阅读(106) 评论(0) 推荐(0)
摘要: 添加防火墙需要应用具有管理员权限, 首先添加com引用,NetFwTypeLib 允许单个程序通过全部端口 //创建一个认证程序类的实例 INetFwAuthorizedApplication app = (INetFwAuthorizedApplication)Activator.CreateIn 阅读全文
posted @ 2022-01-05 15:34 奇迹之耀 阅读(769) 评论(0) 推荐(0)
摘要: 经过研究发现虚拟网卡应该是没有默认网关的,而且虚拟网卡的mac地址也有规律,所以根据默认网关和mac地址来进行判断是否为虚拟网卡 public static List<string> GetLocalIP() { List<string> IpList = new List<string>(); L 阅读全文
posted @ 2021-12-31 10:56 奇迹之耀 阅读(1115) 评论(0) 推荐(0)
摘要: nuget包中引用HandyControl 在主窗体中引入xmlns:hc="https://handyorg.github.io/handycontrol" 在主窗体中加入代码 <Window.Resources> <ContextMenu x:Key="ContextMenu"> <MenuIt 阅读全文
posted @ 2021-12-29 10:37 奇迹之耀 阅读(1017) 评论(0) 推荐(0)
摘要: 在项目文件中添加 <Target Name="AfterResolveReferences"> <ItemGroup> <EmbeddedResource Include="@(ReferenceCopyLocalPaths)" Condition="'%(ReferenceCopyLocalPat 阅读全文
posted @ 2021-12-29 10:33 奇迹之耀 阅读(213) 评论(0) 推荐(0)
摘要: 首先在window窗体中设置属性ResizeMode="NoResize" 然后这个时候还可以在任务管理器中对程序进行最大化最小化 当触发最大化最小化事件时,进行拦截 前台代码 StateChanged="window_StateChanged" 后台代码 private void window_S 阅读全文
posted @ 2021-12-29 10:24 奇迹之耀 阅读(265) 评论(0) 推荐(0)
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 17 下一页