Question : delete facebook account

deleting my facebook account and dont remember password and dont remember email password

Answer : delete facebook account

Hi,
  it is best practice to use "using" to create,show and destroy the modal forms. you should check for whether user is changed something and clicked accept button (which a button sets DialogResult = DialogResult.OK).if he click "cancel" button (which a button sets DialogResult = DialogResult.Cancel), you should not do update cell value. have attached sample.

ViewAgenciesByJobsForm.ShowDialog(this)

sets current form as parent form.
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
if (e.ColumnIndex == 0 && e.RowIndex > 0)
{
  using  (frmLookupJob ViewAgenciesByJobsForm =
                       ViewAgenciesByJobsForm = new frmLookupJob())
  {
     if(ViewAgenciesByJobsForm.ShowDialog(this) == DialogResult.OK))
         dgvViewJobLinker[1,dgvViewJobLinker.CurrentCell.RowIndex].Value                   = ViewAgenciesByJobsForm.CellValue;

   }
}


in frmLookupJob , it will something like:

(1) btnOk click event :
    CellValue = "my new Value"
    DialogResult   =DialogResut.OK;

(2) btnCancel click event :
    DialogResult   =DialogResut.Cancel;
Random Solutions  
 
programming4us programming4us