示例#1
0
 public ProcessCommand(ChatSession chatsession, MSN msn)
 {
     this.chatsession = chatsession;
     syscmd = new SysCommand(OnNotify);
     dictcmd = new DicCommand(OnNotify);
     //downloadcmd = new DownloadCommand(OnNotify);
     listdownloadcmd = new ListDownloadCommand(OnNotify);
     oilpricecmd = new OilPriceCommand(OnNotify);
     taskcmd = new TaskCommand(OnNotify);
     calendarcmd = new CalendarCommand(OnNotify);
     dircmd = new DirectoryCommand(OnNotify);
     this.msn = msn;
 }
示例#2
0
文件: MSN.cs 项目: charuwat/code
 private void CreateChatSession(Conversation conversation)
 {
     ChatSession chatsession = new ChatSession(conversation,frm_main,this);
 }