Ejemplo n.º 1
0
 public static void SetTextBindingPath(this TabPage tabPage, Func <string> textBinding)
 {
     tabPage.Bind("Text", new DelegateBinding <string>(
                      textBinding,
                      s => { tabPage.Text = textBinding.Invoke(); }
                      ));
 }