public GtalkCommunication(MainWindow _mw, ChatWindows _cw) { cm = ContactManager.getInstance(); xmppCon = new XmppClientConnection(); mW = _mw; cW = _cw; }
public MainWindow() { InitializeComponent(); cm = ContactManager.getInstance(); c = new ChatWindows(); gC = new GtalkCommunication(this,c); c.SetGC(gC); email.Text = (string)Settings.Default["email"]; password.Password = (string)Settings.Default["password"]; }