コード例 #1
0
 private void Answer_ButtonPress(object sender, RadioButtonPressEventArgs e)
 {
     if (Answer.CheckedButtons.Length > 0)
     {
         CheckID.Text = Answer.CheckedButton.ID;
     }
 }
コード例 #2
0
 private void radioGroup4_ButtonPress(object sender, RadioButtonPressEventArgs e)
 {
     if (e.Button.Checked == true)
     {
         Toast(e.Button.Text + "已选择");
     }
     else
     {
         Toast(e.Button.Text + "已取消选择");
     }
 }
コード例 #3
0
 private void Answer_ButtonPress(object sender, RadioButtonPressEventArgs e)
 {
     //if (Answer.CheckedButtons.Length > 0)
     //{
     //    if (CheckID.Text.Contains(Answer.CheckedButton.ID))
     //        CheckID.Text = CheckID.Text.Replace(Answer.CheckedButton.ID+",","");
     //    else
     //        CheckID.Text += Answer.CheckedButton.ID + ",";
     //}
     CheckID.Text = "";
     foreach (var CheckedButton in Answer.CheckedButtons)
     {
         CheckID.Text = CheckedButton.ID + CheckID.Text;
     }
 }
コード例 #4
0
 private void radioGroup1_ButtonPress(object sender, RadioButtonPressEventArgs e)
 {
 }
コード例 #5
0
ファイル: frmAttendanceDate.cs プロジェクト: zxs77588/SmoONE
 /// <summary>
 /// 更改日期
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void radioDate_ButtonPress(object sender, RadioButtonPressEventArgs e)
 {
     ShowResult = ShowResult.Yes;
     upATDate();
 }
コード例 #6
0
 private void Answer_ButtonPress(object sender, RadioButtonPressEventArgs e)
 {
 }