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.
36 lines
949 B
36 lines
949 B
14 years ago
|
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 StableConfigView : StableConfigViewDesignable
|
||
|
{
|
||
|
public StableConfigView()
|
||
|
{
|
||
|
InitializeComponent();
|
||
14 years ago
|
|
||
14 years ago
|
}
|
||
|
|
||
14 years ago
|
public override void SetDataContext(StableModeConfigVm vm)
|
||
14 years ago
|
{
|
||
14 years ago
|
BindButtons(vm);
|
||
|
|
||
|
|
||
14 years ago
|
StableModeConfigVmBindingSource.DataSource = vm;
|
||
14 years ago
|
|
||
|
if (Program.IsMonoRuntime)
|
||
14 years ago
|
vm.PropertyChanged += ((sender, e) => StableModeConfigVmBindingSource.ResetBindings(false));
|
||
14 years ago
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
// Required for VS2008 designer. No functional value
|
||
|
public class StableConfigViewDesignable : ViewCommon<StableModeConfigVm> { }
|
||
|
}
|