Ejemplo n.º 1
0
 void resetIndicator()
 {
     foreach (Control item in panel1.Controls)
     {
         btnMailItem curitem = ((btnMailItem)item);
         curitem.Active = false;
     }
 }
Ejemplo n.º 2
0
        private void btnMailItem1_Click(object sender, EventArgs e)
        {
            resetIndicator();

            bunifuTransition1.HideSync(pnlMsgContainer);

            btnMailItem item = ((btnMailItem)sender);

            item.Active       = true;
            lblFirstName.Text = item.FirstName;
            lblEmail.Text     = item.Email;
            lblSubject.Text   = item.Subject;
            lblBody.Text      = item.Body + "\n\n" + item.FirstName + "\n" + item.Email;
            bunifuTransition1.ShowSync(pnlMsgContainer);
        }