private void ToolStripButton3_Click(object sender, EventArgs e)
        {
            StationResponseForm frm = new StationResponseForm();

            frm.Text      = "New StationResponse";
            frm.TopLevel  = false;
            frm.MdiParent = this.MdiParent;
            frm.Show();
        }
        private void editToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var rowIndex = dgvStationResponseList.SelectedRows[0].Index;

            StationResponse stationResponse = Get(rowIndex);

            if (stationResponse != null)
            {
                StationResponseForm frm = new StationResponseForm(stationResponse);
                frm.Text      = "Edit StationResponse";
                frm.TopLevel  = false;
                frm.MdiParent = this.MdiParent;
                frm.Show();
            }
        }
        private void dgvStationResponseList_CellContentClick(object sender, DataGridViewCellEventArgs e)
        {
            var rowIndex = e.RowIndex;

            if (rowIndex >= 0)
            {
                StationResponse stationResponse = Get(rowIndex);
                if (stationResponse != null)
                {
                    StationResponseForm frm = new StationResponseForm(stationResponse);
                    frm.Name      = "Edit StationResponse";
                    frm.TopLevel  = false;
                    frm.MdiParent = this.MdiParent;
                    frm.Show();
                }
            }
        }