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.
37 lines
1.0 KiB
37 lines
1.0 KiB
14 years ago
|
using System.Collections.Generic;
|
||
|
using System.ComponentModel;
|
||
|
using System.Drawing;
|
||
|
using System.Data;
|
||
|
using System.Text;
|
||
|
using ArducopterConfigurator.PresentationModels;
|
||
|
|
||
|
namespace ArducopterConfigurator.Views
|
||
|
{
|
||
|
public partial class PositionHoldConfigView : PositionHoldConfigViewDesignable
|
||
|
{
|
||
|
public PositionHoldConfigView()
|
||
|
{
|
||
|
InitializeComponent();
|
||
14 years ago
|
|
||
14 years ago
|
}
|
||
|
|
||
14 years ago
|
public override void SetDataContext(PositionHoldConfigVm vm)
|
||
14 years ago
|
{
|
||
14 years ago
|
BindButtons(vm);
|
||
|
|
||
|
|
||
14 years ago
|
PositionHoldConfigBindingSource.DataSource = vm;
|
||
14 years ago
|
|
||
|
if (Program.IsMonoRuntime)
|
||
14 years ago
|
vm.PropertyChanged += ((sender, e) => PositionHoldConfigBindingSource.ResetBindings(false));
|
||
|
}
|
||
|
|
||
|
private void label8_Click(object sender, System.EventArgs e)
|
||
|
{
|
||
|
|
||
14 years ago
|
}
|
||
|
}
|
||
|
// Required for VS2008 designer. No functional value
|
||
|
public class PositionHoldConfigViewDesignable : ViewCommon<PositionHoldConfigVm> { }
|
||
|
}
|