コード例 #1
0
        public object CreateButtonWidget(Sandwych.Layout.Models.Button button)
        {
            var buttonControl = new ButtonControl(button, this.model);

            this.createdButtons.Add(buttonControl);
            return(buttonControl);
        }
コード例 #2
0
ファイル: ButtonControl.cs プロジェクト: while9608/slipstream
 public ButtonControl(Sandwych.Layout.Models.Button buttonInfo, string model)
     : base()
 {
     this.model      = model;
     this.Text       = buttonInfo.Text;
     this.ButtonName = buttonInfo.Name;
     this.target     = buttonInfo.Target;
 }
コード例 #3
0
 public object CreateButtonWidget(Sandwych.Layout.Models.Button button)
 {
     throw new NotSupportedException();
 }