Example #1
0
        private void btnPrint_Click(object sender, EventArgs e)
        {
            btnPrint.Enabled  = false;
            btnEdit.Enabled   = false;
            btnDelete.Enabled = false;
            WeaponBytesForm form = new WeaponBytesForm(editer, lvMain.SelectedItems[0].Tag as WeaponMemoryInfo);

            if (form.ShowDialog() == DialogResult.Yes)
            {
                CanSave();
            }
        }
 private void btnPrint_Click(object sender, EventArgs e)
 {
     btnPrint.Enabled = false;
     btnEdit.Enabled = false;
     btnDelete.Enabled = false;
     WeaponBytesForm form = new WeaponBytesForm(editer,lvMain.SelectedItems[0].Tag as WeaponMemoryInfo);
     if (form.ShowDialog() == DialogResult.Yes)
     {
         CanSave();
     }
 }