ardupilot/Configurator/Configurator.Net/Views/AcroConfigView.cs

30 lines
764 B
C#

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.Views
{
public partial class AcroConfigView : AcroControlDesignable
{
public AcroConfigView()
{
InitializeComponent();
BindButtons();
}
public override void SetDataContext(AcroModeConfigVm model)
{
AcroModeConfigVmBindingSource.DataSource = model;
}
}
// Required for VS2008 designer. No functional value
public class AcroControlDesignable : ViewCommon<AcroModeConfigVm> { }
}