Eu criei um DataGridView com a primeira coluna sendo um DataGridViewCheckBoxColumn (CheckBox), e uma outra coluna com nome, ae que vem o problema eu preciso que abra um formulário apenas quando o usuario clicar na celula da checkbox, tipo o usuario pode clicar a vontade na linha , mais quando ele clicar na celula da checkbox que apareça uma mensagem.
Alguem pode me ajudar ?
Manipulando Datagridview C#
Started By
Lucas99
, 08/01/2015, 11:17
4 replies to this topic
#1
Posted 08/01/2015, 11:17
#2
Posted 09/01/2015, 10:28
Amigo, no evento CellContentClick do seu datagrid adicione:
private void dataGridView1_CellContentClick(object sender, DataGridViewCellEventArgs e) { //Verificamos se e somente se a celula "Coluna1" foi clicada if (e.ColumnIndex == dataGridView1.Columns["Coluna1"].Index) { //interrompe a edição dataGridView1.EndEdit(); MessageBox.Show("abrindo um form..."); } }
Edição feita por: Danilomaru, 09/01/2015, 10:29.
#3
Posted 30/11/2017, 04:55
Buy Cialis In Canada Cheap Online Levitra buy cialis Dosis Cialis Cheap Propecia Generic
Sildenafil 150 Mg Sublingual viagra Keflex For Cats Amoxicillin Clavulanate Use In Children Kamagra Jelly Efectos Secundarios
Viagra Authentique cialis online Amoxicillin Alternative
Sildenafil 150 Mg Sublingual viagra Keflex For Cats Amoxicillin Clavulanate Use In Children Kamagra Jelly Efectos Secundarios
Viagra Authentique cialis online Amoxicillin Alternative
#4
Posted 05/11/2022, 16:19
Antiestrogen, such as tamoxifen TAM, reduces plasma lipids in OL and CONT, but not in OFC, hens and has no effect on fattiness in any of them priligy premature ejaculation pills On FA, a large hypofluorescent, butterfly shaped macular lesion will appear
#5
Posted 15/12/2022, 02:46
Data were collected at baseline and 1 week, 4 weeks and 3, 6, 9 and 12 months post randomisation Table 2 and at 1 week and 4 weeks post restarting the IMP, if applicable azithromycin 500mg dosage for chlamydia the minute you get off the scales and the weight is signed off then then you consume a solution of waxy maize starch, follow this up about 15 mins later with some 15 30g whey
0 user(s) are reading this topic
0 membro(s), 0 visitante(s) e 0 membros anônimo(s)