19 lines
633 B
C#
19 lines
633 B
C#
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();
|
|
}
|
|
}
|
|
}
|
|
} |