Configurator.Net: Complete change to crud VM updating

git-svn-id: https://arducopter.googlecode.com/svn/trunk@1721 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
mandrolic 2011-02-24 22:12:17 +00:00
parent a44e90369b
commit de79a3b86d
8 changed files with 382 additions and 291 deletions

View File

@ -6,17 +6,123 @@ namespace ArducopterConfigurator.PresentationModels
public abstract class ConfigWithPidsBase : CrudVm
{
public float RollP { get; set; }
public float RollI { get; set; }
public float RollD { get; set; }
private float _rollP;
public float PitchP { get; set; }
public float PitchI { get; set; }
public float PitchD { get; set; }
public float RollP
{
get { return _rollP; }
set
{
if (_rollP == value) return;
_rollP = value;
FirePropertyChanged("RollP");
}
}
public float YawP { get; set; }
public float YawI { get; set; }
public float YawD { get; set; }
private float _rolli;
public float RollI
{
get { return _rolli; }
set
{
if (_rolli == value) return;
_rolli = value;
FirePropertyChanged("RollI");
}
}
private float _rollD;
public float RollD
{
get { return _rollD; }
set
{
if (_rollD == value) return;
_rollD = value;
FirePropertyChanged("RollD");
}
}
private float _pitchP;
public float PitchP
{
get { return _pitchP; }
set
{
if (_pitchP == value) return;
_pitchP = value;
FirePropertyChanged("PitchP");
}
}
private float _pitchI;
public float PitchI
{
get { return _pitchI; }
set
{
if (_pitchI == value) return;
_pitchI = value;
FirePropertyChanged("PitchI");
}
}
private float _pitchD;
public float PitchD
{
get { return _pitchD; }
set
{
if (_pitchD == value) return;
_pitchD = value;
FirePropertyChanged("PitchD");
}
}
private float _yawP;
public float YawP
{
get { return _yawP; }
set
{
if (_yawP == value) return;
_yawP = value;
FirePropertyChanged("YawP");
}
}
private float _yawI;
public float YawI
{
get { return _yawI; }
set
{
if (_yawI == value) return;
_yawI = value;
FirePropertyChanged("YawI");
}
}
private float _yawD;
public float YawD
{
get { return _yawD; }
set
{
if (_yawD == value) return;
_yawD = value;
FirePropertyChanged("YawD");
}
}
}

View File

@ -68,8 +68,8 @@ namespace ArducopterConfigurator.PresentationModels
public void handleLineOfText(string strRx)
{
_apmUpdatingProperties = true;
PropertyHelper.PopulatePropsFromUpdate(this,PropsInUpdateOrder, strRx, true);
_apmUpdatingProperties = true;
PropertyHelper.PopulatePropsFromUpdate(this,PropsInUpdateOrder, strRx,false);
_apmUpdatingProperties = false;
if (updatedByApm != null)
updatedByApm(this, EventArgs.Empty);

View File

@ -37,7 +37,7 @@ namespace ArducopterConfigurator
if (prop.PropertyType == typeof(bool))
strings[i] = ((bool)prop.GetValue(obj, null)) ? "1" : "0";
else
strings[i] = prop.GetValue(obj, null).ToString();
strings[i] = prop.GetValue(obj, null).ToString(); // Todo: culture aware strings for floats etc
}
return commandChar + string.Join(";", strings);

View File

