摘要: Application应用框架思考(三) 之[插件机制] /// <summary> /// 单例类 /// //为子功能提供主框架信息接口 类 /// </summary> public class ApplicationProvider : IApplicationProvider, IConnectable { public ApplicationProvider() { } private static ApplicationProvider instance = new Applicat... 阅读全文
posted @ 2009-04-17 22:06 sqlite例子 阅读(169) 评论(0) 推荐(0)
摘要: Application应用框架思考(二) 之[数据访问层]public interface IDataAccessLayer { void BeginTransaction(); void Close(); void CommitTransaction(); string ConnectionString { get; set; } void Dispose(); void Execute(); System.Data.IDataReader ExecuteDataReader(string... 阅读全文
posted @ 2009-04-14 23:19 sqlite例子 阅读(146) 评论(0) 推荐(0)
摘要: Application应用框架思考(一) /// <summary> /// 应用程序的框架管理类 /// </summary> public interface IApplication : IServiceContainer { /// <summary> /// //数据访问服务层 /// </summary> DataAccessLayerBaseClass DataLayer { get; } /// <summary> /// //用户登陆服务 /// <... 阅读全文
posted @ 2009-04-09 20:08 sqlite例子 阅读(133) 评论(0) 推荐(0)
摘要: OutLookQQ风格控件C#示例public partial class OutLookExUI : UserControl { public InnerOutLookTreeClass OutLookTree = new InnerOutLookTreeClass(); public Panel MainPanel = new Panel(); public OutLookExUI() { InitializeComponent(); this.MainPanel.Visible = ... 阅读全文
posted @ 2009-04-09 19:55 sqlite例子 阅读(239) 评论(0) 推荐(0)
摘要: 台式电脑配置CPU: AMD 9650 四核主板: AMD Epox790 GTR显卡:篮宝石 4850 512M DDRIII内存:金邦 2G DDRII800 X 2硬盘:WD 640G 西部数据机箱: ATX+航嘉 多核350W显示器:22'液晶LG2253TQ键盘/鼠标: 微软键盘/鼠标 时间:2009-03-08 价格:5340元人民币贵否? 阅读全文
posted @ 2009-03-09 20:39 sqlite例子 阅读(98) 评论(0) 推荐(0)
摘要: //TCP传输一例namespace QQ_HSG{ using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.Net.Sockets; using System.Net; using System.Threading; usi... 阅读全文
posted @ 2009-03-08 22:44 sqlite例子 阅读(277) 评论(0) 推荐(0)
摘要: Visual C++ .Net 接口定义 实例// Com.Xp.Geometry.h#pragma once //编译一次 // compile with: /clrusing namespace System;namespace Com {namespace Xp {namespace Geometry { #ifndef Const_PI_H #define Const_PI_H const double PI=3.141592654; const double e=2.718; #endif public en... 阅读全文
posted @ 2009-02-06 22:29 sqlite例子 阅读(207) 评论(0) 推荐(0)
摘要: class Program { static void Main(string[] args) { DateTime StartDt = System.DateTime.Now; QueListClass QueList1 = new QueListClass(); QueListClass QueList2 = new QueListClass(); //启动线程 QueList1.StartRun(); QueList2.St... 阅读全文
posted @ 2009-01-17 20:02 sqlite例子 阅读(216) 评论(0) 推荐(0)
摘要: #include "stdafx.h"#include "PolygonInterMul.h"using namespace System;using namespace System::Windows::Forms;//实现类Sales_Item//构造函数PolygonInterMul::PolygonInterMul(){ this->Nums=0;}//析构函数PolygonInterMul::~PolygonInterMul(){}//求向量 p1->p2Vertex PolygonInterMul::getVertex(Top_P 阅读全文
posted @ 2009-01-16 00:18 sqlite例子 阅读(430) 评论(0) 推荐(0)
摘要: //#include "PolygonInterMul.h"#pragma once //编译一次#ifndef Const_PI_H #define Const_PI_H const double PI=3.141592654; const double e=2.718;#endif#ifndef PolygonInterMul_H #define PolygonInterMul_H //顶点对象 public struct Top_Point { void set(double x,double y,double z) { this->X ... 阅读全文
posted @ 2009-01-16 00:14 sqlite例子 阅读(327) 评论(0) 推荐(0)