/// <summary>
        ///
        /// </summary>
        /// <param name="softwareId"></param>
        /// <param name="softwareName"></param>
        /// <param name="att"></param>
        /// <param name="InsertType"></param>
        /// <param name="configItemID">If adding a config item document this value should be set</param>
        public void openAttributeForm(int softwareId, string softwareName, DashBoard att, int InsertType = 0, int configItemID = 0)
        {
            mSoftware_ID = softwareId;
            switch (InsertType)
            {
            case 1:
                Attribute_s_ AddAttributeSoftwareDOC = new Attribute_s_(softwareId, softwareName, att, InsertType);
                AddAttributeSoftwareDOC.Show();
                break;

            case 2:
            {
                if (configItemID == 0)
                {
                    Attribute_s_ AddAttributeConfig = new Attribute_s_(softwareId, softwareName, att, InsertType);
                    AddAttributeConfig.Show();
                }
                else
                {
                    Attribute_s_ AddAttributeConfig = new Attribute_s_(softwareId, softwareName, att, InsertType,
                                                                       configItemID);
                    AddAttributeConfig.Show();
                }
            }
            break;

            case 3:

                break;

            default:
                Attribute_s_ AddAttributes = new Attribute_s_(mSoftware_ID, softwareName, att);
                AddAttributes.Show();
                break;
            }
        }
        /// <summary>
        /// Method for editing all attributes for a specific software
        /// item count should be only three
        /// </summary>
        /// <param name="attributeses">List of the attributes</param>
        /// <param name="update">numeric value for displaying data </param>
        public void openAttributForEditAll(List <Attributes> attributeses, int update, ViewAttributes att, int software)
        {
            Attribute_s_ attForm = new Attribute_s_(attributeses, update, att, software);

            attForm.Show();
        }
        /// <summary>
        /// Used for updating attributes
        /// </summary>
        /// <param name="info">Class containing info for an attribute</param>
        public void openAttributForEdit(Attributes info, int update, ViewAttributes att, int software = 0)
        {
            Attribute_s_ attForm = new Attribute_s_(info, update, att, mSoftware_ID);

            attForm.Show();
        }