KinectWithVRServer.MainWindow.UpdateGUISettings C# (CSharp) Method

UpdateGUISettings() private method

private UpdateGUISettings ( ) : void
return void
        private void UpdateGUISettings()
        {
            for (int i = 0; i < server.serverMasterOptions.kinectOptionsList.Count; i++)
            {
                for (int j = 0; j < kinectOptionGUIPages.Count; j++)
                {
                    if (kinectOptionGUIPages[j].version == server.serverMasterOptions.kinectOptionsList[i].version &&
                        kinectOptionGUIPages[j].uniqueKinectID == server.serverMasterOptions.kinectOptionsList[i].uniqueKinectID)
                    {
                        kinectOptionGUIPages[j].kinectID = server.serverMasterOptions.kinectOptionsList[i].kinectID;
                        kinectOptionGUIPages[j].UpdateGUI(server.serverMasterOptions);
                        break;
                    }
                }
            }
            //TODO: Delete all kinect options pages with a null Kinect ID

            VoiceTextDataGrid.ItemsSource = server.serverMasterOptions.voiceTextCommands;
            VoiceButtonDataGrid.ItemsSource = server.serverMasterOptions.voiceButtonCommands;

            //TODO: Add the rest of the GUI updates here.
        }
MainWindow