using SHJX.Service.Control.Common.Assets; using System.Windows.Controls; using shjxCamera; namespace SHJX.Service.Shell.Views.Manual { /// /// Interaction logic for TitrationManualWindow.xaml /// public partial class Titration2ManualWindow : UserControl { public Titration2ManualWindow() { InitializeComponent(); if (Globals.Camera2 is not null) { Globals.Camera2.ShowControl(ref pnlSignal, 0, 0, pnlSignal.Width, pnlSignal.Height); if (!Globals.Camera2.IsOpened) { Globals.Camera2.OpenCamera(); } } } private void ManualTitrationCommandButton_Click(object sender, System.Windows.RoutedEventArgs e) { ManualTitrationCommandButton.IsEnabled = false; ManualTitrationCommandButtonStop.IsEnabled = true; } private void Button_Click(object sender, System.Windows.RoutedEventArgs e) { ManualTitrationCommandButton.IsEnabled = true; ManualTitrationCommandButtonStop.IsEnabled = false; } } }