Example #1
0
File: Form1.cs Project: Drenn1/ZOTE
 void setBles(bool b)
 {
     panel1.Enabled = b;
     saveToolStripMenuItem.Enabled = b;
     searchWordToolStripMenuItem.Enabled = b;
     dumpDictionaryToolStripMenuItem.Enabled = b;
     dicToolStripMenuItem.Enabled = b;
     if (!b)
     {
         fSearch = null;
         fDictionary = null;
     }
 }
Example #2
0
File: Form1.cs Project: Drenn1/ZOTE
 private void searchWordToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (fSearch == null)
         fSearch = new frmSearch(gb);
     if (fSearch.ShowDialog() != DialogResult.OK)
         return;
     int i = fSearch.lstResult.SelectedIndex;
     nLocation.Value = Convert.ToInt32(fSearch.lstResult.Items[i].ToString(), 16);
     button1_Click(null, null);
 }