Exemplo n.º 1
0
            static EtoRadioButton()
            {
                var b = new EtoRadioButton();

                b.SizeToFit();
                defaultHeight = b.Frame.Height;
            }
Exemplo n.º 2
0
 public RadioButtonHandler()
 {
     Control = new EtoRadioButton {
         Handler = this, Title = string.Empty
     };
     Control.SetButtonType(NSButtonType.Radio);
     Control.Activated += HandleActivated;
 }
Exemplo n.º 3
0
 public RadioButtonHandler()
 {
     Control = new EtoRadioButton {
         Handler = this
     };
     Control.SetButtonType(NSButtonType.Radio);
     Control.Activated += HandleActivated;
 }
Exemplo n.º 4
0
 public RadioButtonHandler()
 {
     Control = new EtoRadioButton {
         TabStop = true
     };
     Control.AutoSize        = true;
     Control.Click          += (sender, e) => Callback.OnClick(Widget, EventArgs.Empty);
     Control.CheckedChanged += (sender, e) => Callback.OnCheckedChanged(Widget, EventArgs.Empty);
 }
Exemplo n.º 5
0
 public RadioButtonHandler()
 {
     Control          = new EtoRadioButton();
     Control.AutoSize = true;
     Control.Click   += delegate {
         Widget.OnClick(EventArgs.Empty);
     };
     Control.CheckedChanged += delegate {
         Widget.OnCheckedChanged(EventArgs.Empty);
     };
 }
Exemplo n.º 6
0
        public RadioButtonHandler()
        {
            Control = new EtoRadioButton
            {
                TabStop   = true,
                AutoSize  = true,
                AutoCheck = false,
                Checked   = false
            };

            Control.Click          += Control_Click;
            Control.CheckedChanged += Control_CheckedChanged;
        }