/// <summary>
        /// Constructor
        /// </summary>
        /// <param name="owner">owner object.</param>
        public ParameterEstimationResultWindow(Analysis owner)
        {
            InitializeComponent();

            ContextMenuStrip peCntMenu = new ContextMenuStrip();
            peCntMenu.Opening += new CancelEventHandler(peCntMenu_Opening);
            ToolStripMenuItem peit = new ToolStripMenuItem();
            peit.Text = MessageResources.ReflectMenuText;
            peit.Click += new EventHandler(ClickReflectMenu);
            peCntMenu.Items.AddRange(new ToolStripItem[] { peit });
            dataGridView1.ContextMenuStrip = peCntMenu;

            m_owner = owner;
        }
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="owner">Plugin object</param>
 public ParameterEstimationSettingDialog(Analysis owner)
 {
     InitializeComponent();
     m_owner = owner;
 }
Пример #3
0
        /// <summary>
        /// Constructor.
        /// </summary>
        public SensitivityAnalysis(Analysis owner)
        {
            m_owner = owner;
            m_param = new SensitivityAnalysisParameter();

            m_currentData = new Dictionary<string, double>();
            m_pertubateData = new Dictionary<string, double>();
            m_execParam = new Dictionary<int, ExecuteParameter>();
            m_saveList = new List<SaveLoggerProperty>();
        }
 /// <summary>
 /// Constructors
 /// </summary>
 /// <param name="owner">Plugin object.</param>
 public SensitivityAnalysisSettingDialog(Analysis owner)
 {
     InitializeComponent();
     m_owner = owner;
 }
Пример #5
0
        /// <summary>
        /// Constructor.
        /// </summary>
        public BifurcationAnalysis(Analysis owner)
        {
            m_owner = owner;
            m_param = new BifurcationAnalysisParameter();

            m_result = new BifurcationResult[s_num + 1, s_num + 1];
            m_region = new int[(int)(s_num / s_skip) + 1, (int)(s_num / s_skip) + 1];
        }
Пример #6
0
 /// <summary>
 /// Constructor.
 /// </summary>
 public RobustAnalysis(Analysis owner)
 {
     m_owner = owner;
     m_param = new RobustAnalysisParameter();
 }
Пример #7
0
        /// <summary>
        /// Constructor.
        /// </summary>
        public ParameterEstimation(Analysis owner)
        {
            m_owner = owner;
            m_param = new ParameterEstimationParameter();

            m_estimation = new Dictionary<int, double>();
            m_execParamDic = new Dictionary<int, Dictionary<int, ExecuteParameter>>();
        }
Пример #8
0
        /// <summary>
        /// Constructors
        /// </summary>
        public GraphResultWindow(Analysis owner, AnalysisResultWindow win)
        {
            InitializeComponent();

            m_zCnt.GraphPane.Title.Text = "";
            m_zCnt.GraphPane.XAxis.Title.Text = "X";
            m_zCnt.GraphPane.YAxis.Title.Text = "Y";
            m_zCnt.GraphPane.Legend.IsVisible = false;
            m_zCnt.GraphPane.XAxis.Scale.Max = 100;
            m_zCnt.GraphPane.XAxis.Scale.Min = 0;
            m_zCnt.GraphPane.YAxis.Scale.Max = 100;
            m_zCnt.GraphPane.YAxis.Scale.Min = 0;
            m_zCnt.GraphPane.XAxis.MinorTic.Color = Color.FromArgb(200, 200, 200);
            m_zCnt.GraphPane.XAxis.MajorTic.Color = Color.FromArgb(200, 200, 200);
            m_zCnt.GraphPane.YAxis.MinorTic.Color = Color.FromArgb(200, 200, 200);
            m_zCnt.GraphPane.YAxis.MajorTic.Color = Color.FromArgb(200, 200, 200);
            m_zCnt.GraphPane.Chart.Border.Color = Color.FromArgb(200, 200, 200);
            m_zCnt.GraphPane.YAxis.MajorGrid.Color = Color.FromArgb(200, 200, 200);
            m_zCnt.GraphPane.Fill = new Fill(Color.White, Color.LightGray, 90.0f);

            m_zCnt.ContextMenuBuilder += new ZedGraphControl.ContextMenuBuilderEventHandler(ZedControlContextMenuBuilder);
            m_zCnt.AxisChange();
            m_zCnt.Refresh();

            m_owner = owner;
            m_win = win;
        }
Пример #9
0
 /// <summary>
 /// Constructors
 /// </summary>
 /// <param name="owner">Plugin object.</param>
 public BifurcationSettingDialog(Analysis owner)
 {
     InitializeComponent();
     m_owner = owner;
 }
 /// <summary>
 /// Constructors
 /// </summary>
 /// <param name="owner">Plugin object.</param>
 public RobustAnalysisSettingDialog(Analysis owner)
 {
     InitializeComponent();
     m_owner = owner;
 }
Пример #11
0
 /// <summary>
 /// Event to close this window.
 /// </summary>
 /// <param name="sender">This form.</param>
 /// <param name="e">FormClosedEventArgs</param>
 void CloseCurrentForm(object sender, FormClosedEventArgs e)
 {
     if (m_owner != null)
     {
         m_owner.CloseAnalysisResultWindow();
     }
     m_owner = null;
 }
Пример #12
0
        /// <summary>
        /// Constructor.
        /// </summary>
        public AnalysisResultWindow(Analysis anal)
        {
            InitializeComponent();

            m_owner = anal;
            m_sensResultWindow = new SensitivityAnalysisResultWindow();
            m_graphResultWindow = new GraphResultWindow(m_owner, this);
            m_paramResultWindow = new ParameterEstimationResultWindow(m_owner);
        }