Пример #1
0
 private void SetButtonExDefault(ButtonEx be)
 {
     be.Radius    = 40;
     be.Size      = new Size(116, 36);
     be.ForeColor = Color.Black;
     be.BaseColor = Color.White;
     be.Font      = new Font("宋体", 10f, FontStyle.Bold);
 }
Пример #2
0
 private void ButtonExChecked(ButtonEx be)
 {
     if (m_buttonex_checked != null)
     {
         SetButtonExDefault(m_buttonex_checked);
     }
     if (be == null)
     {
         return;
     }
     m_buttonex_checked = be;
     SetButtonExChecked(m_buttonex_checked);
 }
Пример #3
0
 private void SetButtonExChecked(ButtonEx be)
 {
     be.ForeColor = Color.White;
     be.BaseColor = Color.FromArgb(255, 100, 92);
 }