Commit 403ffa74 authored by 潘栩锋's avatar 潘栩锋 🚴

修复 由于flyad7 的改版, position2 , Addr 都改了,需要修改界面功能

parent cc67c361
......@@ -457,9 +457,8 @@ namespace Flyad7_WPF
private void button_connect1_Click(object sender, RoutedEventArgs e)
{
IPEndPoint result = Misc.StringConverter.ToIPEndPoint(param.EPStr);
flyad.Connect(result);
flyad.Connect(param.EPStr);
button_connect.IsEnabled = false;
textbox_ip.IsEnabled = false;
}
......
......@@ -94,8 +94,8 @@ namespace Flyad7_WPF
private void button_setPosition2_Click(object sender, RoutedEventArgs e)
{
flyad.Position2 = Position2;
MessageBox.Show("flyad.Position2 = " + Position2.ToString());
//flyad.Position2 = Position2;
//MessageBox.Show("flyad.Position2 = " + Position2.ToString());
}
private void button_setPos2Shift_Click(object sender, RoutedEventArgs e)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment