第一种音量调节的示例#region 音量控制 private Point
mouse_offset; private void pictureBox7_MouseDown(object sender, MouseEventArgs
e) { ...
WPF后台绘制折线,填充到一个GRID下private void
btnPreview_Click(object sender, RoutedEventArgs e) { GridImg.Children.Clear();
System.Dr...
分类:
其他好文 时间:
2014-06-12 20:08:53
阅读次数:
816
usingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Web;usingSystem.Data;usingSystem.Data.SqlClient;usingSystem.Configuration;///<summary>///DBOperate的摘要说明///</summary>publicclassDBOperate{privatestaticSqlConnectioncon=..
分类:
数据库 时间:
2014-06-10 23:15:36
阅读次数:
314
classMYLog
{
public:
~MYLog(void);
staticMYLog*Log();
boolOpenLogFile(conststring&sFilePath);
voidMessage(conststring&sFileName,conststring&sFunc,constlong&lLine,conststring&sMessage);
private:
staticMYLog*m_pInstance;
MYLog(void);
voidG..
分类:
编程语言 时间:
2014-06-10 22:30:53
阅读次数:
339
import java.io.*;class userInputIO{
//Java中成员变量有默认初始化,也就是如果不显式设置初始值的话就会被初始化为其类型的默认值(0、false、null等)。 private
BufferedReader buffered...
分类:
编程语言 时间:
2014-06-10 20:15:03
阅读次数:
250
题目 1 声明两个变量:int n1 = 10,n2=
20,要求将两个变量叫唤,最后输出n1为20,n2为10. (扩展*: 不使用第三个变量如何交换) 解决方案 基本方法 private static void
BasicMethod() { int n1 = 10; ...
分类:
其他好文 时间:
2014-06-10 19:53:33
阅读次数:
263
单件模式:
单件模式即在整个应用程序中只有一个类实例且这个实例所占资源在整个应用程序中是共享的。
单件模式的C++实现(构造函数、拷贝构造函数、赋值操作符均需重写):
#include
class CSingleton
{
private:
CSingleton()
{
std::cout<<"Singleton Constructed."<<std:...
分类:
编程语言 时间:
2014-06-10 18:22:16
阅读次数:
258
(一)
一个继承体系的声明:
class Date {...};
class Customer {
public:
...
private:
string name;
Date lastTransaction;
};
class PriorityCustomer : public Customer {
public:
PriorityCustomer(const...
分类:
编程语言 时间:
2014-06-10 17:45:35
阅读次数:
289
// requestUrl:地址?xx=xx private string
GetContentFromUrll(string requestUrl) { string _StrResponse = "";
HttpWebRequest...
分类:
其他好文 时间:
2014-06-10 16:22:14
阅读次数:
129