public void SettingsModified(object sender, PanelInfoArgs e)
 {
     if (e.HidInstance.Equals(_multiPanelPZ70.HIDInstance))
     {
         Dispatcher?.BeginInvoke((Action)(ShowGraphicConfiguration));
     }
 }
Exemplo n.º 2
0
 public void SettingsModified(object sender, PanelInfoArgs e)
 {
     try
     {
         //todo nada?
     }
     catch (Exception ex)
     {
         Common.ShowErrorMessageBox(ex);
     }
 }
Exemplo n.º 3
0
 public void SettingsApplied(object sender, PanelInfoArgs e)
 {
     try
     {
         if (e.HidInstance.Equals(_streamDeckPanel.HIDInstance) && e.PanelType == _streamDeckPanel.TypeOfPanel)
         {
             SDEventHandler.NotifyToSyncConfiguration(this, _streamDeckPanel.BindingHash);
         }
     }
     catch (Exception ex)
     {
         Common.ShowErrorMessageBox(ex);
     }
 }
 public void SettingsModified(object sender, PanelInfoArgs e)
 {
     try
     {
         if (_switchPanelPZ55.HIDInstance == e.HidInstance)
         {
             Dispatcher?.BeginInvoke((Action)(ShowGraphicConfiguration));
         }
     }
     catch (Exception ex)
     {
         Common.ShowErrorMessageBox(ex);
     }
 }
 public void SettingsApplied(object sender, PanelInfoArgs e)
 {
     try
     {
         if (e.PanelType == GamingPanelEnum.PZ55SwitchPanel && e.HidInstance.Equals(_switchPanelPZ55.HIDInstance))
         {
             Dispatcher?.BeginInvoke((Action)(ShowGraphicConfiguration));
             Dispatcher?.BeginInvoke((Action)(() => TextBoxLogPZ55.Text = string.Empty));
         }
     }
     catch (Exception ex)
     {
         Common.ShowErrorMessageBox(ex);
     }
 }
Exemplo n.º 6
0
        public void SettingsModified(object sender, PanelInfoArgs e)
        {
            try
            {
                if (!UserControlLoaded)
                {
                    return;
                }

                if (_backlitPanelBIP.HIDInstance.Equals(e.HidInstance))
                {
                    Dispatcher?.BeginInvoke((Action)(ShowGraphicConfiguration));
                }
            }
            catch (Exception ex)
            {
                Common.ShowErrorMessageBox(ex);
            }
        }
 public void SettingsModified(object sender, PanelInfoArgs e)
 {
 }
 public void SettingsApplied(object sender, PanelInfoArgs e)
 {
 }