示例#1
0
        private ucfEventArgs GetEventHandler()
        {
            ucfEventArgs ev = new ucfEventArgs();
            ev.Page = cbSubfile.SelectedIndex;
            ev.Comment = tbComment.Text;

            if (cbDeck.SelectedIndex != 4) ev.Deck = (DeckFocus)cbDeck.SelectedIndex;
            else ev.Deck = DeckFocus.Target;

            return ev;
        }
示例#2
0
 protected virtual void PageChanged(ucfEventArgs e)
 {
     EventHandler eh = OnPageChanged;
     if (eh != null) eh(this, e);
 }