示例#1
0
 static void Main(string[] args)
 {
     Server NetObj = null;
     Console.WriteLine(Server.GetIP());
     NetObj = new Server();
     NetObj.Create();
     NetObj.Traversal = RecieveData;
 }
        public MainForm()
        {
            mClassList = new Dictionary<string, Student>();
            mGroupList = new Dictionary<int, Group>();
            mListWildCard = new List<Student>();
            mListProgrammers = new List<Student>();
            mListArtists = new List<Student>();
            mListDesigners = new List<Student>();
            mNumberOfStudents = 0;
            mNumberOfGroups = 0;
            mExtraStudents = 0;
            mGroupSize = 0;
            mGroupSizeSet = false;
            mVoteServer = new Server();
            mMrRandom = new Random();

            mDelegateFillGroup = FillSecondary;

            InitializeComponent();
        }