Exemplo n.º 1
0
        private void button6_Click(object sender, EventArgs e)
        {
            try
            {
                int selectedSchedule = int.Parse(grdMain.SelectedRows[0].Cells[0].Value.ToString());

                Forms.Frm_Link_Zone frmLinkZone = new Forms.Frm_Link_Zone(selectedSchedule);
                frmLinkZone.ShowDialog();
            }
            catch
            {
                Exception ex = new Exception("Please select a schedule to link form the grid below!");
                HandleException(ex);
            }
        }
Exemplo n.º 2
0
        private void button6_Click(object sender, EventArgs e)
        {
            try
            {
                int selectedSchedule = int.Parse(grdMain.SelectedRows[0].Cells[0].Value.ToString());

                Forms.Frm_Link_Zone frmLinkZone = new Forms.Frm_Link_Zone(selectedSchedule);
                frmLinkZone.ShowDialog();
            }
            catch
            {
                Exception ex = new Exception("Please select a schedule to link form the grid below!");
                HandleException(ex);
            }
        }