示例#1
0
        public static void EditorPreferences()
        {
            EditorGUILayout.HelpBox(
                "Change this setting to new location of Stickies if you move the folder around in your project.",
                MessageType.Warning);
            StickiesHomeFolder.Draw();
            EditorGUILayout.Space();
            ConfirmDeleting.Draw();
            OffsetInProjectView.Draw();
            FontSize.Draw();

            // hierarchy
            GUILayout.Space(15f);
            EditorGUILayout.LabelField("Experimental", EditorStyles.boldLabel);
            EditorGUILayout.HelpBox(
                "This feature is experimental, relies on reflection and therefore might slow down editor performance.",
                MessageType.Warning);
            EnableHierarchyStickies.Draw();
            GUI.enabled = EnableHierarchyStickies;
            OffsetInHierarchyView.Draw();
            GUI.enabled = true;

            GUILayout.FlexibleSpace();
            EditorGUILayout.LabelField("Version 1.1.1", EditorStyles.miniLabel);
        }
示例#2
0
        public SakaiParser285(WebBrowser webBrowser, string initialUrl, string userName, string password)
        {
            InitialUrl = initialUrl;
            UserName = userName;
            Password = password;
            confidentLoad = false;
            assignmentsParsed = false;
            dctWorksites = new Dictionary<string, string>();
            dctAssignmentItems = new Dictionary<string, Assignment>();
            dctStudentInfos = new Dictionary<string, StudentInfo>();
            dctTestAndQuizzesItems = new Dictionary<string, TestsAndQuizzes>();
            spTasks = new Queue<WebBrowserTask>();
            worksiteName = "";
            linkToMembership = "";
            SPException = null;
            this.webBrowser = webBrowser;
            webBrowser.DocumentCompleted += webBrowser_DocumentCompleted;
            

            confirmDeletingVoid = new ConfirmDeleting(InvokeGroupDeleting);
            confirmInvokeAssignment = new ConfirmDeleting(InvokeAssignmentItemPost);
            confirmAssignmentItemMessage = new ConfirmDeleting(GetAssignmentItemMessage);

        }