public static ClickBind <TBinding> Click <TBinding>(this Bind <TBinding> item, Control control, Action onClick)
 {
     control.Click += (sender, args) => onClick();
     return(ClickBinding(item, control));
 }
 public ClickBind(Control control, Bind <TBinding> item) : base(item._item)
 {
     _control = control;
 }
 public static ClickBind <TBinding> Click <TBinding, TParameter>(this Bind <TBinding> item, Control control, Func <TBinding, Core.ICommand <TParameter> > command, Func <TParameter> parameter)
 {
     control.Click += (sender, e) => command(item._item).Execute(parameter());
     return(ClickBinding(item, control));
 }
 private static ClickBind <TBinding> ClickBinding <TBinding>(Bind <TBinding> item, Control control)
 {
     return(new ClickBind <TBinding>(control, item));
 }
 public static ClickBind <TBinding> Click <TBinding>(this Bind <TBinding> item, Control control, Func <TBinding, Core.ICommand> command)
 {
     control.Click += (sender, e) => command(item._item).Execute();
     return(ClickBinding(item, control));
 }