Beispiel #1
0
 private void btnCancel_Click(object sender, EventArgs e)
 {
     m_DelItemNum = 0;
     m_CurrentReason = null;
     this.Close();
 }        
Beispiel #2
0
 private void btnReason_Click(object sender, EventArgs e)
 {
     CrystalButton btn = sender as CrystalButton;
     m_CurrentReason = btn.Tag as Reason;
     if (m_PreviousBtn == null)
     {
         btn.BackColor = ConstantValuePool.PressedColor;
         m_PreviousBtn = btn;
     }
     else
     {
         m_PreviousBtn.BackColor = m_PreviousBtn.DisplayColor;
         btn.BackColor = ConstantValuePool.PressedColor;
         m_PreviousBtn = btn;
     }
 }