Windows开发-周排行
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Window...
分类:Windows开发 时间:2014-12-10 13:56:31 收藏:0 阅读:494
Html代码Test Popup WindowLet's go!如何去得到弹出的新窗口Java代码package com.test_webdriver;import java.util.Iterator;import java.util.Set;import org.openqa.selenium....
分类:Windows开发 时间:2014-12-12 01:18:14 收藏:0 阅读:1953
用了Linux下的find命令,觉得查找文件很方便,那么在windows下有没有类似的命令可以遍历目录并通过文件名找到文件呢?答案是有:Windows下的 for /r 命令具有与Linux下 find 命令类似的功能,以下举几个常用的例子:# 将TestDir目录及所有子目录中所有的文件列举出来 C:\Users\cashey\Desktop>for /r TestDir %i in (*) do...
分类:Windows开发 时间:2015-04-11 11:49:03 收藏:0 阅读:829
原文:http://blog.csdn.net/kiss0622/article/details/58521531.父窗口代码Window1.xaml.csprivate void Button_Click(object sender, RoutedEventArgs e) { ...
分类:Windows开发 时间:2015-04-28 13:22:39 收藏:0 阅读:338
问题:在工程中引用出现感叹号原因1: 这是由于之前引用的Dll文件不见了。右键有感叹号的项,然后选择 “属性” 里边有一个路径属性这个路径就是之前这个Dll文件的路径,现在这个文件不在了,你需要找到现在这个文件的路径右键有感叹号的项,然后选择“移除”右键“引用”,选择添加引用,然后选择那个不在的dl...
分类:Windows开发 时间:2015-05-16 14:44:58 收藏:0 阅读:6066
1.WPF全局捕获异常 public partial class App : Application { public App() { // 在异常由应用程序引发但未进行处理时发生。主要指的是UI线程。 this.DispatcherUnhandledException...
分类:Windows开发 时间:2015-05-25 18:08:07 收藏:0 阅读:1573
之前做了一个使用ListBox控件动态显示人员信息并且双击修改人员基本信息的功能,示意图如下: 今天测试的时候发现只要有选中的对象,双击空白的地方也可以触发双击事件,查看代码才发现,是把事件写在ListBox上面了,所以只要双击ListBox就可以触发事件,修改代码,把事件放到DataTemP...
分类:Windows开发 时间:2015-06-24 18:04:59 收藏:0 阅读:2526
public string GetLogo() { string logo = ""; if (!File.Exists(@"C:\bitmap.bmp")) return null; BitmapData data = G...
分类:Windows开发 时间:2015-06-24 18:40:48 收藏:0 阅读:245
Firstly, open the file using Excel and then simply re-save it. Does thisclear up the problem? If so then yes, it is likely that the file does notconfo...
分类:Windows开发 时间:2015-06-25 19:01:10 收藏:0 阅读:3754
方法一:在相对应里窗体下面有个 "窗体.Designer.cs"文件,双击打开,找到相关事件,删除就行。方法二:找到构造函数,“InitializeComponent()”对着它右键,转到定义。找到相关事件,删除就行
分类:Windows开发 时间:2015-07-13 11:41:42 收藏:0 阅读:716
方法一: 修改子窗体中自动生成的Dispose方法(在Form.Designer.cs文件中) /// /// Clean up any resources being used. /// /// true if managed resou...
分类:Windows开发 时间:2015-07-21 12:04:46 收藏:0 阅读:316
父页面 父窗口 子页面 子页面 JSvar EV_MsgBox_ID = "EV_bgModeHideDiv";//重要 //弹出对话窗口(msgID-要显示的div的id) function EV_modeAlert() { ...
分类:Windows开发 时间:2015-07-23 11:51:09 收藏:0 阅读:529
无法将类型“string”隐式转换为“System.Windows.Forms.DataGridViewTextBoxColu this.Text="FormMain"; 出错。
分类:Windows开发 时间:2015-07-23 17:17:59 收藏:0 阅读:4551
Windows 10 已经不支持 aspnet_regiis -i.启动和关闭Windows功能中安装 ".NET Framework 4.6 高级服务" 即可解决。以下是借鉴别人的一张图:
分类:Windows开发 时间:2015-08-01 11:24:05 收藏:0 阅读:2752
string str = ""; for (int i = 0; i < j; i++){ str = str + "\\新建文件夹" ;}System.IO.Directory.CreateDirectory(@"F:\" + str);
分类:Windows开发 时间:2015-08-27 09:23:43 收藏:0 阅读:353
1、 OpenFileDialog openImageDialog = new OpenFileDialog(); openImageDialog.Filter = "Image Files (*.jpg;*.png)|*.jpg;*.png"; openImageDialog.Multiselec...
分类:Windows开发 时间:2015-11-26 18:52:01 收藏:0 阅读:1615
1. 最外层是Window是对象,Window的ItemsControl使用了ItemsTemplate,然后在ItemsTemplate中要绑定Language属性, 而整个Window的数据源是通过DataContext来指定的,类型是自定义的WindowViewModel, 而Languag....
分类:Windows开发 时间:2016-01-09 06:15:53 收藏:0 阅读:1405
1./// /// 获取上下文中的cookie/// /// [HttpGet][HttpPost]public string GetOne(){ //1.在WebApi中这种方式获取cookie 可以成功 //2.在WebApi 中这种凡是获取Form,QueryString 中的参数...
分类:Windows开发 时间:2016-01-22 10:50:51 收藏:0 阅读:431
摘自:http://www.cnblogs.com/starcrm/p/4837971.htmlpublic class JiraApi{private string m_Username;private string m_Password;public JiraApi(string usernam...
分类:Windows开发 时间:2016-01-26 15:18:47 收藏:0 阅读:444
new FileInfo(f).Attributes = FileAttributes.Normal; File.Delete(f);
分类:Windows开发 时间:2016-03-03 14:47:44 收藏:0 阅读:1271
125262728294851
上一页97009下一页
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!