Esempio n. 1
0
        /// <summary>
        /// 调用系统的“整理收藏夹”
        /// </summary>
        public static void OrganizeFavorites()
        {
            ShellUIHelper helper = new ShellUIHelper();
            object        o      = null;

            helper.ShowBrowserUI("OrganizeFavorites", ref o);
        }
Esempio n. 2
0
        private void 整理收藏夹ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ShellUIHelper ui   = new ShellUIHelper();
            object        path = null;

            ui.ShowBrowserUI("OrganizeFavorites", ref path);
        }
Esempio n. 3
0
        /// <summary>
        /// Execute the command
        /// </summary>
        public override void Execute()
        {
            // constant for calling Languages dialog
            const string LANGUAGE_DIALOG = "LanguageDialog";

            // call organize favorites dialog
            object objNull = null;

            ShellUIHelper.ShowBrowserUI(LANGUAGE_DIALOG, ref objNull);
        }
Esempio n. 4
0
        /// <summary>
        /// Execute the command
        /// </summary>
        public override void Execute()
        {
            // constant for calling Organize Favorites dialog
            const string ORGANIZE_FAVORITES = "OrganizeFavorites";

            // call organize favorites dialog
            object objNull = null;

            ShellUIHelper.ShowBrowserUI(ORGANIZE_FAVORITES, ref objNull);
        }