Commit a14371b2 by 鲁志-悦动

点击保存、发送位置时开始、结束、无效位置按钮取消选中

parent 83605bc1

//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
namespace XamlGeneratedNamespace {
/// <summary>
/// GeneratedInternalTypeHelper
/// </summary>
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
public sealed class GeneratedInternalTypeHelper : System.Windows.Markup.InternalTypeHelper {
/// <summary>
/// CreateInstance
/// </summary>
protected override object CreateInstance(System.Type type, System.Globalization.CultureInfo culture) {
return System.Activator.CreateInstance(type, ((System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic)
| (System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.CreateInstance)), null, null, culture);
}
/// <summary>
/// GetPropertyValue
/// </summary>
protected override object GetPropertyValue(System.Reflection.PropertyInfo propertyInfo, object target, System.Globalization.CultureInfo culture) {
return propertyInfo.GetValue(target, System.Reflection.BindingFlags.Default, null, null, culture);
}
/// <summary>
/// SetPropertyValue
/// </summary>
protected override void SetPropertyValue(System.Reflection.PropertyInfo propertyInfo, object target, object value, System.Globalization.CultureInfo culture) {
propertyInfo.SetValue(target, value, System.Reflection.BindingFlags.Default, null, null, culture);
}
/// <summary>
/// CreateDelegate
/// </summary>
protected override System.Delegate CreateDelegate(System.Type delegateType, object target, string handler) {
return ((System.Delegate)(target.GetType().InvokeMember("_CreateDelegate", (System.Reflection.BindingFlags.InvokeMethod
| (System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance)), null, target, new object[] {
delegateType,
handler}, null)));
}
/// <summary>
/// AddEventHandler
/// </summary>
protected override void AddEventHandler(System.Reflection.EventInfo eventInfo, object target, System.Delegate handler) {
eventInfo.AddEventHandler(target, handler);
}
}
}
......@@ -10,11 +10,11 @@ none
false
21870986562
2-725104376
31364711570
17-1683084370
3947974750
17-1462717611
Themes\Generic.xaml;Widgets\FootballFieldPanel\FootballFieldPanel.xaml;
False
True
C:\Projects\FGOUT\VIZ.FGOUT\VIZ.FGOUT.Common\obj\x64\Debug\GeneratedInternalTypeHelper.g.cs

FC:\Projects\FGOUT\VIZ.FGOUT\VIZ.FGOUT.Common\Themes\Generic.xaml;;
FC:\Projects\FGOUT\VIZ.FGOUT\VIZ.FGOUT.Common\Widgets\FootballFieldPanel\FootballFieldPanel.xaml;;
......
......@@ -1132,10 +1132,17 @@ namespace VIZ.FGOUT.Module
private void CleanRect()
{
//三个按钮取消选中
ThreePositionButtonsUnChecked();
cleanPlaceModel.CleanPlace = true;
ApplicationDomain.MessageManager.Send(cleanPlaceModel);
//三个按钮取消选中
//InvalidEnable = EndEnable = StartEnable = true;
}
/// <summary>
/// 三个标记位置按钮取消选中
/// </summary>
private void ThreePositionButtonsUnChecked()
{
InvalidIsChecked = EndIsChecked = StartIsChecked = false;
}
......@@ -1148,6 +1155,9 @@ namespace VIZ.FGOUT.Module
ApplicationDomain.MessageManager.Send(displayPlaceModel);
}
/// <summary>
/// 位置按钮可用
/// </summary>
private void PositionButtonEnable()
{
//6个位置相关按钮都可用
......@@ -1162,6 +1172,7 @@ namespace VIZ.FGOUT.Module
public SendPlaceModel sendPlaceModel = new SendPlaceModel();
private void SendPlace()
{
ThreePositionButtonsUnChecked();
ApplicationDomain.MessageManager.Send(sendPlaceModel);
}
......@@ -1172,11 +1183,12 @@ namespace VIZ.FGOUT.Module
public SavePlaceModel savePlaceModel = new SavePlaceModel();
private void SavePlace()
{
if(IsAutoEnable)
savePlaceModel.IsManual = true;
else
savePlaceModel.IsManual = false;
savePlaceModel.IsStartMat = IsStartImaget;
ThreePositionButtonsUnChecked();
//if(IsAutoEnable)
// savePlaceModel.IsManual = true;
//else
// savePlaceModel.IsManual = false;
//savePlaceModel.IsStartMat = IsStartImaget;
ApplicationDomain.MessageManager.Send(savePlaceModel);
}
......
C:\Projects\FGOUT\VIZ.FGOUT\VIZ.FGOUT.Module\obj\x64\Debug\GeneratedInternalTypeHelper.g.cs

FC:\Projects\FGOUT\VIZ.FGOUT\VIZ.FGOUT.Module\NDIMainView\View\NDIMainView.xaml;;
FC:\Projects\FGOUT\VIZ.FGOUT\VIZ.FGOUT.Module\NDIPreviewView\View\NDIPreviewView.xaml;;
......
This source diff could not be displayed because it is too large. You can view the blob instead.
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