| 12345678910111213141516171819202122232425262728293031323334353637 |
- using SHJX.Service.Control.Common.Assets;
- using System.Windows.Controls;
- using shjxCamera;
- namespace SHJX.Service.Shell.Views.Manual
- {
- /// <summary>
- /// Interaction logic for TitrationManualWindow.xaml
- /// </summary>
- 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;
- }
- }
- }
|