public PrivateWindow(string chatPartner)
 {
     InitializeComponent();
     txtLog.Document.Blocks.Clear();
     this.chatPartner = chatPartner;
     this.Title = "Privater Chat mit " + chatPartner;
     addSmileyWindow = new AddSmileyWindow(this);
 }
Exemple #2
0
 public PrivateWindow(string chatPartner)
 {
     InitializeComponent();
     txtLog.Document.Blocks.Clear();
     this.chatPartner = chatPartner;
     this.Title       = "Privater Chat mit " + chatPartner;
     addSmileyWindow  = new AddSmileyWindow(this);
 }
        public Window1()
        {
            InitializeComponent();
            txtLog.Document.Blocks.Clear();
            _client = new ChatClient();
            ChatClient.StatusChanged += new StatusChangedEventHandler(mainServer_StatusChanged);

            addSmileyWindow = new AddSmileyWindow(this);
            addSmileyWindow.addSmileysToGrid(smileyClass.getAllSmileys());
        }
        public Window1()
        {
            InitializeComponent();
            txtLog.Document.Blocks.Clear();
            _client = new ChatClient();
            ChatClient.StatusChanged += new StatusChangedEventHandler(mainServer_StatusChanged);

            addSmileyWindow = new AddSmileyWindow(this);
            addSmileyWindow.addSmileysToGrid(smileyClass.getAllSmileys());
        }