コード例 #1
0
 private static void InitRadioButton(ref SharpDXRadioButton control, string text, object tag, bool bChecked)
 {
     control                      = new SharpDXRadioButton();
     control.Text                 = text;
     control.Tag                  = tag;
     control.Checked              = bChecked;
     control.CheckedChangedEvent += radioButton_CheckedChanged;
 }
コード例 #2
0
        private static void radioButton_CheckedChanged(object sender, EventArgs e)
        {
            SharpDXRadioButton control = (SharpDXRadioButton)sender;

            ConfigUtils.SetValue(control.Tag.ToString(), control.Checked);
        }
コード例 #3
0
 private static void radioButton_CheckedChanged(object sender, EventArgs e)
 {
     SharpDXRadioButton control = (SharpDXRadioButton)sender;
 }