private void mView_MailListChanging(object sender, EventArgs e)
 {
     mView.MailListChanging -= mView_MailListChanging;
     mView = null;
     mList = new List <ViewMailItem>(mList);
     OnPropertyChanged("IsBackedByView");
 }
Beispiel #2
0
 internal MailViewColumn(MailView view, string name, Comparison <ViewMailItem> sortfunc)
 {
     mView = view;
     Name  = name;
     mSort = sortfunc;
     mView.RegisterHandler("SelectedColumn", mView_PropertyChanged);
 }
        public MailNavigationNode(MailView view, ViewMailItem item)
        {
            mList = view.MailItems;

            mIndex = mList.IndexOf(item);

            mItem = item;

            if (mIndex != -1)
            {
                mView = view;
                mView.MailListChanging += mView_MailListChanging;
            }
        }