Exemplo n.º 1
0
 private void BtnUserManage_Click(object sender, EventArgs e)
 {
     try
     {
         MyPanel.Controls.Clear();
         MyPanel.Controls.Add(userInfoContrl);
         MyPanel.Focus();
     }
     catch (Exception ex)
     {
         Log.Error("[" + System.Reflection.MethodBase.GetCurrentMethod().DeclaringType.Name + "][" + System.Reflection.MethodBase.GetCurrentMethod().Name + "] err" + ex);
         MessageBox.Show(ex.Message);
     }
 }