首页 > Windows开发
window.open()方法用于子窗口数据回调至父窗口,即子窗口操作父窗口
window.open()方法用于子窗口数据回调至父窗口,即子窗口操作父窗口 项目中经常遇到一个业务逻辑:在A窗口中打开B窗口,在B窗口中操作完以后关闭B窗口,同时自动刷新A窗口(或局部更新A窗口)(或将数据传回A窗口) 以下是从实际项目中截取出来和window.open()方法相关的代码,业务逻辑 ...
分类:Windows开发   时间:2017-08-28 15:09:51    收藏:0  评论:0  赞:0  阅读:597
有关 Windows 10 中“适用于 Linux 的 Windows 子系统(Beta)”
1、如何启用?(未来应该可从应用商店中直接安装) 在“控制面板”的“启用或关闭 Windows 功能”中进行勾选安装。(安装完成后需要重新启动) 2、然后呢? 然后打开“命令提示符”或“PowerShell”输入 bash 命令,会提示需要确认接受条款,按 y 接受。 唔,这里会出一些问题,可能因为... ...
分类:Windows开发   时间:2017-08-28 15:05:37    收藏:0  评论:0  赞:0  阅读:541
windows文件映射
0x01 使用文件映射实现共享内存。 用内存映射文件实现进程间的通讯:Windows中的内存映射文件的机制为我们高效地操作文件提供了一种途径,它允许我们在进程中保留一段内存区域,把硬盘或页文件上的目标文件映射到这段虚拟内存中。注意:在程序实现中必须考虑各进程之间的同步问题。 FileMapping用 ...
分类:Windows开发   时间:2017-08-28 14:55:57    收藏:0  评论:0  赞:0  阅读:690
delphi project of object
http://www.cnblogs.com/ywangzi/archive/2012/08/28/2659811.html 其实要了解这些东西,适当的学些反汇编,WINDOWS内存管理机制,PE结构,看下李维的VCL架构剖析可以很好理解type TMyEvent = procedure of ob ...
分类:Windows开发   时间:2017-08-28 09:19:32    收藏:0  评论:0  赞:0  阅读:352
WindowsDC
1、Window中,画图工具,最重要的一个东西:设备句柄。 2、Device Context--设备上下文,习惯叫设备句柄(代表一个画图工具),并且提供一套统一的接口,将硬件底层的差别隐藏起来, 3、好处:编程简单化、移植性。 4、CClientDC:客户区设备句柄。 5、CPaintDC:这个设备 ...
分类:Windows开发   时间:2017-08-28 09:16:43    收藏:0  评论:0  赞:0  阅读:342
windows下用mingw编译linux项目
1.下载安装mingw32 2.将mingw下bin和msys\1.0下bin设置为系统path 3.启动msys.bat 4.cd到项目目录 5.输入./configure 6.输入make 7.输入make install 8.cd C:\MinGW\msys\1.0\local\lib 9.a ...
分类:Windows开发   时间:2017-08-27 17:54:52    收藏:0  评论:0  赞:0  阅读:330
c#Attribute的使用
好文 连接: http://www.manew.com/thread-34773-1-1.html ...
分类:Windows开发   时间:2017-08-27 17:42:26    收藏:0  评论:0  赞:0  阅读:279
C# 实例练习(第二天)
实例练习 1. 完成简单登录效果,设置用户登录账号密码,清空控制台,进入登录页面,请求用户输入账号、密码和验证码(随机产生),并判断用户输入的信息,给出相应的提示。 C#代码如下: 主要知识点: 2. 用户输入三条边长,判断能否组成三角形,并判断可以组成什么样的三角形。 代码如下: 3. 提示用户输 ...
分类:Windows开发   时间:2017-08-27 17:35:00    收藏:0  评论:0  赞:0  阅读:339
jquery $(document).ready() 与window.onload的区别
转载自http://www.jb51.net/article/21628.htm 1.执行时间 window.onload必须等到页面内包括图片的所有元素加载完毕后才能执行。 $(document).ready()是DOM结构绘制完毕后就执行,不必等到加载完毕。 2.编写个数不同 window.on ...
分类:Windows开发   时间:2017-08-27 16:58:04    收藏:0  评论:0  赞:0  阅读:243
win10下设置IIS、安装php7.2
开启IIS及相关功能: 控制面板——程序和功能——启用或关闭Windows功能——勾选Internet Information Service——万维网服务——性能和功能——勾选CGI 开启成功后在 计算机管理——服务和引用程序 下会有IIS管理器 安装配置php: 官网下载php,none thr ...
分类:Windows开发   时间:2017-08-27 16:41:14    收藏:0  评论:0  赞:0  阅读:283
【C#学习笔记】类构造函数使用
using System; namespace ConsoleApplication { class stu { private string name; private int age; public stu() { name = ""; age = -1; ... ...
分类:Windows开发   时间:2017-08-27 16:04:11    收藏:0  评论:0  赞:0  阅读:287
【C#学习笔记】播放wma/mp3文件
using System; using System.Runtime.InteropServices; namespace ConsoleApplication { class Program { [DllImport("winmm.dll")] public static extern uint ... ...
分类:Windows开发   时间:2017-08-27 16:02:46    收藏:0  评论:0  赞:0  阅读:431
【C#学习笔记】保存文件
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.... ...
分类:Windows开发   时间:2017-08-27 16:02:31    收藏:0  评论:0  赞:0  阅读:252
【C#学习笔记】载入图片并居中
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.... ...
分类:Windows开发   时间:2017-08-27 16:02:11    收藏:0  评论:0  赞:0  阅读:298
【C#学习笔记】获取当前应用程序所在路径及环境变量
转自:http://www.cnblogs.com/netlyf/archive/2011/06/22/2086718.html 一、获取当前文件的路径 string str1=Process.GetCurrentProcess().MainModule.FileName;//可获得当前执行的exe ...
分类:Windows开发   时间:2017-08-27 16:01:04    收藏:0  评论:0  赞:0  阅读:315
【C#学习笔记】浏览目录得到路径
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.... ...
分类:Windows开发   时间:2017-08-27 16:00:29    收藏:0  评论:0  赞:0  阅读:230
【C#学习笔记】函数调用
using System; namespace ConsoleApplication { class Program { static int Add(int a, int b) { return a + b; } static void Main(string[] args) ... ...
分类:Windows开发   时间:2017-08-27 16:00:04    收藏:0  评论:0  赞:0  阅读:229
【C#学习笔记】smtp发邮件
using System; using System.Net; using System.Net.Mail; using System.Text; namespace ConsoleApplication { class Program { static void Main(string[] arg... ...
分类:Windows开发   时间:2017-08-27 15:57:54    收藏:0  评论:0  赞:0  阅读:215
【C#学习笔记】检测进程是否存在并关闭
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.... ...
分类:Windows开发   时间:2017-08-27 15:57:24    收藏:0  评论:0  赞:0  阅读:360
【C#学习笔记】鼠标控制
using System; using System.Runtime.InteropServices; using System.Windows.Forms; namespace ConsoleApplication1 { class Program { public struct POINT { ... ...
分类:Windows开发   时间:2017-08-27 15:57:04    收藏:0  评论:0  赞:0  阅读:288
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!