public void viewAttributes(int softwareID, string softwareName) { mSoftware_ID = softwareID; ViewAttributes viewSoftwareAttributes = new ViewAttributes(mSoftware_ID, softwareName, aUser); viewSoftwareAttributes.Show(); }
public Attribute_s_(Attributes info, int attributeType, ViewAttributes attributes, int softwareID) { _attributesInfo = info; _softwareID = softwareID; InitializeComponent(); SetTextUpdate(attributeType); _attributeType = attributeType; _attributes = attributes; _update = true; }
public Attribute_s_(List <Attributes> info, int attributeType, ViewAttributes attributes, int softareID) { _attributesesInfoAll.AddRange(info); InitializeComponent(); SetTextUpdate(attributeType); _attributeType = attributeType; _attributes = attributes; _softwareID = softareID; lblSoftwareID.Text = softareID.ToString(); _update = true; }
/// <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(); }