随笔分类 - Question & Solution List
摘要:C:\Program Files\Microsoft SDKs\Windows\v7.0A\Bootstrapper\Packages
阅读全文
摘要://每個中文字後會連著一到兩個多餘字元 private void btnFix_Click(object sender, EventArgs e) { //取得剪貼簿內容 IDataObject dataObject = Clipboard.GetDataObject(); ...
阅读全文
摘要:可以用Control.MousePosition获得当前鼠标的坐标,使用PointToClient计算鼠标相对于某个控件的坐标,如下 Point screenPoint = Control.MousePosition;//鼠标相对于屏幕左上角的坐标 Point formPoint = this.PointToClient(Control.MousePosition);//鼠标相对于窗体左上角的坐标...
阅读全文
摘要:设计模式下如果在控件的Load事件或构造函数中写入代码,并且这些代码的执行依赖运行时环境时,会出现这种问题。解决方法是判断在执行这些代码前检查控件的“DesignMode”属性的值。
阅读全文
摘要:ISchedulerFactory schedFactory = new StdSchedulerFactory();sched = schedFactory.GetScheduler();//读取配置文件中配置的Job和Trigger信息到Scheduler中JobSchedulingDataProcessor processor = new JobSchedulingDataProcessor...
阅读全文
摘要:读取: 保存:Configurationconfig = CurrentDllConfiguration; config.Save(); DllConfigFilePath定义:private static stringDllConfigFilePath { ...
阅读全文

浙公网安备 33010602011771号