private void BackBTN_Click(object sender, EventArgs e) { try { SubscribeRequestCTRL.Back(); NextBTN.Visible = SubscribeRequestCTRL.CanCallNext; BackBTN.Visible = SubscribeRequestCTRL.CanCallBack; } catch (Exception exception) { ClientUtils.HandleException(this.Text, exception); } }
/// <summary> /// Adds the items to monitor. /// </summary> public void AddItems(params ReadValueId[] nodesToRead) { SubscribeRequestCTRL.AddItems(nodesToRead); NextBTN.Visible = SubscribeRequestCTRL.CanCallNext; BackBTN.Visible = SubscribeRequestCTRL.CanCallBack; }
/// <summary> /// Set the subscription managed by the control. /// </summary> public void SetSubscription(Subscription subscription) { SubscribeRequestCTRL.SetSubscription(subscription); NextBTN.Visible = SubscribeRequestCTRL.CanCallNext; BackBTN.Visible = SubscribeRequestCTRL.CanCallBack; }
/// <summary> /// Changes the session used for the subscription. /// </summary> public void ChangeSession(Session session) { SubscribeRequestCTRL.ChangeSession(session); m_session = session; }