Exemple #1
0
            public static int LaunchBuiltInApplication(Apps app, string task = "")
            {
                string enchanted = task;

                if (task == "" || task == " ") //check if there is a better task than empty.
                {
                    var def = Ext.GetDefaultTask(app);

                    if (def != null)
                    {
                        enchanted = def;
                    }
                }

                if (app < Apps.FeedbackDirect && app > Apps.Settings)
                {
                    //Description Attribute
                    return(LaunchApplication(GuidFromApp(app), enchanted));
                }
                else
                {
                    return(LaunchApplication(Ext.GetDescription(app), enchanted));
                }
            }