Example #1
0
        private void toolStripButton_CheckList_Click(object sender, EventArgs e)
        {
            CheckList novo = new CheckList(CodigoVeiculo);

            if (novo.ShowDialog() == DialogResult.OK)
            {
                textBox_CheckList.Text = "Realizado";
            }
        }
Example #2
0
 private void toolStripButton_CheckList_Click(object sender, EventArgs e)
 {
     if (veiculo != null)
     {
         CheckList novo = new CheckList(codVeiculo);
         if (novo.ShowDialog() == DialogResult.OK)
         {
             textBox_CheckList.Text = "Realizado";
         }
     }
     else
     {
         MessageBox.Show("Selecione um veiculo!");
     }
 }