You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

38 lines
892 B

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;
using ArducopterConfigurator.PresentationModels;
namespace ArducopterConfigurator
{
public partial class FlightControlPidsView : UserControl, IView<FlightControlPidsVm>
{
private IPresentationModel _vm;
public FlightControlPidsView()
{
InitializeComponent();
}
public void SetDataContext(FlightControlPidsVm vm)
{
FlightControlPidsBindingSource.DataSource = vm;
_vm = vm;
stableConfigView1.SetDataContext(vm.Vm2);
acroConfigView1.SetDataContext(vm.Vm1);
}
public Control Control
{
get { return this; }
}
}
}