예제 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="LinkCell"/> class.
 /// </summary>
 /// <param name="value">The value.</param>
 /// <param name="executeLink">Event to execute when the user Click on this cell</param>
 public LinkCell(object value, PositionEventHandler executeLink)
     : this(value)
 {
     if (executeLink != null)
       {
     Click += executeLink;
       }
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="LinkCell"/> class.
 /// </summary>
 /// <param name="value">The value.</param>
 /// <param name="executeLink">Event to execute when the user Click on this cell</param>
 public LinkCell(object value, PositionEventHandler executeLink)
     : this(value)
 {
     if (executeLink != null)
     {
         Click += executeLink;
     }
 }
예제 #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ButtonCell"/> class.
 /// </summary>
 /// <param name="p_Click">The click.</param>
 protected ButtonCell(PositionEventHandler p_Click)
     : this()
 {
     if (p_Click != null)
     {
         Click += p_Click;
     }
 }
예제 #4
0
        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="p_Value"></param>
        /// <param name="p_Click"></param>
        public Button(object p_Value, PositionEventHandler p_Click) : base(p_Value)
        {
            Behaviors.Add(BehaviorModels.Button.Default);

            VisualModel = VisualModels.Header.Default;
            if (p_Click != null)
            {
                Click += p_Click;
            }
        }
예제 #5
0
        /// <summary>
        /// Initializes a new instance of the <see cref="ButtonCell"/> class.
        /// </summary>
        /// <param name="value">The value.</param>
        /// <param name="p_Click">The click.</param>
        public ButtonCell(object value, PositionEventHandler p_Click)
            : base(value)
        {
            BehaviorModels.Add(BehaviorModel.ButtonBehaviorModel.Default);

              VisualModel = VisualModels.Header.Default;
              if (p_Click != null)
              {
            Click += p_Click;
              }
        }
예제 #6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="LinkCell"/> class.
 /// </summary>
 /// <param name="p_ExecuteLink">Event to execute when the user Click on this cell</param>
 protected LinkCell(PositionEventHandler p_ExecuteLink)
     : this()
 {
     if (p_ExecuteLink != null)
       {
     Click += p_ExecuteLink;
       }
 }
예제 #7
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ButtonCell"/> class.
 /// </summary>
 /// <param name="p_Click">The click.</param>
 protected ButtonCell(PositionEventHandler p_Click)
     : this()
 {
     if (p_Click != null)
       {
     Click += p_Click;
       }
 }