public ucConvertVideoToAav(ConvertVideoToAavOperation operation, VideoController videoController) : this() { m_Operation = operation; m_VideoController = videoController; m_RoiSelector = m_VideoController.CurrentImageTool as RoiSelector; nudFirstFrame.Minimum = videoController.VideoFirstFrame; nudFirstFrame.Maximum = videoController.VideoLastFrame - 1; nudFirstFrame.Value = nudFirstFrame.Minimum; nudLastFrame.Minimum = videoController.VideoFirstFrame; nudLastFrame.Maximum = videoController.VideoLastFrame - 1; nudLastFrame.Value = nudLastFrame.Maximum; nudStartingAtFrame.Minimum = videoController.VideoFirstFrame; nudStartingAtFrame.Maximum = videoController.VideoLastFrame - 1; nudStartingAtFrame.Value = nudFirstFrame.Minimum; AutoDetectVTIOSDPosition(); m_State = AavConfigState.ConfirmingVtiOsdPosition; UpdateControlState(); }
public ucConvertVideoToAav(ConvertVideoToAavOperation operation, VideoController videoController) : this() { m_Operation = operation; m_VideoController = videoController; nudFirstFrame.Minimum = videoController.VideoFirstFrame; nudFirstFrame.Maximum = videoController.VideoLastFrame - 1; nudFirstFrame.Value = nudFirstFrame.Minimum; nudLastFrame.Minimum = videoController.VideoFirstFrame; nudLastFrame.Maximum = videoController.VideoLastFrame - 1; nudLastFrame.Value = nudLastFrame.Maximum; nudStartingAtFrame.Minimum = videoController.VideoFirstFrame; nudStartingAtFrame.Maximum = videoController.VideoLastFrame - 1; nudStartingAtFrame.Value = nudFirstFrame.Minimum; UpdateVtiOsdPositions(TangraContext.Current.FrameHeight - 28, TangraContext.Current.FrameHeight); AutoDetectVTIOSDPosition(); m_State = AavConfigState.ConfirmingVtiOsdPosition; UpdateControlState(); }