Exemple #1
0
 public void CreateLegendNodeOfOneStudy(object sender, StudyOpArgs args)
 {
     this.CreateLegendNodeOfOneStudy(args.Study, args.Group);
 }
Exemple #2
0
 private bool SaveStudyProperty()
 {
     bool flag = true;
     if (this.m_IsIntervalStudy)
     {
         flag = this.m_StudyPropertyMgr.IsGridViewDataValidForInterval();
     }
     if ((flag && !this.m_Saved) && this.btnApply.Enabled)
     {
         this.m_Study.AddToLegend = this.chbLegend.Checked;
         this.m_Study.ShowStatistics = this.chbInformation.Checked;
         this.m_Study.Transparence = (short) this.GetTransparenceValue(this.tbarTransparence.Value);
         if (this.m_IsIntervalStudy)
         {
             this.SaveShadingConfig();
         }
         this.m_StudyPropertyMgr.SaveResultValue(this.m_Group, this.m_Study);
         if (this.m_Group.State == CalculateState.SuccessfulEnd)
         {
             StudyOpArgs e = new StudyOpArgs();
             e.Study = this.m_Study;
             e.Group = this.m_Group;
             this.m_OnLegendSave(this, e);
         }
         this.m_Saved = true;
     }
     return flag;
 }