private void menuFindByKey_Click(object sender, EventArgs e)
        {
            DialogFindByKey fbk = new DialogFindByKey(map);

            try
            {
                fbk.ShowDialog(this);           // it does all the work
            }
            finally
            {
                fbk.Dispose();
            }
        }
Exemple #2
0
 private void menuFindByKey_Click(object sender, EventArgs e)
 {
     DialogFindByKey fbk = new DialogFindByKey(map);
     try
     {
         fbk.ShowDialog(this);           // it does all the work
     }
     finally
     {
         fbk.Dispose();
     }
 }