コード例 #1
0
ファイル: ChatSession.cs プロジェクト: charuwat/code
 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
ファイル: ProcessCommand.cs プロジェクト: charuwat/code
 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
ファイル: frm_eXsistant.cs プロジェクト: charuwat/code
 private void Reset()
 {
     Account = Settings1.Default.Account;
     Password = Settings1.Default.Password;
     msn = new MSN(Account, Password, this);
     msn.SignIn();
 }
コード例 #4
0
ファイル: frm_Settings.cs プロジェクト: charuwat/code
 public frm_Settings(MSN msn,frm_eXsistant frm_main)
 {
     InitializeComponent();
     this.msn = msn;
     this.frm_main = frm_main;
 }