Esempio n. 1
0
        private void SelfButton_Click(object sender, EventArgs e)
        {
            Button      bttn        = sender as Button;
            ShowElement showElement = new ShowElement(0, bttn.Tag.ToString());

            showElement.Show();
        }
Esempio n. 2
0
 private void lapViewDataGridView_CellContentClick(object sender, DataGridViewCellEventArgs e)
 {
     if (e.RowIndex >= 0)
     {
         DataGridViewRow row         = lapViewDataGridView.Rows[e.RowIndex];
         ShowElement     showElement = new ShowElement(2, row.Cells[0].Value.ToString());
         showElement.Show();
     }
 }