Exemple #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;
 }
Exemple #2
0
 private void CreateChatSession(Conversation conversation)
 {
     ChatSession chatsession = new ChatSession(conversation,frm_main,this);
 }