コード例 #1
0
        private void SetDataMenu()
        {
            IsMainMenu           = false;
            BackButton.IsEnabled = true;
            label.Content        = "Patient Data";

            Item1.Content = "Patient Information";
            Item2.Content = "Operation List";
            Item3.Content = "Organ Information";
            Item4.Content = "X-Ray 1";
            Item5.Content = "X-Ray 2";

            if (!ViewModel.IsMI)
            {
                Item1.Focus();
            }
        }
コード例 #2
0
        private void SetMainMenu()
        {
            IsMainMenu           = true;
            BackButton.IsEnabled = false;
            label.Content        = "Main Menu";

            Item1.Content = "Lighting Control";
            Item2.Content = "Interaction Parameters";
            Item3.Content = "Option 3";
            Item4.Content = "Data Search";
            Item5.Content = "Option 5";

            if (!ViewModel.IsMI)
            {
                Item1.Focus();
            }
        }