Пример #1
0
        public NoticeRecordForm(IChatRecordPersister remote, IChatRecordPersister local, Parameter <string, string> _my, Parameter <string, string> _friend)
        {
            InitializeComponent();

            this.chatBox_history.Initialize(GlobalResourceManager.EmotionDictionary);
            this.isGroupChat     = false;
            this.my              = _my;
            this.friend          = _friend;
            this.Text           += " - " + this.friend.Arg2;
            this.remotePersister = remote;
            this.localPersister  = local;
        }
Пример #2
0
        public ChatRecordForm(IChatRecordPersister remote, IChatRecordPersister local, Parameter <string, string> gr, Parameter <string, string> _my, IUserNameGetter getter)
        {
            InitializeComponent();

            this.chatBox_history.Initialize(GlobalResourceManager.EmotionDictionary);
            this.isGroupChat     = true;
            this.group           = gr;
            this.my              = _my;
            this.userNameGetter  = getter;
            this.Text            = "群消息记录 - " + gr.Arg2;
            this.remotePersister = remote;
            this.localPersister  = local;
        }
Пример #3
0
        public NoticeRecordForm(IChatRecordPersister remote, IChatRecordPersister local, Parameter <string, string> gr, Parameter <string, string> _my, IUserNameGetter getter, IRapidPassiveEngine engine, IGroup supporter)
        {
            InitializeComponent();

            this.chatBox_history.Initialize(GlobalResourceManager.EmotionDictionary);
            this.isGroupChat        = true;
            this.group              = gr;
            this.my                 = _my;
            this.userNameGetter     = getter;
            this.Text               = "群公告记录 - " + gr.Arg2;
            this.remotePersister    = remote;
            this.localPersister     = local;
            this.rapidPassiveEngine = engine;
            this.ggSupporter        = supporter;
        }