23 lines
739 B
C#
23 lines
739 B
C#
/*
|
|
* Copyright (c) 2025 LG Electronics Inc.
|
|
* SPDX-License-Identifier: LicenseRef-LGE-Proprietary
|
|
*/
|
|
using System.Windows.Controls;
|
|
|
|
namespace VisionUI.Camera {
|
|
/// <summary>
|
|
/// 서브 메뉴 클릭시, 메인 카메라 윈도우를 활성화 시킴.
|
|
/// </summary>
|
|
public partial class SubMenuMainCamWindow : UserControl {
|
|
public SubMenuMainCamWindow() {
|
|
InitializeComponent();
|
|
}
|
|
|
|
private void UserControl_IsVisibleChanged(object sender, System.Windows.DependencyPropertyChangedEventArgs e) {
|
|
bool isVisible = (bool)e.NewValue;
|
|
if (isVisible == true) {
|
|
CameraUcManager.Instance.ShowMainCameraViewWindow();
|
|
}
|
|
}
|
|
}
|
|
} |