private void toolStripButton3_Click(object sender, EventArgs e) { if (this.dataGridView1.CurrentCell != null) { MaterielPopup popup = new MaterielPopup(this, Convert.ToInt32(this.dataGridView1.Rows[this.dataGridView1.CurrentCell.RowIndex].Cells["id"].Value)); popup.Show(); } }
private void toolStripButton1_Click(object sender, EventArgs e) { MaterielPopup popup = new MaterielPopup(this, 0); popup.Show(); }