public MessageCollaborator() { InboxHeader = "inbox"; wait = new EventWaitHandle(false, EventResetMode.AutoReset); SearchCommand = new DelegateCommand(new Action(OnSearch)); InboxSource = new InboxCollectionViewSource(); OutboxSource = new OutboxCollectionViewSource(); TrashSource = new TrashCollectionViewSource(); SpamSource = new SpamCollectionViewSource(); DraftSource = new DraftCollectionViewSource(); ShowComposeDialog = new MessageCommandBar(); InboxMaster = new InboxCollectionViewSource(); OutboxMaster = new OutboxCollectionViewSource(); TrashMaster = new TrashCollectionViewSource(); SpamMaster = new SpamCollectionViewSource(); DraftSource = new DraftCollectionViewSource(); QueueSource = new QueueCollectionSource(); }