Ejemplo n.º 1
0
        void Load(FitCurves view)
        {
            this.Resources = view.Resources;
            this.View      = view;
            //this.Background = view.Background;

            if (this.View.Channels != null && this.View.Channels.Count >= 1)
            {
                var v = from c in View.Channels.Values
                        select c.Name;
                this.cbBoxAxis1.ItemsSource = v;
                this.cbBoxAxis2.ItemsSource = v;
                this.cbBoxAxis3.ItemsSource = v;
                this.cbBoxAxis4.ItemsSource = v;
                this.cbBoxAxis5.ItemsSource = v;
            }

            gridBase.DataContext = this.View.AxisArray;
        }
Ejemplo n.º 2
0
 public FitCurvesSetting(FitCurves view)
 {
     InitializeComponent();
     this.Load(view);
 }