private void addMaterialLink_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { MaterialsGUI gui = new MaterialsGUI(new Material()); if (gui.ShowDialog(this) == DialogResult.OK) { currentMaterial = gui.Material; MaterialManager.Instance.Materials[currentMaterial.Name] = currentMaterial; UpdateMaterialsComboBox(); } }