private void btnAdd_Click(object sender, EventArgs e)
        {
            foreach (Form form in Application.OpenForms)
            {
                if (form.Name == "frmBusRouteDetail")
                {
                    form.Close();
                    break;
                }
            }

            frmBusRouteDetail busRouteDetailForm = new frmBusRouteDetail();

            busRouteDetailForm.MdiParent = this.MdiParent;
            busRouteDetailForm.Show();
            beenHere = false;
        }
        private void btnEdit_Click(object sender, EventArgs e)
        {
            if (grdBusRouteList.Rows.Count <= 0 || grdBusRouteList.CurrentRow == null)
            {
                return;
            }

            foreach (Form form in System.Windows.Forms.Application.OpenForms)
            {
                if (form.Name == "frmBusRouteDetail")
                {
                    form.Close();
                    break;
                }
            }

            frmBusRouteDetail busRouteDetailForm = new frmBusRouteDetail(int.Parse(grdBusRouteList.CurrentRow.Cells[0].Value.ToString()));

            busRouteDetailForm.MdiParent = this.MdiParent;
            busRouteDetailForm.Show();
            beenHere = false;
        }