WPF—VisualStateManager使用技巧
WPF—VisualStateManager使用技巧https://msdn.microsoft.com/zh-cn/library/aa970773.aspx
StringFormat-使用技巧
Label12345678<Label Content="{Binding Model.Progress,Mode=OneWay}" ContentStringFormat="aasdf{0:P}asdfasdf"/>--><!--<TextBlock Text="{Binding Model.MyProperty, StringFormat={}{0:F4}}"/><TextBlock Text="{Binding Model.MyProperty, StringFormat={}{0:P1}}" /><Label> <Label.Content> <Binding Path="Model.Progress" StringFo...
控件绑定——PART_ConntentHost
12345<ScrollViewer x:Name="PART_ContentHost" Grid.Column="1" Focusable="false" HorizontalScrollBarVisibility="Hidden" VerticalScrollBarVisibility="Hidden" VerticalAlignment="Center" MinHeight="20"/>
Windows 常用命令:网络与进程
本文汇总了 Windows 常用的网络命令和进程管理命令。 📶 无线网络查看无线网络配置1netsh wlan show profile 查看指定无线网络的密码1netsh wlan show profile name="无线网络名称" key=clear 将 无线网络名称 替换为实际的 WiFi 名称 🌐 公网 IP获取公网 IP 地址1curl ipv4.icanhazip.com 1curl httpbin.org/ip 1curl ipconfig.io 🔌 端口管理查看所有正在运行的端口1netstat -ano 查看指定端口1netstat -ano | findstr "端口号" 例如:netstat -ano | findstr 8080 根据端口号查找进程 PID1tasklist | findstr "端口号" ⚙️ 进程管理查看所有运行中的任务1tasklist 根据 PID 结束进程1taskkill /F /PID "进程PID" 根据进程名结...
怎么让IDEA启动项目的多个微服务模块时在services窗口界面中显示模块名称和端口号
怎么让IDEA启动项目的多个微服务模块时在services窗口界面中显示模块名称和端口号一 、在workspace.xml文件中增加/替换RunDashboard1234567891011121314151617<component name="RunDashboard"> <option name="configurationTypes"> <set> <option value="SpringBootApplicationConfigurationType" /> </set> </option> <option name="ruleStates"> <list> <RuleState> <option name="name" value="Config...
错误 找不到或无法加载主类
错误 找不到或无法加载主类先执行maven Lifecycle package操作,再运行即可解决
pom.xml横线
pom.xml横线file >>> settings >>> Build,Execution,Deployment >>> Build Tools >>> Maven >>> Ignored Files 右边带勾的取消,然后应用即可!
Nacos安装指南
Nacos安装指南1.Windows安装开发阶段采用单机安装即可。 1.1.下载安装包在Nacos的GitHub页面,提供有下载链接,可以下载编译好的Nacos服务端或者源代码: GitHub主页:https://github.com/alibaba/nacos GitHub的Release下载页:https://github.com/alibaba/nacos/releases 如图: 采用1.4.1.版本的Nacos windows版本使用nacos-server-1.4.1.zip包即可。 1.2.解压将这个包解压到任意非中文目录下,如图: 目录说明: bin:启动脚本 conf:配置文件 1.3.端口配置Nacos的默认端口是8848,如果你电脑上的其它进程占用了8848端口,请先尝试关闭该进程。 如果无法关闭占用8848端口的进程,也可以进入nacos的conf目录,修改配置文件中的端口: 修改其中的内容: 1.4.启动启动非常简单,进入bin目录,结构如下: 然后执行命令即可: windows命令: 1startup.cmd -m standalon...
Intellij IDEA 注释模板
1、设置类注释模板这样在定义类时,都要多输入类的描述。不想的话,可以删去 ${description} 2、方法注释模板先新建模板组,名字自己起。 然后选中自己的模板组,在模板组下新建模板 如下图给模板设置信息 1、设置模板名称,建议不要换,就是 * 号 2、模板描述,可以没有 3、模板,注意开头是没有 /* 的 1234567* *功能描述 * @author qqg * @date $date$ * @param $params$ * @return $return$ */ 4、添加模板生成的地方,点开选择java或者全部都可以 5、设置模板快捷键,我设置为回车 6、编辑模板中的参数 7、点apply完成 8、用法:跟原来的一样: /** + 回车 即可,这就是我为什么取名为 * 的好处。
WPF事件绑定:Interactivity
xmlns:i=”clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity” 12345678910<i:Interaction.Triggers> <i:EventTrigger EventName="LostFocus"> <i:InvokeCommandAction Command="{Binding RelativeSource={RelativeSource AncestorType=Window},Path=DataContext.OnTextLostFocus}" CommandParameter="{Binding RelativeSource={RelativeSource Mode=FindAncestor,...








