Ejemplo n.º 1
0
 private void accountTree_AccountNodeSelectedEvent(object sender, Johnny.Kaixin.Controls.AccountTree.AccountEventArgs e)
 {
     try
     {
         //get the top form
         MainForm mainform = this.TopLevelControl as MainForm;
         if (mainform != null)
         {
             mainform.AccountNodeSelected(e.Account);
         }
     }
     catch (Exception ex)
     {
         Program.ShowMessageBox("FrmAccountManager", ex);
     }
 }