private void variableToolStripMenuItem_Click(object sender, EventArgs e) { ClassInfo ci = ClassFiles.GetClassInfo(tabControl2.SelectedTab.Text); Form popup = new NewVariable(ci, FindMethod()); popup.ShowDialog(); JustAdded = true; }
private void linkLabel3_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { //check which method this variable should go ClassInfo ci = ClassFiles.GetClassInfo(tabControl2.SelectedTab.Text); NewVariable nv = new NewVariable(ci, FindMethod()); nv.OverrideComponents(VariableName, VariableType, VariableValue, PublicRadio3, PrivateRadio3, StaticCheck3, FinalCheck3); JustAdded = nv.ProcessContents(); }