Exemple #1
0
        private void addToolStripMenuItem_Click(object sender, EventArgs e)
        {
            toolStripStatusLabel1.Text = "New Act can be added";
            frmActs obj = new frmActs();

            obj.StartActs(1, 0);
            toolStripStatusLabel1.Text = "New Act is added";
        }
 private void button1_Click(object sender, EventArgs e)
 {
     if (dataGridView1.SelectedRows.Count > 0)
     {
         int     a   = Convert.ToInt32(dataGridView1.SelectedRows[0].Cells[0].Value);
         frmActs obj = new frmActs();
         obj.StartActs(2, a);
         RefreshData();
     }
 }