Ejemplo n.º 1
0
 private void MyProfileMenuItem_Click(object sender, EventArgs e)
 {
     try
     {
         forms.investorEdit myForm = (forms.investorEdit)this.FindForm("investorEdit");
         if (myForm == null || myForm.IsDisposed)
         {
             myForm = new forms.investorEdit();
             myForm.Name = "investorEdit";
             myForm.myDockedPane = dockPanel;
             myForm.myOnWatchListChanged += new common.forms.baseMasterEditForm.onDataChanged(UpdateWatchList);
             myForm.myOnPortfolioChanged += new common.forms.baseMasterEditForm.onDataChanged(UpdateWatchList);  
         }
         myForm.Show(dockPanel);
     }
     catch (Exception er)
     {
         this.ShowError(er);
     }
 }
Ejemplo n.º 2
0
 private void MyProfileMenuItem_Click(object sender, EventArgs e)
 {
     try
     {
         forms.investorEdit myForm = (forms.investorEdit)this.FindForm("investorEdit");
         if (myForm == null || myForm.IsDisposed)
         {
             myForm = new forms.investorEdit();
             myForm.Name = "investorEdit";
             myForm.myDockedPane = dockPanel;
         }
         myForm.Show(dockPanel);
     }
     catch (Exception er)
     {
         this.ShowError(er);
         common.fileFuncs.WriteLog(this.Name + common.Consts.constTab + er.ToString());
     }
 }