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

            frmBusDetail busDetailForm = new frmBusDetail();

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

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

            frmBusDetail busDetailForm = new frmBusDetail(int.Parse(grdBusList.CurrentRow.Cells[0].Value.ToString()));

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