コード例 #1
0
 public FirstRunCancelPage(FirstRun firstRun)
 {
     this.PageInstructions = "Any changes you have made will not be saved. If you would like to continue this wizard at a later time you can access OML from Program Library.\n\nSelect Finish to exit.";
     this.PageTitle        = "Setup Canceled";
     this.owner            = firstRun;
     this.owner.NextCommandEnabled.Value = false;
 }
コード例 #2
0
        public FirstRunConfigureStartMenu(FirstRun firstRun)
        {
            this.PageInstructions = "How would you like to access Open Media Library?";
            this.PageTitle        = "Start Menu";
            this.owner            = firstRun;
            this.owner.NextCommandEnabled.Value = true;

            string addinId = OMLApplication.AssemblyName;

            this.helper = new StartMenuHelper(addinId);

            this.selectedViewOptions = new Choice(this.owner);
            List <string> selectedViewList = new List <string>();

            if (this.helper.StartMenuItems.Count > 0)
            {
                selectedViewList.Add(strKeepExisting);
            }
            selectedViewList.Add(strCreateStrip);
            selectedViewList.Add(strProgramLibrary);

            this.selectedViewOptions.Options     = selectedViewList;
            this.selectedViewOptions.ChosenIndex = 0;

            this.selectedViewOptions.ChosenChanged += new EventHandler(selectedViewOptions_ChosenChanged);

            this.FocusContent = true;
        }
コード例 #3
0
 public FirstRunStartPage(FirstRun firstRun)
 {
     this.PageInstructions = "This wizard will help you configure Open Media Library to access your media library.\n\nSelect Next to get started.";
     this.PageTitle = "Welcome to Open Media Library";
     this.owner = firstRun;
 }
コード例 #4
0
 public FirstRunFinishPage(FirstRun firstRun)
 {
     this.PageInstructions = "You have finished configuring Open Media Library. For these changes to take effect please restart Media Center.\n\nSelect Finish to exit.";
     this.PageTitle = "You Are Done!";
     this.owner = firstRun;
 }
コード例 #5
0
        public FirstRunConfigureStartMenu(FirstRun firstRun)
        {
            this.PageInstructions = "How would you like to access Open Media Library?";
            this.PageTitle = "Start Menu";
            this.owner = firstRun;
            this.owner.NextCommandEnabled.Value = true;

            string addinId = OMLApplication.AssemblyName;
            this.helper = new StartMenuHelper(addinId);

            this.selectedViewOptions = new Choice(this.owner);
            List<string> selectedViewList = new List<string>();

            if(this.helper.StartMenuItems.Count>0)
                selectedViewList.Add(strKeepExisting);
            selectedViewList.Add(strCreateStrip);
            selectedViewList.Add(strProgramLibrary);

            this.selectedViewOptions.Options = selectedViewList;
            this.selectedViewOptions.ChosenIndex = 0;

            this.selectedViewOptions.ChosenChanged += new EventHandler(selectedViewOptions_ChosenChanged);

            this.FocusContent = true;
        }
コード例 #6
0
 public FirstRunCancelPage(FirstRun firstRun)
 {
     this.PageInstructions = "Any changes you have made will not be saved. If you would like to continue this wizard at a later time you can access OML from Program Library.\n\nSelect Finish to exit.";
     this.PageTitle = "Setup Canceled";
     this.owner = firstRun;
     this.owner.NextCommandEnabled.Value = false;
 }
コード例 #7
0
 public FirstRunStartPage(FirstRun firstRun)
 {
     this.PageInstructions = "This wizard will help you configure Open Media Library to access your media library.\n\nSelect Next to get started.";
     this.PageTitle        = "Welcome to Open Media Library";
     this.owner            = firstRun;
 }
コード例 #8
0
 public FirstRunFinishPage(FirstRun firstRun)
 {
     this.PageInstructions = "You have finished configuring Open Media Library. For these changes to take effect please restart Media Center.\n\nSelect Finish to exit.";
     this.PageTitle        = "You Are Done!";
     this.owner            = firstRun;
 }