Beispiel #1
0
 void accountTree_GroupNodeSelectedEvent(object sender, GroupEventArgs e)
 {
     try
     {
         //get the top form
         MainForm mainform = this.TopLevelControl as MainForm;
         if (mainform != null)
         {
             mainform.AccountGroupNodeSelected(e.Accounts, e.Group);
         }
     }
     catch (Exception ex)
     {
         Program.ShowMessageBox("FrmAccountManager", ex);
     }
 }