Beispiel #1
0
        // bring up edit form for Airline
        // links:
        //  docLink: http://sql2x.org/documentationLink/c7fc6d72-476a-4d4b-b327-08e419db92a5
        private void dataGridViewAirline_DoubleClick(object sender, EventArgs e)
        {
            var editForm = new AirlineEdit();

            editForm.MdiParent = this.MdiParent;
            editForm.ShowAsEdit((System.Guid)dataGridViewAirline.CurrentRow.Cells["AirlineId"].Value);
        }
Beispiel #2
0
        // bring up add form for Airline
        // links:
        //  docLink: http://sql2x.org/documentationLink/99b0d247-c5de-47a0-a27a-a6825fb73541
        private void buttonAirlineAdd_Click(object sender, EventArgs e)
        {
            var editForm = new AirlineEdit();

            editForm.MdiParent = this.MdiParent;
            editForm.ShowAsAddByRules(_userId);
        }