예제 #1
0
 private void OnQueryTextFromValue(QueryTextFromValueEventArgs e)
 {
     if (this.QueryTextFromValue != null)
     {
         this.QueryTextFromValue(this, e);
     }
 }
예제 #2
0
        internal string GetTextFromValue(object value)
        {
            string text = this.QueryTextFromValueCore(value);

            QueryTextFromValueEventArgs e = new QueryTextFromValueEventArgs(value, text);

            this.OnQueryTextFromValue(e);

            return(e.Text);
        }