OSAE.UI.Controls.AddControlPropertyLabel.LoadCurrentScreenObject C# (CSharp) Method

LoadCurrentScreenObject() private method

Load the objects from the DB into the combo box
private LoadCurrentScreenObject ( string controlName ) : void
controlName string
return void
        private void LoadCurrentScreenObject(string controlName)
        {
            OSAEImageManager imgMgr = new OSAEImageManager();
            cboObject.Text = OSAEObjectPropertyManager.GetObjectPropertyValue(controlName, "Object Name").Value;
            cboProperty.Text = OSAEObjectPropertyManager.GetObjectPropertyValue(controlName, "Property Name").Value;
            txtFont.Text = OSAEObjectPropertyManager.GetObjectPropertyValue(controlName, "Font Name").Value;
            txtSize.Text = OSAEObjectPropertyManager.GetObjectPropertyValue(controlName, "Font Size").Value;
            cboForeColor.Text = OSAEObjectPropertyManager.GetObjectPropertyValue(controlName, "Fore Color").Value;
            cboBackColor.Text = OSAEObjectPropertyManager.GetObjectPropertyValue(controlName, "Back Color").Value;
            txtPrefix.Text = OSAEObjectPropertyManager.GetObjectPropertyValue(controlName, "Prefix").Value;
            txtSuffix.Text = OSAEObjectPropertyManager.GetObjectPropertyValue(controlName, "Suffix").Value;
            txtX.Text = OSAEObjectPropertyManager.GetObjectPropertyValue(controlName, "X").Value;
            txtY.Text = OSAEObjectPropertyManager.GetObjectPropertyValue(controlName, "Y").Value;
            txtZOrder.Text = OSAEObjectPropertyManager.GetObjectPropertyValue(controlName, "ZOrder").Value;
        }