01.
My Prototype in C#//MyPrototypeusing System;using System.Collections;//abstract PageStylePrototype Class 'Prototypeabstract class PageStylePrototype{ //Fields protected string stylestring; //Properties public string...查看完整版>>
My Prototype in C#
02.
My Bridge in C#//MyBridgeusing System;//-------------------------------------------------Class Manager//parent classabstract class Manager{??? //Method:KickOut?abstract public void KickOut();};//sonclass1:FemaleMana...查看完整版>>
My Bridge in C#
03.
My Adapter in C#//MyAdapterusing System;//Class1class SimpleDrawer{ //Methods virtual public void SetColor(string name){}};//Adapter Class which enables class1 to use class2 methodsclass AssistantDrawer:SimpleDrawer{...查看完整版>>
My Adapter in C#
04.
My Singleton in C#//MySingletonusing System;//SingletonPage Classclass SingletonPage{ //Fields protected static SingletonPage checkoutpage; //Constructor is protected to ensure Singleton protected SingletonPage() { ...查看完整版>>
My Singleton in C#
05.
My Builder in C#//MyBuilderusing System;using System.Collections;///////////////////////product///////////////////////class HomePage{ //Fields private string pagetype; private string samplecode; private Hashtable par...查看完整版>>
My Builder in C#
06.
My AbstractFactory in C#//MyAbstractFactoryusing System;///////////////Basic Products//////////////// //AbstractProductsabstract class FontsStyle{ public string stylestring; };abstract class TablesStyle{ public string styles...查看完整版>>
My AbstractFactory in C#
07.
My Composite in C#//MyCompositeusing System;using System.Collections;//----------------------------------Class FileElementabstract class CFileElement{ //Fields protected string name; public CFileElement(string name) {...查看完整版>>
My Composite in C#
08.
My FactoryMethod in C#//MyFactoryMethodusing System;using System.Collections;//SinglePage class,which build the at last product,part element//----top classabstract class SinglePage{};//----element1class RegisterPage:Single...查看完整版>>
My FactoryMethod in C#
09.
IOCP Thread Pooling in C#IOCP Thread Pooling in C#By William KennedyContinuum Technology CenterIntroduction Thread pools allow our server to queue and perform work in the most efficient and scalable way possible. Without th...查看完整版>>
IOCP Thread Pooling in C#
10.
Another method to remove window"s title bar in C#Make the ControlBox property to false and Text property to String.Empty.Your window will be shown with border but no title bar. If change the BorderStyle property to None, you window will not be shown...查看完整版>>
Another method to remove window"s title bar in C#
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。