@ -102,7 +102,7 @@
//
// numericUpDown9
//
this.numericUpDown9.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.AcroModeConfigVmBindingSource, "YawD", true));
this.numericUpDown9.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.AcroModeConfigVmBindingSource, "YawD", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
this.numericUpDown9.DecimalPlaces = 2;
this.numericUpDown9.Increment = new decimal(new int[] {
5,
@ -116,7 +116,7 @@
//
// numericUpDown8
//
this.numericUpDown8.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.AcroModeConfigVmBindingSource, "PitchI", true));
this.numericUpDown8.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.AcroModeConfigVmBindingSource, "PitchI", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
this.numericUpDown8.DecimalPlaces = 2;
this.numericUpDown8.Increment = new decimal(new int[] {
5,
@ -130,7 +130,7 @@
//
// numericUpDown3
//
this.numericUpDown3.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.AcroModeConfigVmBindingSource, "YawP", true));
this.numericUpDown3.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.AcroModeConfigVmBindingSource, "YawP", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
this.numericUpDown3.DecimalPlaces = 2;
this.numericUpDown3.Increment = new decimal(new int[] {
5,
@ -186,7 +186,7 @@
//
// numericUpDown7
//
this.numericUpDown7.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.AcroModeConfigVmBindingSource, "PitchD", true));
this.numericUpDown7.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.AcroModeConfigVmBindingSource, "PitchD", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
this.numericUpDown7.DecimalPlaces = 2;
this.numericUpDown7.Increment = new decimal(new int[] {
5,
@ -200,7 +200,7 @@
//
// numericUpDown6
//
this.numericUpDown6.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.AcroModeConfigVmBindingSource, "PitchI", true));
this.numericUpDown6.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.AcroModeConfigVmBindingSource, "PitchI", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
this.numericUpDown6.DecimalPlaces = 2;
this.numericUpDown6.Increment = new decimal(new int[] {
5,
@ -214,7 +214,7 @@
//
// numericUpDown2
//
this.numericUpDown2.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.AcroModeConfigVmBindingSource, "PitchP", true));
this.numericUpDown2.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.AcroModeConfigVmBindingSource, "PitchP", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
this.numericUpDown2.DecimalPlaces = 2;
this.numericUpDown2.Increment = new decimal(new int[] {
5,
@ -270,7 +270,7 @@
//
// numericUpDown5
//
this.numericUpDown5.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.AcroModeConfigVmBindingSource, "RollD", true));
this.numericUpDown5.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.AcroModeConfigVmBindingSource, "RollD", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
this.numericUpDown5.DecimalPlaces = 2;
this.numericUpDown5.Increment = new decimal(new int[] {
25,
@ -284,7 +284,7 @@
//
// numericUpDown4
//
this.numericUpDown4.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.AcroModeConfigVmBindingSource, "RollI", true));
this.numericUpDown4.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.AcroModeConfigVmBindingSource, "RollI", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
this.numericUpDown4.DecimalPlaces = 2;
this.numericUpDown4.Increment = new decimal(new int[] {
25,
@ -298,7 +298,7 @@
//
// numericUpDown1
//
this.numericUpDown1.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.AcroModeConfigVmBindingSource, "RollP", true));
this.numericUpDown1.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.AcroModeConfigVmBindingSource, "RollP", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
this.numericUpDown1.DecimalPlaces = 2;
this.numericUpDown1.Increment = new decimal(new int[] {
5,

View File

@ -33,41 +33,41 @@
this.button2 = new System.Windows.Forms.Button();
this.StableModeConfigVmBindingSource = new System.Windows.Forms.BindingSource(this.components);
this.groupBox4 = new System.Windows.Forms.GroupBox();
this.numericUpDown9 = new System.Windows.Forms.NumericUpDown();
this.numericUpDown8 = new System.Windows.Forms.NumericUpDown();
this.numericUpDown3 = new System.Windows.Forms.NumericUpDown();
this.label7 = new System.Windows.Forms.Label();
this.label8 = new System.Windows.Forms.Label();
this.label9 = new System.Windows.Forms.Label();
this.groupBox2 = new System.Windows.Forms.GroupBox();
this.numericUpDown7 = new System.Windows.Forms.NumericUpDown();
this.numericUpDown6 = new System.Windows.Forms.NumericUpDown();
this.numericUpDown2 = new System.Windows.Forms.NumericUpDown();
this.label4 = new System.Windows.Forms.Label();
this.label5 = new System.Windows.Forms.Label();
this.label6 = new System.Windows.Forms.Label();
this.groupBox3 = new System.Windows.Forms.GroupBox();
this.numericUpDown5 = new System.Windows.Forms.NumericUpDown();
this.numericUpDown4 = new System.Windows.Forms.NumericUpDown();
this.numericUpDown1 = new System.Windows.Forms.NumericUpDown();
this.label3 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.label1 = new System.Windows.Forms.Label();
this.checkBox1 = new System.Windows.Forms.CheckBox();
this.toolTips = new System.Windows.Forms.ToolTip(this.components);
this.numericUpDown4 = new System.Windows.Forms.NumericUpDown();
this.numericUpDown5 = new System.Windows.Forms.NumericUpDown();
this.numericUpDown6 = new System.Windows.Forms.NumericUpDown();
this.numericUpDown7 = new System.Windows.Forms.NumericUpDown();
this.numericUpDown8 = new System.Windows.Forms.NumericUpDown();
this.numericUpDown9 = new System.Windows.Forms.NumericUpDown();
((System.ComponentModel.ISupportInitialize)(this.StableModeConfigVmBindingSource)).BeginInit();
this.groupBox4.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown9)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown8)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown3)).BeginInit();
this.groupBox2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown7)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown6)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).BeginInit();
this.groupBox3.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown4)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown5)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown6)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown7)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown8)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown9)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown4)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit();
this.SuspendLayout();
//
// button2
@ -101,9 +101,37 @@
this.groupBox4.TabStop = false;
this.groupBox4.Text = "Yaw";
//
// numericUpDown9
//
this.numericUpDown9.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.StableModeConfigVmBindingSource, "YawD", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
this.numericUpDown9.DecimalPlaces = 2;
this.numericUpDown9.Increment = new decimal(new int[] {
5,
0,
0,
131072});
this.numericUpDown9.Location = new System.Drawing.Point(23, 71);
this.numericUpDown9.Name = "numericUpDown9";
this.numericUpDown9.Size = new System.Drawing.Size(50, 20);
this.numericUpDown9.TabIndex = 20;
//
// numericUpDown8
//
this.numericUpDown8.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.StableModeConfigVmBindingSource, "YawI", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
this.numericUpDown8.DecimalPlaces = 2;
this.numericUpDown8.Increment = new decimal(new int[] {
5,
0,
0,
131072});
this.numericUpDown8.Location = new System.Drawing.Point(23, 46);
this.numericUpDown8.Name = "numericUpDown8";
this.numericUpDown8.Size = new System.Drawing.Size(50, 20);
this.numericUpDown8.TabIndex = 19;
//
// numericUpDown3
//
this.numericUpDown3.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.StableModeConfigVmBindingSource, "YawP", true));
this.numericUpDown3.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.StableModeConfigVmBindingSource, "YawP", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
this.numericUpDown3.DecimalPlaces = 2;
this.numericUpDown3.Increment = new decimal(new int[] {
5,
@ -157,9 +185,37 @@
this.groupBox2.TabStop = false;
this.groupBox2.Text = "Pitch";
//
// numericUpDown7
//
this.numericUpDown7.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.StableModeConfigVmBindingSource, "PitchD", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
this.numericUpDown7.DecimalPlaces = 2;
this.numericUpDown7.Increment = new decimal(new int[] {
5,
0,
0,
131072});
this.numericUpDown7.Location = new System.Drawing.Point(23, 72);
this.numericUpDown7.Name = "numericUpDown7";
this.numericUpDown7.Size = new System.Drawing.Size(50, 20);
this.numericUpDown7.TabIndex = 18;
//
// numericUpDown6
//
this.numericUpDown6.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.StableModeConfigVmBindingSource, "PitchI", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
this.numericUpDown6.DecimalPlaces = 2;
this.numericUpDown6.Increment = new decimal(new int[] {
5,
0,
0,
131072});
this.numericUpDown6.Location = new System.Drawing.Point(23, 45);
this.numericUpDown6.Name = "numericUpDown6";
this.numericUpDown6.Size = new System.Drawing.Size(50, 20);
this.numericUpDown6.TabIndex = 17;
//
// numericUpDown2
//
this.numericUpDown2.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.StableModeConfigVmBindingSource, "PitchP", true));
this.numericUpDown2.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.StableModeConfigVmBindingSource, "PitchP", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
this.numericUpDown2.DecimalPlaces = 2;
this.numericUpDown2.Increment = new decimal(new int[] {
5,
@ -213,9 +269,37 @@
this.groupBox3.TabStop = false;
this.groupBox3.Text = "Roll";
//
// numericUpDown5
//
this.numericUpDown5.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.StableModeConfigVmBindingSource, "RollD", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
this.numericUpDown5.DecimalPlaces = 2;
this.numericUpDown5.Increment = new decimal(new int[] {
5,
0,
0,
131072});
this.numericUpDown5.Location = new System.Drawing.Point(23, 73);
this.numericUpDown5.Name = "numericUpDown5";
this.numericUpDown5.Size = new System.Drawing.Size(50, 20);
this.numericUpDown5.TabIndex = 16;
//
// numericUpDown4
//
this.numericUpDown4.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.StableModeConfigVmBindingSource, "RollI", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
this.numericUpDown4.DecimalPlaces = 2;
this.numericUpDown4.Increment = new decimal(new int[] {
5,
0,
0,
131072});
this.numericUpDown4.Location = new System.Drawing.Point(23, 46);
this.numericUpDown4.Name = "numericUpDown4";
this.numericUpDown4.Size = new System.Drawing.Size(50, 20);
this.numericUpDown4.TabIndex = 15;
//
// numericUpDown1
//
this.numericUpDown1.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.StableModeConfigVmBindingSource, "RollP", true));
this.numericUpDown1.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.StableModeConfigVmBindingSource, "RollP", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
this.numericUpDown1.DecimalPlaces = 2;
this.numericUpDown1.Increment = new decimal(new int[] {
5,
@ -257,7 +341,7 @@
// checkBox1
//
this.checkBox1.AutoSize = true;
this.checkBox1.DataBindings.Add(new System.Windows.Forms.Binding("Checked", this.StableModeConfigVmBindingSource, "MagnetometerEnable", true));
this.checkBox1.DataBindings.Add(new System.Windows.Forms.Binding("Checked", this.StableModeConfigVmBindingSource, "MagnetometerEnable", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
this.checkBox1.Location = new System.Drawing.Point(14, 112);
this.checkBox1.Name = "checkBox1";
this.checkBox1.Size = new System.Drawing.Size(94, 17);
@ -266,90 +350,6 @@
this.toolTips.SetToolTip(this.checkBox1, "Enable the use of the Magnetometer, if present");
this.checkBox1.UseVisualStyleBackColor = true;
//
// numericUpDown4
//
this.numericUpDown4.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.StableModeConfigVmBindingSource, "RollI", true));
this.numericUpDown4.DecimalPlaces = 2;
this.numericUpDown4.Increment = new decimal(new int[] {
5,
0,
0,
131072});
this.numericUpDown4.Location = new System.Drawing.Point(23, 46);
this.numericUpDown4.Name = "numericUpDown4";
this.numericUpDown4.Size = new System.Drawing.Size(50, 20);
this.numericUpDown4.TabIndex = 15;
//
// numericUpDown5
//
this.numericUpDown5.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.StableModeConfigVmBindingSource, "RollD", true));
this.numericUpDown5.DecimalPlaces = 2;
this.numericUpDown5.Increment = new decimal(new int[] {
5,
0,
0,
131072});
this.numericUpDown5.Location = new System.Drawing.Point(23, 73);
this.numericUpDown5.Name = "numericUpDown5";
this.numericUpDown5.Size = new System.Drawing.Size(50, 20);
this.numericUpDown5.TabIndex = 16;
//
// numericUpDown6
//
this.numericUpDown6.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.StableModeConfigVmBindingSource, "PitchI", true));
this.numericUpDown6.DecimalPlaces = 2;
this.numericUpDown6.Increment = new decimal(new int[] {
5,
0,
0,
131072});
this.numericUpDown6.Location = new System.Drawing.Point(23, 45);
this.numericUpDown6.Name = "numericUpDown6";
this.numericUpDown6.Size = new System.Drawing.Size(50, 20);
this.numericUpDown6.TabIndex = 17;
//
// numericUpDown7
//
this.numericUpDown7.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.StableModeConfigVmBindingSource, "PitchD", true));
this.numericUpDown7.DecimalPlaces = 2;
this.numericUpDown7.Increment = new decimal(new int[] {
5,
0,
0,
131072});
this.numericUpDown7.Location = new System.Drawing.Point(23, 72);
this.numericUpDown7.Name = "numericUpDown7";
this.numericUpDown7.Size = new System.Drawing.Size(50, 20);
this.numericUpDown7.TabIndex = 18;
//
// numericUpDown8
//
this.numericUpDown8.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.StableModeConfigVmBindingSource, "YawI", true));
this.numericUpDown8.DecimalPlaces = 2;
this.numericUpDown8.Increment = new decimal(new int[] {
5,
0,
0,
131072});
this.numericUpDown8.Location = new System.Drawing.Point(23, 46);
this.numericUpDown8.Name = "numericUpDown8";
this.numericUpDown8.Size = new System.Drawing.Size(50, 20);
this.numericUpDown8.TabIndex = 19;
//
// numericUpDown9
//
this.numericUpDown9.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.StableModeConfigVmBindingSource, "YawD", true));
this.numericUpDown9.DecimalPlaces = 2;
this.numericUpDown9.Increment = new decimal(new int[] {
5,
0,
0,
131072});
this.numericUpDown9.Location = new System.Drawing.Point(23, 71);
this.numericUpDown9.Name = "numericUpDown9";
this.numericUpDown9.Size = new System.Drawing.Size(50, 20);
this.numericUpDown9.TabIndex = 20;
//
// StableConfigView
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
@ -364,19 +364,19 @@
((System.ComponentModel.ISupportInitialize)(this.StableModeConfigVmBindingSource)).EndInit();
this.groupBox4.ResumeLayout(false);
this.groupBox4.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown9)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown8)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown3)).EndInit();
this.groupBox2.ResumeLayout(false);
this.groupBox2.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown7)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown6)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).EndInit();
this.groupBox3.ResumeLayout(false);
this.groupBox3.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown4)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown5)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown6)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown7)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown8)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown9)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown4)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();

