Пример #1
0
 private void btnView_Click(object sender, EventArgs e)
 {
     if (tblInventory.SelectedItems.Count <= 0)
     {
         MessageBox.Show("No Entry Selected", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
     else
     {
         PropertyDetails newwind = new PropertyDetails(id);
         newwind.Show();
     }
 }
        private void tblDisposal_DoubleClick(object sender, EventArgs e)
        {
            PropertyDetails newwind = new PropertyDetails(invid);

            newwind.Show();
        }