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; }
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; }
private void Reset() { Account = Settings1.Default.Account; Password = Settings1.Default.Password; msn = new MSN(Account, Password, this); msn.SignIn(); }
public frm_Settings(MSN msn,frm_eXsistant frm_main) { InitializeComponent(); this.msn = msn; this.frm_main = frm_main; }