View File

@ -124,8 +124,8 @@
<data name="button2.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAAOvgAA
Dr4B6kKxwAAAAtVJREFUOE9jYKAaiN/PweB3RIohcL8MGIPYIDFigVbd+cTIeXfuxS+5+yQWiCPn3X4o
YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAAOvQAA
Dr0BR/uQrQAAAtVJREFUOE9jYKAaiN/PweB3RIohcL8MGIPYIDFigVbd+cTIeXfuxS+5+yQWiCPn3X4o
X3Y2EaRfMOOojkbN2XKprCMGOM2TyDoakrfm3tcZ59/+nw7EnQef/dGqPJnKELhTLHzGtcNzT77+X7Hh
wQXdsuOeDAz1TKgGWazktG87M6dx95P/vcde/u8/8ep/4Zo772Sz9tsw+K8X8Oo9N7Nr18PP666+/1+z
8d5VsDgykEvZ4ZO/6taHroPP/sfOvHSvZM3tL7EzLt5hcFsuC1ZnPJNLJWtvYenqGx/mnnr1P3jCme0M

View File

@ -33,21 +33,19 @@ namespace ArducopterConfigurator
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(mainForm));
this.tabCtrlMonitorVms = new System.Windows.Forms.TabControl();
this.mainVmBindingSource = new System.Windows.Forms.BindingSource(this.components);
this.cmboComPorts = new System.Windows.Forms.ComboBox();
this.availablePortsBindingSource = new System.Windows.Forms.BindingSource(this.components);
this.btnConnect = new System.Windows.Forms.Button();
this.button1 = new System.Windows.Forms.Button();
this.lblConnectionStatus = new System.Windows.Forms.Label();
this.button2 = new System.Windows.Forms.Button();
this.toolTip = new System.Windows.Forms.ToolTip(this.components);
this.button3 = new System.Windows.Forms.Button();
this.button4 = new System.Windows.Forms.Button();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.linkLabel1 = new System.Windows.Forms.LinkLabel();
this.label1 = new System.Windows.Forms.Label();
this.btnConnect = new System.Windows.Forms.Button();
this.cmboComPorts = new System.Windows.Forms.ComboBox();
this.button1 = new System.Windows.Forms.Button();
this.lblConnectionStatus = new System.Windows.Forms.Label();
this.button2 = new System.Windows.Forms.Button();
((System.ComponentModel.ISupportInitialize)(this.mainVmBindingSource)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.availablePortsBindingSource)).BeginInit();
this.groupBox1.SuspendLayout();
this.SuspendLayout();
//
// tabCtrlMonitorVms
@ -60,7 +58,7 @@ namespace ArducopterConfigurator
this.tabCtrlMonitorVms.Location = new System.Drawing.Point(12, 10);
this.tabCtrlMonitorVms.Name = "tabCtrlMonitorVms";
this.tabCtrlMonitorVms.SelectedIndex = 0;
this.tabCtrlMonitorVms.Size = new System.Drawing.Size(530, 367);
this.tabCtrlMonitorVms.Size = new System.Drawing.Size(530, 383);
this.tabCtrlMonitorVms.TabIndex = 3;
this.tabCtrlMonitorVms.Selected += new System.Windows.Forms.TabControlEventHandler(this.tabCtrlConfigs_Selected);
//
@ -68,66 +66,6 @@ namespace ArducopterConfigurator
//
this.mainVmBindingSource.DataSource = typeof(ArducopterConfigurator.PresentationModels.MainVm);
//
// cmboComPorts
//
this.cmboComPorts.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.cmboComPorts.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.mainVmBindingSource, "SelectedPort", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
this.cmboComPorts.DataSource = this.availablePortsBindingSource;
this.cmboComPorts.FormattingEnabled = true;
this.cmboComPorts.Location = new System.Drawing.Point(6, 19);
this.cmboComPorts.Name = "cmboComPorts";
this.cmboComPorts.Size = new System.Drawing.Size(79, 21);
this.cmboComPorts.TabIndex = 5;
//
// btnConnect
//
this.btnConnect.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.btnConnect.Cursor = System.Windows.Forms.Cursors.Arrow;
this.btnConnect.DataBindings.Add(new System.Windows.Forms.Binding("Tag", this.mainVmBindingSource, "ConnectCommand", true));
this.btnConnect.Image = ((System.Drawing.Image)(resources.GetObject("btnConnect.Image")));
this.btnConnect.Location = new System.Drawing.Point(123, 16);
this.btnConnect.Name = "btnConnect";
this.btnConnect.Size = new System.Drawing.Size(26, 26);
this.btnConnect.TabIndex = 6;
this.toolTip.SetToolTip(this.btnConnect, "Connect");
this.btnConnect.UseVisualStyleBackColor = true;
//
// button1
//
this.button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.button1.Cursor = System.Windows.Forms.Cursors.Arrow;
this.button1.DataBindings.Add(new System.Windows.Forms.Binding("Tag", this.mainVmBindingSource, "DisconnectCommand", true));
this.button1.Image = ((System.Drawing.Image)(resources.GetObject("button1.Image")));
this.button1.Location = new System.Drawing.Point(154, 16);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(26, 26);
this.button1.TabIndex = 7;
this.toolTip.SetToolTip(this.button1, "Disconnect");
this.button1.UseVisualStyleBackColor = true;
//
// lblConnectionStatus
//
this.lblConnectionStatus.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.lblConnectionStatus.AutoSize = true;
this.lblConnectionStatus.Location = new System.Drawing.Point(186, 21);
this.lblConnectionStatus.Name = "lblConnectionStatus";
this.lblConnectionStatus.Size = new System.Drawing.Size(112, 13);
this.lblConnectionStatus.TabIndex = 8;
this.lblConnectionStatus.Text = "connection string here";
//
// button2
//
this.button2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.button2.Cursor = System.Windows.Forms.Cursors.Arrow;
this.button2.DataBindings.Add(new System.Windows.Forms.Binding("Tag", this.mainVmBindingSource, "RefreshPortListCommand", true));
this.button2.Image = ((System.Drawing.Image)(resources.GetObject("button2.Image")));
this.button2.Location = new System.Drawing.Point(91, 16);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(26, 26);
this.button2.TabIndex = 9;
this.toolTip.SetToolTip(this.button2, "Refresh port list");
this.button2.UseVisualStyleBackColor = true;
//
// button3
//
this.button3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
@ -152,20 +90,6 @@ namespace ArducopterConfigurator
this.toolTip.SetToolTip(this.button4, "Save to Eeprom");
this.button4.UseVisualStyleBackColor = true;
//
// groupBox1
//
this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.groupBox1.Controls.Add(this.button2);
this.groupBox1.Controls.Add(this.lblConnectionStatus);
this.groupBox1.Controls.Add(this.button1);
this.groupBox1.Controls.Add(this.cmboComPorts);
this.groupBox1.Controls.Add(this.btnConnect);
this.groupBox1.Location = new System.Drawing.Point(12, 383);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(317, 50);
this.groupBox1.TabIndex = 12;
this.groupBox1.TabStop = false;
//
// linkLabel1
//
this.linkLabel1.AutoSize = true;
@ -186,17 +110,81 @@ namespace ArducopterConfigurator
this.label1.TabIndex = 14;
this.label1.Text = "Use with caution!";
//
// btnConnect
//
this.btnConnect.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.btnConnect.Cursor = System.Windows.Forms.Cursors.Arrow;
this.btnConnect.DataBindings.Add(new System.Windows.Forms.Binding("Tag", this.mainVmBindingSource, "ConnectCommand", true));
this.btnConnect.Image = ((System.Drawing.Image)(resources.GetObject("btnConnect.Image")));
this.btnConnect.Location = new System.Drawing.Point(128, 407);
this.btnConnect.Name = "btnConnect";
this.btnConnect.Size = new System.Drawing.Size(26, 26);
this.btnConnect.TabIndex = 6;
this.toolTip.SetToolTip(this.btnConnect, "Connect");
this.btnConnect.UseVisualStyleBackColor = true;
//
// cmboComPorts
//
this.cmboComPorts.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.cmboComPorts.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.mainVmBindingSource, "SelectedPort", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
this.cmboComPorts.DataSource = this.availablePortsBindingSource;
this.cmboComPorts.FormattingEnabled = true;
this.cmboComPorts.Location = new System.Drawing.Point(11, 410);
this.cmboComPorts.Name = "cmboComPorts";
this.cmboComPorts.Size = new System.Drawing.Size(79, 21);
this.cmboComPorts.TabIndex = 5;
//
// button1
//
this.button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.button1.Cursor = System.Windows.Forms.Cursors.Arrow;
this.button1.DataBindings.Add(new System.Windows.Forms.Binding("Tag", this.mainVmBindingSource, "DisconnectCommand", true));
this.button1.Image = ((System.Drawing.Image)(resources.GetObject("button1.Image")));
this.button1.Location = new System.Drawing.Point(159, 407);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(26, 26);
this.button1.TabIndex = 7;
this.toolTip.SetToolTip(this.button1, "Disconnect");
this.button1.UseVisualStyleBackColor = true;
//
// lblConnectionStatus
//
this.lblConnectionStatus.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.lblConnectionStatus.AutoSize = true;
this.lblConnectionStatus.Location = new System.Drawing.Point(191, 412);
this.lblConnectionStatus.Name = "lblConnectionStatus";
this.lblConnectionStatus.Size = new System.Drawing.Size(112, 13);
this.lblConnectionStatus.TabIndex = 8;
this.lblConnectionStatus.Text = "connection string here";
//
// button2
//
this.button2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.button2.Cursor = System.Windows.Forms.Cursors.Arrow;
this.button2.DataBindings.Add(new System.Windows.Forms.Binding("Tag", this.mainVmBindingSource, "RefreshPortListCommand", true));
this.button2.Image = ((System.Drawing.Image)(resources.GetObject("button2.Image")));
this.button2.Location = new System.Drawing.Point(96, 407);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(26, 26);
this.button2.TabIndex = 9;
this.toolTip.SetToolTip(this.button2, "Refresh port list");
this.button2.UseVisualStyleBackColor = true;
//
// mainForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(554, 445);
this.Controls.Add(this.button2);
this.Controls.Add(this.label1);
this.Controls.Add(this.lblConnectionStatus);
this.Controls.Add(this.button1);
this.Controls.Add(this.linkLabel1);
this.Controls.Add(this.cmboComPorts);
this.Controls.Add(this.button4);
this.Controls.Add(this.btnConnect);
this.Controls.Add(this.button3);
this.Controls.Add(this.tabCtrlMonitorVms);
this.Controls.Add(this.groupBox1);
this.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.mainVmBindingSource, "Name", true));
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MinimumSize = new System.Drawing.Size(550, 400);
@ -205,8 +193,6 @@ namespace ArducopterConfigurator
this.SizeChanged += new System.EventHandler(this.mainForm_SizeChanged);
((System.ComponentModel.ISupportInitialize)(this.mainVmBindingSource)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.availablePortsBindingSource)).EndInit();
this.groupBox1.ResumeLayout(false);
this.groupBox1.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
@ -216,18 +202,17 @@ namespace ArducopterConfigurator
private System.Windows.Forms.TabControl tabCtrlMonitorVms;
private System.Windows.Forms.BindingSource mainVmBindingSource;
private System.Windows.Forms.ComboBox cmboComPorts;
private System.Windows.Forms.Button btnConnect;
private System.Windows.Forms.BindingSource availablePortsBindingSource;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.Label lblConnectionStatus;
private System.Windows.Forms.Button button2;
private System.Windows.Forms.ToolTip toolTip;
private System.Windows.Forms.Button button3;
private System.Windows.Forms.Button button4;
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.LinkLabel linkLabel1;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Button btnConnect;
private System.Windows.Forms.ComboBox cmboComPorts;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.Label lblConnectionStatus;
private System.Windows.Forms.Button button2;
}
}

