Exception in thread "main" java.lang.Error: Unresolved compilation problem: Syntax error on token "}", delete this token ...
分类:
Windows开发 时间:
2021-05-13 20:28:22
收藏:
0 评论:
0 赞:
0 阅读:
27
WPF里面,DataGrid自带的选中行颜色 #FFF0F0F0 深蓝色,真的非常丑,尤其是当行高很宽的时候,见下图。 所以,忍不了必须得修改颜色。 其中一种方式如下, 1 <Style TargetType="{x:Type DataGridCell}" > 2 <Setter Property= ...
分类:
Windows开发 时间:
2021-05-13 20:20:03
收藏:
0 评论:
0 赞:
0 阅读:
24
C#中几种换行符 1.Windows 中的换行符"\r\n" 2.Unix/Linux 平台换行符是 "\n"。 3.MessageBox.Show() 的换行符为 "\n" 4.Console 的换行符为 "\n" 换行符还因平台差异而不同。 为保持平台的通用性,可以用系统默认换行符 System ...
分类:
Windows开发 时间:
2021-05-13 20:08:22
收藏:
0 评论:
0 赞:
0 阅读:
36
WMI介绍 Windows Management Instrumentation (WMI) 是基于 Windows 的操作系统上管理数据和操作的基础结构。 用户可以使用 WMI 管理本地和远程计算机。 WMI是Windows操作系统的功能,默认情况下,无须安装就可以使用。某些Provider(提供 ...
分类:
Windows开发 时间:
2021-05-13 20:00:41
收藏:
0 评论:
0 赞:
0 阅读:
17
有个需求是:监听iframe窗体中,15分钟内未操作,界面弹出功能。 Window.postMessage() MAN中有详解:https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage targetWindow.postM ...
分类:
Windows开发 时间:
2021-05-13 19:58:07
收藏:
0 评论:
0 赞:
0 阅读:
138
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Diagnostics; using System.Runtime.InteropServices; ...
分类:
Windows开发 时间:
2021-05-13 19:57:25
收藏:
0 评论:
0 赞:
0 阅读:
27
这个问题真的是头大了很久的一个问题。 场景: 本地执行 ssh-keygen -t rsa -C “邮箱”后将~/.ssh/id_rsa.pub的内容放到gerrit上,windows系统上打开git bash使用ssh的防止执行git clone ssh://xx@gerritip:29418/p ...
分类:
Windows开发 时间:
2021-05-13 19:54:25
收藏:
0 评论:
0 赞:
0 阅读:
269
1. redis 外网配置访问 bind 0.0.0.0 requirepass 123456 protected-mode no 2. 命令行 启动 redis-server.exe redis.windows.conf 查询命令行 redis-cli.exe -h 127.0.0.1 -p 63 ...
分类:
Windows开发 时间:
2021-05-13 19:42:42
收藏:
0 评论:
0 赞:
0 阅读:
32
1.打开你的窗口程序设计界面,选中窗口 2.在属性界面选择下面图的选项,输入函数名,回车 3.跳转到函数,编写函数里要执行的代码逻辑 /*关闭窗口程序时执行的代码*/ private void MyClose(object sender, FormClosedEventArgs e) { //编写要 ...
分类:
Windows开发 时间:
2021-05-13 19:41:15
收藏:
0 评论:
0 赞:
0 阅读:
10
DATA:l_physinv_head type bapi_physinv_create_head, lt_retmsg like table of bapiret2 with header line, lt_physinv_item like table of bapi_physinv_creat ...
分类:
Windows开发 时间:
2021-05-13 19:41:04
收藏:
0 评论:
0 赞:
0 阅读:
8
几种应用依赖属性的场景: 1. 希望可在样式中设置属性。 2. 希望属性支持数据绑定。 3. 希望从元素树中的父元素自动继承属性值。 几种应用附加属性的场景: 1. 希望可在样式中设置属性。 2. 希望属性支持数据绑定。 3. 希望从元素树中的父元素自动继承属性值。 4.希望可以在独立的类中定义该附 ...
分类:
Windows开发 时间:
2021-05-13 19:40:51
收藏:
0 评论:
0 赞:
0 阅读:
12
1.按Shift+F10键打开终端 2.写入diskpart命令后按回车键,进入DIsKPART工具 3.写入list disk命令后按回车键,查看电脑当前可用硬盘,编号为0、1、2……如果你只有一块硬盘,则只有0号磁盘;有两块硬盘,则还会显示1号磁盘,以此类推, 4.写入select disk x ...
分类:
Windows开发 时间:
2021-05-13 19:35:13
收藏:
0 评论:
0 赞:
0 阅读:
18
1.Swing的特点 AWT组件来源于java.awt包,当包含了AWT组件的java应用程序在不同的开发平台上执行时,每个平台的GUI组件都会显示不同,也就是风格不同,但是在不同的平台上行使Swing开发的应用程序时,则可以统一GUI组件显示的风格,应为Swing组件允许编程人员在跨平台的时候统一 ...
分类:
Windows开发 时间:
2021-05-13 19:31:02
收藏:
0 评论:
0 赞:
0 阅读:
18
win32 api出错不会有错误提示信息,所以要通过GetLastError 获取错误代码找到错误原因 MessageBox((HWND)1, 0, 0, 0); DWORD erroCode= GetLastError(); DbgPrintf("错误代码:%d\n", erroCode); 根据 ...
分类:
Windows开发 时间:
2021-05-13 19:30:54
收藏:
0 评论:
0 赞:
0 阅读:
13
解决.Net Core 3.0 WPF 无法使用 WindowsFormsHost的问题 打开项目.csproj 添加: <UseWindowsForms>true</UseWindowsForms> ...
分类:
Windows开发 时间:
2021-05-13 19:30:28
收藏:
0 评论:
0 赞:
0 阅读:
17
this.treeView.Height = (this.treeView.Height / this.treeView.ItemHeight) * this.treeView.ItemHeight + 3; ...
分类:
Windows开发 时间:
2021-05-13 19:29:12
收藏:
0 评论:
0 赞:
0 阅读:
26
字段:http://localhost:9094/#/source/source-catalog1、设置或获取整个 URL 为字符串 window.location.hrefhttp://localhost:9094/#/source/source-catalog 2、设置或获取 URL 的协议部分 ...
分类:
Windows开发 时间:
2021-05-13 13:56:33
收藏:
0 评论:
0 赞:
0 阅读:
18
QWidget* widget = new QWidget(this); QWindow* window= new QWindow(this); widget->layout()->addWidget(QWidget::createWindowContainer(window)); ...
分类:
Windows开发 时间:
2021-05-13 13:42:37
收藏:
0 评论:
0 赞:
0 阅读:
7
Cypress系列(1)-Window下安装Cypress并打开 系统要求 Cypress是一个被安装在你电脑上的桌面应用,你的操作系统需要满足如下条件才能正常安装 Mac OS 10.9+(仅提供64位二进制文件) Linux Ubuntu 12.04+, Fedora 21, Debian 8的 ...
分类:
Windows开发 时间:
2021-05-13 13:42:01
收藏:
0 评论:
0 赞:
0 阅读:
13
如图所示: 要做到这种效果,可以对TabControl的Style进行重写,上代码: 1 <Style x:Key="TabControlStyle" TargetType="{x:Type TabControl}"> 2 <Setter Property="Template"> 3 <Setter ...
分类:
Windows开发 时间:
2021-05-13 13:31:12
收藏:
0 评论:
0 赞:
0 阅读:
10