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; }
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; }
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; }