/*======================================*/ /* Open new window when link is clicked to add values to db */ private void LinkClicked(string whichLink) { AddToDb newAdd = new AddToDb(whichLink); newAdd.ShowDialog(); fillComboBox(whichLink); }
private void SupportTypeLinkLabel_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { AddToDb newAddSupportType = new AddToDb("supporttypes"); newAddSupportType.ShowDialog(); }
private void FittingTypesLinkLabel_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { AddToDb newAddFittingType = new AddToDb("fittingtypes"); newAddFittingType.ShowDialog(); }