示例#1
0
 public ChatSession(Conversation conversation,frm_eXsistant frm_main, MSN msn)
 {
     conversation.Switchboard.TextMessageReceived += new TextMessageReceivedEventHandler(Switchboard_TextMessageReceived);
     conversation.Switchboard.SessionClosed += new SBChangedEventHandler(Switchboard_SessionClosed);
     conversation.Switchboard.ContactJoined += new ContactChangedEventHandler(Switchboard_ContactJoined);
     conversation.Switchboard.ContactLeft += new ContactChangedEventHandler(Switchboard_ContactLeft);
     this.conversation = conversation;
     this.frm_main = frm_main;
     this.msn = msn;
 }
示例#2
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;
 }
示例#3
0
 private void Reset()
 {
     Account = Settings1.Default.Account;
     Password = Settings1.Default.Password;
     msn = new MSN(Account, Password, this);
     msn.SignIn();
 }
示例#4
0
 public frm_Settings(MSN msn,frm_eXsistant frm_main)
 {
     InitializeComponent();
     this.msn = msn;
     this.frm_main = frm_main;
 }