Пример #1
0
 //public string VisualId { get; set; }
 //public string SourceChatId { get; set; }
 public void ConnectToChatSource( RatChat.Core.IChatSource Source )
 {
     this.Source = Source;
     this.Source.OnNewMessagesArrived += Source_OnNewMessagesArrived;
     this.Source.BeginWork();
 }
Пример #2
0
        //public string VisualId { get; set; }
        //public string SourceChatId { get; set; }

        public void ConnectToChatSource(RatChat.Core.IChatSource Source)
        {
            this.Source = Source;
            this.Source.OnNewMessagesArrived += Source_OnNewMessagesArrived;
            this.Source.BeginWork();
        }
 public void ConnectToChatSource(UserControl CustomView, RatChat.Core.IChatSource Source)
 {
     this.Source        = Source;
     this.CustomContent = CustomView;
     this.Source.BeginWork();
 }
 public void ConnectToChatSource(UserControl CustomView,  RatChat.Core.IChatSource Source )
 {
     this.Source = Source;
     this.CustomContent = CustomView;
     this.Source.BeginWork();
 }