AutoWikiBrowser.Plugins.Kingbotk.ManualAssessments.Assessments.Assessments C# (CSharp) Method

Assessments() private method

private Assessments ( PluginSettingsControl vPluginSettings ) : System
vPluginSettings AutoWikiBrowser.Plugins.Kingbotk.Components.PluginSettingsControl
return System
        internal Assessments(PluginSettingsControl vPluginSettings)
        {
            _pluginSettings = vPluginSettings;

            // Get a reference to the cleanup checkboxes:
            foreach (Control ctl in PluginManager.AWBForm.OptionsTab.Controls["groupBox6"].Controls)
            {
                if (ReferenceEquals(ctl.GetType(), typeof (CheckBox)))
                    _awbCleanupCheckboxes.Add((CheckBox) ctl);
            }
            ToggleAWBCleanup(_pluginSettings.Cleanup);

            _pluginSettings.CleanupCheckBox.CheckedChanged += CleanupCheckBox_CheckedChanged;
            PluginManager.AWBForm.TheSession.StateChanged += EditorStatusChanged;
            PluginManager.AWBForm.SaveButton.Click += Save_Click;
            PluginManager.AWBForm.SkipButton.Click += Skip_Click;
        }