清除浮动 解决外边距塌陷问题
1234567891011121314/* .clearfix::before 作用:解决外边距塌陷问题 外边距塌陷:父子标签,都是块级,子级加margin会影响父级的位置*//* 清除浮动 */.clearfix::before,.clearfix::after{ content: ''; display: table;}/* 真正清除浮动的标签 */.clearfix::after{ clear: both;}
WPF—DataGrid样式
WPF—DataGrid样式123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354<Style TargetType="{x:Type DataGridRowHeader}"> <Setter Property="Template" Value="{x:Null}"/></Style><Style TargetType="{x:Type DataGridColumnHeader}"> <Setter Property="FontWeight" Value="Bold"/> <!--<Setter Property="BorderThickness" Va...
WPF界面配置CommandBinding
WPF界面配置CommandBindingTextBox12345678<TextBox Text="{Binding LoginModel.UserNameUpdateSourceTrigger=PropertyChanged}" FontSize="16" Foreground="#555" Template="{UserNameTextBoxTemplate}" Name="txtUserName"> <TextBox.InputBindings> <KeyBinding Key="Enter" Command="{Binding LoginCommand}" CommandParameter="{Binding ElementName=window}...
KeyBinding-使用技巧
KeyBinding-使用技巧TextBox12345678<TextBox Text="{Binding LoginModel.UserNameUpdateSourceTrigger=PropertyChanged}" FontSize="16" Foreground="#555" Template="{UserNameTextBoxTemplate}" Name="txtUserName"> <TextBox.InputBindings> <KeyBinding Key="Enter" Command="{Binding LoginCommand}" CommandParameter="{Binding ElementName=window}"...
npm安装与配置
配置npm在安装全局模块时的路径和缓存cache的路径123npm config set prefix "D:\Program Files\nodejs\node_global"npm config set cache "D:\Program Files\nodejs\node_cache" 此操作会在 ~ 目录下生成 .npmrc
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...