View File

@ -123,32 +123,81 @@
<metadata name="availablePortsBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>170, 20</value>
</metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="btnConnect.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAAOuQAA
DrkBuAYXvwAAAl5JREFUOE+Vk91PkmEYxnFtbWxmbdGsbG3O3Go2a2vDLyRNQpSGmJCAKaJimRCigoAF
goRuhVnqCyTx4jA0P1plZWQurWgeuJV9HXTWQf9F2xUvB+/G4CCe7bfdB8993dd97XkyGGkeW1giABhd
GRmMkF2xtJRWuykoEllDEnz4Po+HETPMQXFXSgGjh8/u89aQ/b4aUMRqotdXLTL5RdjYmcX7bw+w+TWI
gekLSCmgHa8kn0Un8OtPNI7/lQX6ST7WtgN4vX0XM2s96CcE0N6rTHRgW5Du1k3ygpPLeqxs3UEgoomz
/mUamztzePLRiannHdC4z0I9UqJLmE6FY59rRGh9CK32M7AHxbj/VEnjX70O92ITOpxFaLGeTmyWLkh3
WUhxbLcwfvxehf+FGTJTAYweHlxz9TTupSa4SBUuGU5MJO3eS1THAvLGrA/j088Qppb7UK/Lg2asGJYA
j2b2rQ0ibe7fJIFrbi7C7ww065+9GAt3o/ZKDtpchdARxXF6PKUQqA8lp9/mZBNmby18LztpVrbcGCXV
qFKyoBjKR+d4IWQ3j6GyZT+Z5EBuKRhUO0swOi/B7cVGmscbDjh8zeDKsyDUHgRHlkmWy7PYCQIXe/MG
VVY2VqJTGH5UB4OnAtYZAQ0ZGYBxvA4Vzft8SZNrrx42KIyFWNx0wxzgo33kFIRdR6C4cRx6b2kcpeMk
lQWR8tXx27Mx++ZWLJwyKGz54KkOUHDOKVlEVSsLFFR9/nJ2bkqBcvkeg7A7Bw2mo+Aq9qJMnslJ64dR
l4skTFFJA5MsljATw/kPpX+3FV/8pJwsRgAAAABJRU5ErkJggg==
</value>
</data>
<metadata name="toolTip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>376, 20</value>
</metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="button3.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAALCAAA
CwgBwL2l2gAABLRJREFUWEftVm1Mk1cYJVn8NxPjD7Nl2YeAWWJCliWbYxuwDzIdYDHIpgiKG9IBqYVR
UEuFgu8AKZ+1CGg7ZUBhDtdYMykMaPmmxSJfwoAhTuwYCBuEIIgMPOu9TnRY2rVz4Y8/Tpomvfec8zzn
eXrtANitJlaVnBh/KsDqCmxVeGCjzB52Yrt/4GXZRrxT7GasqnWZslqAk9wJv6EHbYvV0C6qULNwAao/
z6FhsQwvFjn8/wLWSdei854GknkBUuaiIZzhgjfNhnpRCbu8Z1DT3GqVCLMVICVdI1kDQkqwVvos/Wxd
rETmXT4SZyIhuM1BxNQBVBirsLwt5Du5o6q7ZUVRZgWUddXRfst6xTDc64R6vhSq+SKU3s1Fyp0o6v7Q
1BcIHfFD6sRRJIwfwtExHrJnU3BwkI3npM8jp+obsxX5VxlwlL2KL+tDoF+oRO4sQ53HT4eDPxUKzq0A
BBl84X/DG58N7UbKVBz89D6wl25CQZXCYkssCtDqtBDxWNgpdYG7wg21s0pIZ9MoOXc8cImcNxqC9MkE
vHXxDXhkbUYs9z0U5+dYzINFAV9nCTDQrsDcRAvkOgYOZ1+B/NYpFMxlgz28B/tv+iJ5IgbMMB+Ocntk
KgLQoWbQeIEP0ZG9tguoq1NDHB+MSP8tEIZ7UQg4nmBHuuKFnA0Q9PAgm8mEZDoZkX2h2JC9Hqz9r8Nv
hzN8t2+Bj+ebyIzxBcPZDuX5QutCqG3RIUvwCfQaGXZ7OCE31hsnBSyciGEh44gXmMNb4ZC2Hj41XmBp
tuEl0Tpw2a4ID3RFWIALgv3eRtAuZ/S3FKIsPwLHIz5CedlFkyJMtoA4b1XnIT3+APw9NqOA2UFxJsEb
UiGLihHzPbEt0RHujAMYrjviwj4En/0+ooLcqJCD+97FgF6ONrUE+al7VmyHSQHkstjgD3BJnoS5yXZM
DKkwNqjEaH8phnuKMdRxBtevnMY1fQ76dSfwU2M6uutT0VWTTPt/pTIB+oo4tKgEkCXuonfxA52hKlc9
VgWTAsovKSCJDcDCzABmxpoxNax+TIThauGSkAF9nlFINnqbxOhuyEBXXRo6NSK0q5OgUwmRGuWF0u+K
TI7kihUQR7njSYJUwdQfldkx/NhlE0QMFwLeTorY6E8phIf9KBL4/hSMYJ9JiDMEIHeUa5pQ3WB6HZsV
8Ln3a1B9nwZ5bhhKTnFwVhJGUXCSg8JcLoX8dOQSSmTReBTlylwEeDqtSG7xRURacPNqCVp/FNJgkYB1
apLQVXucho6A9Jr0vKs+g/afoKPmPgx9ZXSPrOTeKgHt1cfQqU78m1xEk9/XnIF+bRadhGuXJXQqrrc+
xPRILc2RuvGydYvoQVjIYUP3t8vcp1DnRAAh/1knpuSU2DiaN9rvY6hDituj9U9CwDmj6xRafjLn3fUP
3S8nJ6QPMNpXYhzhxv8m4KsIbwy2FeLX3vMY6VdgdEBpXEg/4PdfVMa9UIFJQxXdEdMjNZg2uiWEs+PN
uPOH1ggdJgwaHAtnQdOkt7EFTAi9wNZ9QM5mxLNRp2uzTQDJAjlM3nkkSI+CJNsSiHNz5BanwNonti2/
t/ggseVSa848FbDqFfgLoMCNleS/y/EAAAAASUVORK5CYII=
</value>
</data>
<data name="button4.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
R0lGODlhIAAYAIcAAAAAAIAAAACAAICAAAAAgIAAgACAgMDAwMDcwKbK8BISEh0dHSEhISIiISUlIDc3
Nzw8PD09PURERExMTGdnZ21tbYuLi5+fn6ioqKqqqvT09Pr6+v39/f7+/v///wAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP/78KCgpICAgP8AAAD/AP//AAAA//8A/wD/////
/yH/C05FVFNDQVBFMi4wAwEBAAAh+QQBAAD9ACwAAAAAIAAYAAAI3gD7CRzY70LBgwYTIiTIsKHAChkg
SoxIcaLDi/0iZNDIcaPHjhgbSoBAsqTJkxBCCrxQIYJLlDAhMGAwgULIDBsjLKDwoKfPnw9m4sR5kaXL
CBQsAF06k6ZNjDhdLp3qwMHQDEVbSp0KtGnNmzm5dmVwNetRsT+9Pr0YNQJanw0alHVodOtbtWDtohU6
1KxesXihhn0blGxfulrdEg7MdvBdw0QRH11AubLlygoUOA2JYePlz5ivYlVJtnQG06hHqxw4IUPr165j
w15NkEIG27hv685NmyDW3/2AC8cYEAA7
</value>
</data>
<data name="btnConnect.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAAOuAAA
DrgBakH1WwAAAllJREFUOE+Vk91PkmEYxtna2tzM2qJZ2dqcudVs1NaGX0iShKgNMV8TMEVULBNCVBCw
QJDUrTBKfAElXpyIptkyKzNjSWXzwK3s66CzDvov2q6Ag3djcBDP9ttzn9zXfd3XnofBSPNYQoTQPEes
RG8izVYGwxAQicyzBD58X8CjdSOMAXFXShG9W8Du81RR/d4qxIjWZK+3UmTwibC5G8T7b1OIfA1gYPoS
UgqonTxqZWsCv/5sxfG9MkHrEmBjx4/XO/cxs9GDflII9QNeogPLYsNejYsfcC1rsbp9D/51VZzwl2lE
dufx9KMdk887oHKch3K0WJMwPRaOdb4Rs+EhtFrPwRoQ4+EzOY1v7SYcS03osBeixXw2sblhsWGPiRJH
dwvhx+81+F4YITEUQO/mY2S+jsbxpAkjlAJXdKcmknbvJSujAXmi1ofx6ecsJpf7UKfJg2q8CCY/nyb4
1gKROvdvksANBxehdzqa8GcPxkPdqL6Wg7YRFjRkUZwedwmEyiPJ6bfZ2aTRUw3vy06a1W0HxiglKuRM
yIby0elkQXL7BHgtB6kkB1JTwaDSXoyxBQJ3lxppHm/aYPM2gyvNQo36MDiSTKpMmsVOELjcmzeoMLOx
ujWJ4bla6NzlMM8Iaaj1AeidtShvPuBNmlx9/ahOpmdhKeKA0S9A++gZ1HQdg+zWSWg9JXHkttOxLMiU
r07Qno3gmzvRcEohs+SDrzgUg3NBziQrWpmIEasvXs3OTSlQJt2nq+nOQb3hOLiy/SiVZnLS/mWFRIao
uD6DKiIyEsP5D6V/yZResf187DwAAAAASUVORK5CYII=
</value>
</data>
<data name="button1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAAOuQAA
DrkBuAYXvwAAAmhJREFUOE+Vk21IU1EYxwdBYG479567uzvdSzMTIbEUwpAWmAoVNjHMDKoPYVSKlBbL
YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAAOuAAA
DrgBakH1WwAAAmhJREFUOE+Vk21IU1EYxwdBYG479567uzvdSzMTIbEUwpAWmAoVNjHMDKoPYVSKlBbL
SsgKsQ81NV1LGjLaqJmgNm/zhd6gCDOyPqS1jDLJXuxT0Nfg37nTLr0sqQs/zoFznx/P+T8cjeY/vxvi
ko0RKTE8YNJuXbBUlvQ5slHrl406KPQbdV62FkcsFNNnajG62QFZ1Fb+VdLLil8e24uvEV+MsR1FCLPi
qaYafD5VhneN+xBO5hBXcE3UV46UbcCHhnK83Z0VY7a5CjOeE5ipcyJaloE+qwDlv7iCbo1mcUjiMJqX
@ -164,8 +213,8 @@
<data name="button2.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAAOuQAA
DrkBuAYXvwAAAtVJREFUOE9jYKAaiN/PweB3RIohcL8MGIPYIDFigVbd+cTIeXfuxS+5+yQWiCPn3X4o
YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAAOuAAA
DrgBakH1WwAAAtVJREFUOE9jYKAaiN/PweB3RIohcL8MGIPYIDFigVbd+cTIeXfuxS+5+yQWiCPn3X4o
X3Y2EaRfMOOojkbN2XKprCMGOM2TyDoakrfm3tcZ59/+nw7EnQef/dGqPJnKELhTLHzGtcNzT77+X7Hh
wQXdsuOeDAz1TKgGWazktG87M6dx95P/vcde/u8/8ep/4Zo772Sz9tsw+K8X8Oo9N7Nr18PP666+/1+z
8d5VsDgykEvZ4ZO/6taHroPP/sfOvHSvZM3tL7EzLt5hcFsuC1ZnPJNLJWtvYenqGx/mnnr1P3jCme0M
@ -178,55 +227,6 @@
LyBmXtqpHTHvk27IlGt8KuFuDCK2RhrB0x4rJW3+LxmzARjym/7rBE99wqkQY47sTUYghx2IxRgY+I04
xW3yWHnUUoB8LwYm7ghuOc+pvCoRy3lUIxfzqcUsEFSPamIV1NOB6gHpBQNQ2gaFPi8QCwKxKBBLArEU
EEtA+cJAWgCIuaGawfkBAATBFuWVyulDAAAAAElFTkSuQmCC
</value>
</data>
<data name="button3.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAALCQAA
CwkBEvpHPgAABLtJREFUWEftVmtMk2cUZln8NxPjD7Nl2UXALDEhy5LNsQ3YhUwHWAyyKcLEDemA1MIo
qKVCwQ6QW6EWAW1VBhTmcI01k8KAttxbLHITBgxxYsdA2CCkgsjAZ31fJzos7dq58Gdf8uRLk77nec45
zznf+xQAh1V9iIDVxKqS0+qvZvZ2Cdgq98JGqSMcRA5/w0vSjXi71MMU07aW2lwBF5kLfkUv2hdroV1U
QrNwAco/zqFxsQIvlDj99wLWSdai654a4nke0uZiwZ9hg2NkQrWogEPB09C0tNkkwmIFSEnXiNeAkBKs
lTxD322L1ci+y0XyTDR4t1mImt6PKlMVlreF/CYxanpaVxRlUUBFdz3tt7RPBMO9Lqjmy6GcL0H53Xyk
3Ymh2R+c/gLhowHImDyCpImDODLOQe5sGg4MMfGs5Dnk1XxtsSL/yAPO0lfwZUMY9AvVyJ8V0MwTjZHg
ToeDdSsIIQZ/BN7wxWfDu5E2nYAAvR8cJZtQVCO32hKrArQ6LdI5DOyUuMFT7oG6WQUks5mUnD0RvETO
GQtD1lQS3rz4OrxyNiOe/S5KC/Os+sGqgNM5PAx2yDE32QqZTgCnsy9DduskiuZywRzZg303/ZE6GQfB
CBfOMkdky4PQqRKg6QIX6Yc/tV9Afb0KosRQRAduAT/Sh4LH8gYz2h3P520Ar5cD6Uw2xMZURPeHY0Pu
ejD2vYaAHa7w374Fft5vIDvOHwLWdijOF9tmQm2rDjm8j6FXS7HbywX58b44wWPgeBwDwsM+EBzaCqfM
9fDT+ICh3oYX09eBzXRHZLA7IoLcEBrwFkJ2uWKgtRgVhVE4FvUhKisumhVhtgUk8zZVAbIS9yPQazOK
BDsoziT5QsJnUDEirje2JTvDU+AEAdsTCREfgMt8DzEhHlTIgb3vYFAvQ7tKjMKMPSu2w6wAEiw+9H1c
kqVgbqoDk8NKjA8pMDZQjpHeUgx3nsH1K6dwTZ+HAd1x/NiUhZ6GDHRrUmn/r1QnQV+VgFYlD9LkXTQW
N9gVykrlY1UwK6Dykhzi+CAszAxiZrwF0yOqx0QYrhYvCRnUF5iE5KKvWYSeRiG66zPRpU5HhyoFOiUf
GTE+KP+2xOxIrlgBUYwnniRIFcx9qCyO4Udum5AuYIPH2UkRH/sJBf9QAEUSN5BCwNtrFiIhDyRGpboZ
tY3m17FFAZ/7vgrld5mQ5Ueg7CQLZ8URFEUnWCjOZ1PITkUvoUwai0dRqchHkLfLiuRW7wOkBTevlqHt
Bz41FjFYlzoF3XXHqOkISK9Jz7sbhLT/BJ2a+zD0V9A9slL2NgnoqD2KLlXyX+Tp1Pn9LUIMaHPoJFy7
LKZTcb3tIYyjddRHqqbLti2iB2Yhhw093yzLPo1mTgQQ8p90IkpOiU2jeaPjPoY7Jbg91vAkBJwzZZ1G
y0/mvKfhYfbLyQnpA4z1l5lGuOnfCfgqyhdD7cX4pe88RgfkGBtUmBbS9/jtZ6VpL1RhylBDd4RxVAOj
KVtCODvRgju/a03QYdKgxtFIBtTNejtbIAijAezdB+SsMJGJel27fQKIF8hhcs8jRnoUxNnWQDK3RG51
Cmy9Ytvzf6sXEnuC2nLmfwGrXoE/AXhkMPOAC4TjAAAAAElFTkSuQmCC
</value>
</data>
<data name="button4.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
R0lGODlhIAAYAPcAAAAAAIAAAACAAICAAAAAgIAAgACAgMDAwMDcwKbK8BISEh0dHSEhISIiISUlIDc3
Nzw8PD09PURERExMTGdnZ21tbYuLi5+fn6ioqKqqqvT09Pr6+v39/f7+/v///wAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP/78KCgpICAgP8AAAD/AP//AAAA//8A/wD/////
/yH5BAEAAP0ALAAAAAAgABgAAAjeAPsJHNjvQsGDBhMiJMiwocAKGSBKjEhxosOL/SJk0Mhxo8eOGBtK
gECypMmTEEIKvFAhgkuUMCEwYDCBQsgMGyMsoPCgp8+fD2bixHmRpcsIFCwAXTqTpk2MOF0unerAwdAM
RVtKnQq0ac2bObl2ZXA161GxP70+vRg1AlqfDRqUdWh061u1YO2iFTrUrF6xeKGGfRuUbF+6Wt0SDsx2
8F3DRBEfXUC5suXKChQ4DYlh4+XPmK9iVUm2dAbTqEerHDghQ+vXrmPDXk2QQgbbuG/rzk2bINbf/YAL
xxgQADs=
</value>
</data>
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">