<?xml version="1.0" encoding="utf-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><title>柠檬小张</title><link>http://zxmcloud.com/</link><description>心得成果分享|zxmcloud.com</description><item><title>GridControl的一列中显示图片</title><link>http://zxmcloud.com/?id=94</link><description>&lt;p&gt;设置标题FieldName设为 Photo&lt;/p&gt;&lt;p&gt;ColumnEdit设为RepositoryItemPictureEdit类&lt;/p&gt;&lt;p&gt;UnboundType设为 UnboundColumnType.Object&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;http://zxmcloud.com/zb_users/upload/2025/03/202503241742792606105512.png&quot; alt=&quot;image.png&quot;/&gt;&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;http://zxmcloud.com/zb_users/upload/2025/03/202503241742792639826934.png&quot; alt=&quot;image.png&quot;/&gt;&lt;/p&gt;&lt;p&gt;代码&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;private void gridView1_CustomUnboundColumnData(object sender, DevExpress.XtraGrid.Views.Base.CustomColumnDataEventArgs e)&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (e.Column.FieldName == &amp;quot;Photo&amp;quot; &amp;amp;&amp;amp; e.IsGetData)&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //RefImage是存储图片路径的那一列&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; string filePath = (string)((DataRowView)e.Row)[&amp;quot;图片地址&amp;quot;];&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Image img = null;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; try&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //判断图片路径是否为网络路径&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (PublicGetConnect.UrlDiscern(filePath)==true)&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //文件是否存在&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (PublicGetConnect.RemoteFileExists(filePath))&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //读取文件&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; using (WebClient wc = new WebClient())&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; img = new Bitmap(wc.OpenRead(filePath));&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // 判断本地文件是否存在&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else if (PublicGetConnect.LocalFileExists(filePath))&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //加载本地图片&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; img = Image.FromFile(filePath);&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //pictureEdit列绑定图片&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; e.Value = img;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; catch (Exception ex)&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; MessageBox.Show(ex.ToString());&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Mon, 24 Mar 2025 13:03:19 +0800</pubDate></item><item><title>设置GridControl显示行号</title><link>http://zxmcloud.com/?id=93</link><description>&lt;p&gt;&amp;nbsp;1.设置this.gridView.IndicatorWidth = 30;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;//设置显示行号的列宽&lt;/p&gt;&lt;p&gt;2.代码&lt;/p&gt;&lt;p&gt;private void gridView1_CustomDrawRowIndicator(object sender, DevExpress.XtraGrid.Views.Grid.RowIndicatorCustomDrawEventArgs e)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (e.Info.IsRowIndicator &amp;amp;&amp;amp; e.RowHandle &amp;gt;= 0)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; e.Info.DisplayText = (e.RowHandle + 1).ToString();&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;http://zxmcloud.com/zb_users/upload/2025/03/202503231742734307749131.png&quot; alt=&quot;image.png&quot;/&gt;&lt;/p&gt;</description><pubDate>Sun, 23 Mar 2025 20:44:45 +0800</pubDate></item><item><title>一个简单的库存系统，基于c#</title><link>http://zxmcloud.com/?id=92</link><description>&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;由于自己工作需要，搞了一个简单的库存系统，基于c#和sql，方便管理手里的零件，系统大体有材料管理，入库和出库明细，实时数据查看等，对于超下限的材料会进行标红处理，提示要进行采购了。&lt;/p&gt;&lt;p&gt;下面是系统主页面&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;http://zxmcloud.com/zb_users/upload/2025/01/202501071736252269222439.png&quot; alt=&quot;image.png&quot;/&gt;&lt;/p&gt;&lt;p&gt;增加材料页面&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;http://zxmcloud.com/zb_users/upload/2025/01/202501071736252049545573.png&quot; alt=&quot;image.png&quot;/&gt;&lt;/p&gt;&lt;p&gt;出入库操作&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;http://zxmcloud.com/zb_users/upload/2025/01/202501071736252107686287.png&quot; alt=&quot;image.png&quot;/&gt;&lt;/p&gt;&lt;p&gt;材料明细&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;http://zxmcloud.com/zb_users/upload/2025/01/202501071736252193508386.png&quot; alt=&quot;image.png&quot;/&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Tue, 07 Jan 2025 20:09:55 +0800</pubDate></item><item><title>c#窗体最小化托盘显示</title><link>http://zxmcloud.com/?id=91</link><description>&lt;p&gt;首先设置窗体属性ShowInTaskbar为False&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;http://zxmcloud.com/zb_users/upload/2024/10/202410301730290310119625.png&quot; alt=&quot;image.png&quot;/&gt;&lt;/p&gt;&lt;p&gt;然后在窗体上添加notifyIcon控件并设置Icon属性&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;http://zxmcloud.com/zb_users/upload/2024/10/202410301730290440739907.png&quot; alt=&quot;image.png&quot;/&gt;&lt;/p&gt;&lt;p&gt;然后添加代码&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: wrap;&quot;&gt;1.主窗体的SizeChanged事件&lt;/span&gt;&lt;/p&gt;&lt;p&gt;// 窗口最小化事件&lt;/p&gt;&lt;p&gt;if (this.WindowState == FormWindowState.Minimized &amp;amp;&amp;amp; this.notifyIcon1.Visible == false)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// 隐藏任务栏上的窗体&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;this.ShowInTaskbar = false;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// 显示托盘图标&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;this.notifyIcon1.Visible = true;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// 托盘图标的提示信息&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;this.notifyIcon1.ShowBalloonTip(1000, &amp;quot;提示&amp;quot;, &amp;quot;文件监测中&amp;quot;, ToolTipIcon.Info);&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/p&gt;&lt;p&gt;2.notifyIcon的MouseDoubleClick事件&lt;/p&gt;&lt;p&gt;if (this.WindowState == FormWindowState.Minimized &amp;amp;&amp;amp; this.notifyIcon1.Visible == true)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;this.Show();&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;this.WindowState = FormWindowState.Normal;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;this.notifyIcon1.Visible = false;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;this.ShowInTaskbar = true;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/p&gt;&lt;p&gt;&lt;/p&gt;</description><pubDate>Wed, 30 Oct 2024 20:07:13 +0800</pubDate></item><item><title>SqlServer设置特定用户操作特定表</title><link>http://zxmcloud.com/?id=90</link><description>&lt;p&gt;首先选择安全性-登录名-新建登录名选项&lt;/p&gt;&lt;p&gt;在【常规】里创建个登录名，设置密码，取消强制实施密码策略，选择默认数据库&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;http://zxmcloud.com/zb_users/upload/2024/08/202408181723981807461926.png&quot; alt=&quot;image.png&quot;/&gt;&lt;/p&gt;&lt;p&gt;在【用户映射】勾选所需数据库，并设置默认架构&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;http://zxmcloud.com/zb_users/upload/2024/08/202408181723982090903052.png&quot; alt=&quot;image.png&quot;/&gt;&lt;/p&gt;&lt;p&gt;然后对表进行权限设置，将插入、删除、更新、选择权限赋给用户【cw】&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;http://zxmcloud.com/zb_users/upload/2024/08/202408181723982241227250.png&quot; alt=&quot;image.png&quot;/&gt;&lt;/p&gt;&lt;p&gt;然后再用cw登录数据库就只能看到SAPData表了&lt;/p&gt;</description><pubDate>Sun, 18 Aug 2024 19:46:15 +0800</pubDate></item><item><title>barManager的常用设置</title><link>http://zxmcloud.com/?id=89</link><description>&lt;p&gt;没加入参数，直接运行时这个样子的&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;http://zxmcloud.com/zb_users/upload/2024/08/202408161723823714343016.png&quot; alt=&quot;1723823708633.png&quot;/&gt;&lt;/p&gt;&lt;p&gt;加入下方代码的结果后&lt;/p&gt;&lt;p&gt;this.barManager1.AllowMoveBarOnToolbar = false; //是否允许在工具栏上移动&lt;/p&gt;&lt;p&gt;this.barManager1.AllowQuickCustomization = false; //是否允许快速自定义&lt;/p&gt;&lt;p&gt;this.barManager1.AllowShowToolbarsPopup = false;&amp;nbsp; //是否允许显示工具栏弹出菜单&lt;/p&gt;&lt;p&gt;this.bar2.OptionsBar.DrawDragBorder = false; //禁止拖动&lt;/p&gt;&lt;p&gt;this.bar2.OptionsBar.UseWholeRow = true;//是否允许bar填充整行&lt;/p&gt;&lt;p&gt;this.bar1.OptionsBar.DrawDragBorder = false;&lt;/p&gt;&lt;p&gt;this.bar1.OptionsBar.UseWholeRow = true;&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;http://zxmcloud.com/zb_users/upload/2024/08/202408161723823846111081.png&quot; alt=&quot;image.png&quot;/&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Fri, 16 Aug 2024 23:54:20 +0800</pubDate></item><item><title>电脑弹窗&amp;quot;当前客户端版本过低,请前往应用商店升级到最新版本客户端后再登录&amp;quot;问题解决</title><link>http://zxmcloud.com/?id=88</link><description>&lt;p&gt;现在发现低版本的微信客户端已经无法进行登录了，估计企鹅又做了限制，会有弹窗提示“当前客户端版本过低,请前往应用商店升级到最新版本客户端后再登录”&lt;br/&gt;&lt;/p&gt;&lt;p&gt;解决这个问题，网上也有很多方法，我试了这个，是管用的&lt;br/&gt;&lt;/p&gt;&lt;p&gt;首先要安装cheat Engine，如果没有，下载链接如下：&lt;/p&gt;&lt;p&gt;链接: https://pan.baidu.com/s/1f9MJY5cE0ARVFIKsj2j-6Q?pwd=ihbb 提取码: ihbb&amp;nbsp;&lt;/p&gt;&lt;p&gt;然后打开微信客户端，不登录&lt;br/&gt;&lt;/p&gt;&lt;p&gt;再打开安装的程序&lt;/p&gt;&lt;p&gt;然后选择对应的客户端进程&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;http://zxmcloud.com/zb_users/upload/2024/07/202407011719839141605611.png&quot; alt=&quot;zl_2024-07-01_21-05-31.png&quot;/&gt;&lt;/p&gt;&lt;p&gt;打开以后，在Hex位置打勾，在value框内输入当前微信客户端的版本，版本转换见地址：&lt;a href=&quot;https://jsrun.net/fKDKp&quot; target=&quot;_blank&quot;&gt;微信版本转换&lt;/a&gt;，填入后，在点击上方的First Scan&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;http://zxmcloud.com/zb_users/upload/2024/07/202407011719839368882825.png&quot; alt=&quot;zl_2024-07-01_21-08-56.png&quot;/&gt;&lt;/p&gt;&lt;p&gt;点First Scan后正常会在左侧列表出现相应内容，全部选中左侧列表内绿色的选项，点击右键，选第一个&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;http://zxmcloud.com/zb_users/upload/2024/07/202407011719839609872340.png&quot; alt=&quot;zl_2024-07-01_21-12-29.png&quot;/&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;http://zxmcloud.com/zb_users/upload/2024/07/202407011719839761742831.png&quot; alt=&quot;zl_2024-07-01_21-15-51.png&quot;/&gt;&lt;/p&gt;&lt;p&gt;然后在下方的列表里出现的项目将value值更改，右键change record-value，将值改为要伪装的微信版本，具体的转换上面已经说了，然后修改为后登录就不会提示了&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;http://zxmcloud.com/zb_users/upload/2024/07/202407011719839922290126.png&quot; alt=&quot;zl_2024-07-01_21-17-45.png&quot;/&gt;&lt;/p&gt;</description><pubDate>Mon, 01 Jul 2024 20:46:08 +0800</pubDate></item><item><title>SQL SERVER 数据库的备份</title><link>http://zxmcloud.com/?id=87</link><description>&lt;p&gt;&lt;span style=&quot;text-wrap: wrap;&quot;&gt;首先启动SQL server代理&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;http://zxmcloud.com/zb_users/upload/2024/03/202403231711188839250144.png&quot; alt=&quot;image.png&quot;/&gt;&lt;/p&gt;&lt;p&gt;然后选择管理-维护计划-维护计划向导&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;http://zxmcloud.com/zb_users/upload/2024/03/202403231711189218190537.png&quot; alt=&quot;image.png&quot;/&gt;&lt;/p&gt;&lt;p&gt;先起个名&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;http://zxmcloud.com/zb_users/upload/2024/03/202403231711189398295533.png&quot; alt=&quot;image.png&quot;/&gt;&lt;/p&gt;&lt;p&gt;然后选择计划任务&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;http://zxmcloud.com/zb_users/upload/2024/03/202403231711189380172540.png&quot; alt=&quot;image.png&quot;/&gt;&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;http://zxmcloud.com/zb_users/upload/2024/03/202403231711189880130147.png&quot; alt=&quot;image.png&quot;/&gt;&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;http://zxmcloud.com/zb_users/upload/2024/03/202403231711189894335503.png&quot; alt=&quot;image.png&quot;/&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Sat, 23 Mar 2024 18:11:33 +0800</pubDate></item><item><title>C＃让文本框输入的小写字母自动转为大写</title><link>http://zxmcloud.com/?id=86</link><description>&lt;p&gt;在textedit属性中的Charactercasing属性，设置为Upper，就是直接大写&lt;/p&gt;&lt;p&gt;设为Lower就是小写&lt;/p&gt;</description><pubDate>Tue, 19 Mar 2024 12:13:22 +0800</pubDate></item><item><title>DateEdit滚轮调整日期</title><link>http://zxmcloud.com/?id=85</link><description>&lt;p&gt;设置控件属性即可&lt;/p&gt;&lt;p&gt;EditValueChangedFiringMode=Buffered&lt;/p&gt;&lt;p&gt;鼠标滚轮编辑，实时触发事件&lt;/p&gt;</description><pubDate>Mon, 18 Mar 2024 12:55:10 +0800</pubDate></item></channel></rss>