上一页 1 ··· 9 10 11 12 13 14 15 下一页
摘要: TextBlock默认文本是居上的,像是这样子 但是TextBlock空间没有VerticalContentAlignment属性,无法设置文本垂直居中, 所以改用Label控件,效果实现 <Label VerticalContentAlignment="Center" Padding="0" He 阅读全文
posted @ 2021-08-10 11:23 奇迹之耀 阅读(2613) 评论(0) 推荐(1) 编辑
摘要: 目前我试了2种方式进行备份数据库 先查询mysql安装路径:select @@basedir as basePath from dual 第一种方式:然后进入安装目录找到data文件夹,直接将里面的文件备份 如果安装目录下没有data文件夹,使用show variables like 'datadi 阅读全文
posted @ 2021-07-30 14:34 奇迹之耀 阅读(1052) 评论(0) 推荐(0) 编辑
摘要: select @@basedir as basePath from dual 阅读全文
posted @ 2021-07-30 14:23 奇迹之耀 阅读(26) 评论(0) 推荐(0) 编辑
摘要: using (Test db = new Test()) { List<table3> list = (from a in db.table1 join b in db.table2 on a.Pid equals b.Pid into c from d in c.DefaultIfEmpty()/ 阅读全文
posted @ 2021-07-29 10:23 奇迹之耀 阅读(208) 评论(0) 推荐(0) 编辑
摘要: 打开IIS,找到MIME类型 打开功能,然后添加 文件扩展名 MIME类型 .svg image/svg+xml.woff application/x-font-woff.woff2 application/x-font-woff 阅读全文
posted @ 2021-07-28 08:59 奇迹之耀 阅读(428) 评论(0) 推荐(0) 编辑
摘要: 实现思路:截取Image控件中要放大的部分,并将其显示出来 核心代码:CroppedBitmap chained = new CroppedBitmap((BitmapSource)img1.Source, new Int32Rect(50,50,50,50));//截取图片 img2.Source 阅读全文
posted @ 2021-07-26 13:48 奇迹之耀 阅读(125) 评论(0) 推荐(0) 编辑
摘要: PathFigure myPathFigure = new PathFigure();//画第一条直线 myPathFigure.StartPoint = new Point(0, 0); LineSegment myLineSegment = new LineSegment(); myLineSe 阅读全文
posted @ 2021-07-22 10:25 奇迹之耀 阅读(1026) 评论(0) 推荐(0) 编辑
摘要: var server = new LocalPrintServer(); var queues = server.GetPrintQueues(); //通过以上这种方式并不能获取到网络共享打印机,在进行尝试后使用以下方式成功获取 var allQueueList = GetPrintersWinS 阅读全文
posted @ 2021-07-15 19:15 奇迹之耀 阅读(558) 评论(0) 推荐(0) 编辑
摘要: 进入域名解析界面 第一步,将域名解析至80端口,主机记录写www,记录值填写服务器ip 第二步,创建二级域名,使用隐形url方式指向其他端口,主机记录写二级域名的前缀,记录值写域名+端口号 阅读全文
posted @ 2021-07-08 10:57 奇迹之耀 阅读(784) 评论(0) 推荐(0) 编辑
摘要: 整理了一下添加文本和图片等方法 创建PDF文档 //路径 string fileName = AppDomain.CurrentDomain.BaseDirectory + "/test.pdf"; //文档大小 Document document = new Document(PageSize.A 阅读全文
posted @ 2021-06-29 17:28 奇迹之耀 阅读(588) 评论(0) 推荐(0) 编辑
上一页 1 ··· 9 10 11 12 13 14 15 下一页