Esempio n. 1
0
 public void gotoAddressToolStripMenuItem_Click(object sender, EventArgs e)
 {
     GoToAddressForm gtaf = new GoToAddressForm(SelectedAddress);
     gtaf.ShowDialog();
     SelectedAddress = gtaf.Value;
     this.Invalidate();
 }
Esempio n. 2
0
 private void gotoAddressToolStripMenuItem_Click(object sender, EventArgs e)
 {
     GoToAddressForm gtaf = new GoToAddressForm(SelectedAddress);
     if (gtaf.ShowDialog() == DialogResult.OK)
     {
         SelectedAddress = gtaf.Value;
         this.Invalidate();
     }
 }