public Curve_Fit_Options(Chart_DRC my_chart) { InitializeComponent(); chart = my_chart; chart.set_manual_bound(true); chart.set_bound_status(false); txt_min_bound_x.Text = Math.Pow(10, chart.get_min_bound_x()).ToString(); txt_max_bound_x.Text = Math.Pow(10, chart.get_max_bound_x()).ToString(); txt_min_bound_y.Text = chart.get_min_bound_y().ToString(); txt_max_bound_y.Text = chart.get_max_bound_y().ToString(); bound_min_x = Math.Pow(10, chart.get_min_bound_x()); bound_max_x = Math.Pow(10, chart.get_max_bound_x()); bound_min_y = chart.get_min_bound_y(); bound_max_y = chart.get_max_bound_y(); if(chart.top_fixed()) text_box_fix_top.Text = chart.get_top_fixed().ToString(); }
public Curves_Options(Chart_DRC my_chart) { InitializeComponent(); chart = my_chart; }