Exemplo n.º 1
0
 private void methodToolStripMenuItem_Click(object sender, EventArgs e)
 {
     Form popup = new NewMethod(tabControl2.SelectedTab.Name);
     popup.ShowDialog();
     JustAdded = true;
 }
Exemplo n.º 2
0
 private void button1_Click(object sender, EventArgs e)
 {
     Form popup = new NewMethod(tabControl2.SelectedTab.Name);
     popup.ShowDialog();
     JustAdded = true;
 }
Exemplo n.º 3
0
 private void linkLabel2_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
 {
     NewMethod nm = new NewMethod(tabControl2.SelectedTab.Name);
     nm.OverrideComponents(MethodName, ReturnType, PublicRadio2, PrivateRadio2, StaticCheck2, FinalCheck2);
     nm.ProcessContents();
     MethodName.Text = ReturnType.Text = ParameterText.Text = "";
     PublicRadio2.Checked = PrivateRadio2.Checked = StaticCheck2.Checked = FinalCheck2.Checked = false;
     parameters = null;
     JustAdded = true;
 }