Esempio n. 1
0
        private bool ValidateResults()
        {
            foreach (KeyValuePair <int, MouseFrameViewModel> frame in m_Frames)
            {
                MouseFrameViewModel mouseFrame = frame.Value;

                if (!mouseFrame.Validate())
                {
                    return(false);
                }
            }

            return(true);
        }
Esempio n. 2
0
        private bool ValidateResults(out string message)
        {
            message = string.Empty;

            foreach (KeyValuePair <int, MouseFrameViewModel> frame in m_Frames)
            {
                MouseFrameViewModel mouseFrame = frame.Value;

                string mouseFrameMessage = string.Empty;
                if (!mouseFrame.Validate(ref mouseFrameMessage))
                {
                    message = mouseFrameMessage + " from index: " + mouseFrame.IndexNumber;
                    return(false);
                }
            }

            return(true);
        }