06 2012 档案

摘要://注册非根目录下在文件 [DllImport(@"ffdshow\ffdshow.ax")] private static extern void DllRegisterServer(); DllRegisterServer(); //导入注册表 if (File.Exists(@"ffdshow\register.reg")) { Process.Start("regedit", string.Format(" /s {0}", @"ffdshow\register.reg")); } // 阅读全文
posted @ 2012-06-19 11:40 teyond 阅读(970) 评论(0) 推荐(0)
摘要:using System;using System.Collections.Generic;using System.ComponentModel;using System.Drawing;using System.Data;using System.Linq;using System.Text;using System.Windows.Forms;namespace WindowsFormsApplication1{ public partial class DrawLine : UserControl { public delegate void DrawChangeDataDelega. 阅读全文
posted @ 2012-06-09 12:42 teyond 阅读(207) 评论(0) 推荐(0)
摘要:设置this.comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;即可 阅读全文
posted @ 2012-06-09 12:39 teyond 阅读(263) 评论(0) 推荐(0)
摘要://获取系统音量 System.Speech.Synthesis.SpeechSynthesizer _S = new System.Speech.Synthesis.SpeechSynthesizer(); MessageBox.Show(_S.Volume.ToString ());//调整音量 Audio.Volume=21; 阅读全文
posted @ 2012-06-08 16:28 teyond 阅读(280) 评论(0) 推荐(0)