public ChatViewManager(Notebook notebook, Gtk.TreeView treeView) { f_Notebook = notebook; f_TreeView = treeView; SyncedChats = new List<ChatView>(); SyncManager = new ChatViewSyncManager(); SyncManager.ChatAdded += OnChatAdded; SyncManager.ChatSynced += OnChatSynced; }
public ChatViewManager(Notebook notebook, ChatTreeView treeView) { f_Notebook = notebook; TreeView = treeView; TreeView.Selection.Changed += OnTreeViewSelectionChanged; SyncManager = new ChatViewSyncManager(); SyncManager.ChatAdded += OnChatAdded; SyncManager.ChatSynced += OnChatSynced; SyncManager.WorkerException += OnWorkerException; }