예제 #1
0
        private void RaiseTokenCheckedChanged(CustomTokenEditToken token)
        {
            EventHandler <TokenCheckedChangedEventArgs> handler = TokenCheckedChanged;

            if (handler != null)
            {
                handler(this, new TokenCheckedChangedEventArgs(token));
            }
        }
예제 #2
0
 protected internal void OnTokenCheckedChanged(CustomTokenEditToken token, bool repaint)
 {
     RepaintEditIfRequired(repaint);
     RaiseTokenCheckedChanged(token);
 }
예제 #3
0
 public TokenCheckedChangedEventArgs(CustomTokenEditToken _token)
 {
     Token = _token;
 }
예제 #4
0
        protected override TokenEditToken CreateTokenInstance(string description, object value, bool autoPopulated)
        {
            CustomTokenEditToken token = new CustomTokenEditToken(description, value, this as RepositoryItemCustomTokenEdit);

            return(token);
        }
예제 #5
0
        protected override TokenEditToken CreateToken(string description, object value)
        {
            CustomTokenEditToken token = new CustomTokenEditToken(description, value, Properties as RepositoryItemCustomTokenEdit);

            return(token);
        }