Ejemplo n.º 1
0
 // ==================================================================================
 // Add Route Group Methods ==========================================================
 // ==================================================================================
 private void addRoute_btn_Click(object sender, EventArgs e)
 {
     editRoute_groupBox.Hide();
     deleteRoute_groupBox.Hide();
     addRoute_groupBox.Show();
     FormDatabaseHelper.fillAirportsAbv(add_origin_comboBox);
     FormDatabaseHelper.fillAirportsAbv(add_dest_comboBox);
 }
Ejemplo n.º 2
0
 public LoadEngLandingPage()
 {
     InitializeComponent();
     editRoute_groupBox.Hide();
     deleteRoute_groupBox.Hide();
     addRoute_groupBox.Show();
     FormDatabaseHelper.fillAirportsAbv(add_origin_comboBox);
     FormDatabaseHelper.fillAirportsAbv(add_dest_comboBox);
 }
Ejemplo n.º 3
0
        // ==================================================================================
        // Delete Route Group Methods and Variables =========================================
        // ==================================================================================
        private void deleteRoute_btn_Click(object sender, EventArgs e)
        {
            addRoute_groupBox.Hide();
            deleteRoute_groupBox.Show();
            editRoute_groupBox.Hide();
            FormDatabaseHelper.fillAirportsAbv(del_origin_combobox);
            FormDatabaseHelper.fillAirportsAbv(del_destination_combobox);

            DataTable     newEditTable = FormDatabaseHelper.updateEditGridViewTable(null, null);
            BindingSource SBind        = new BindingSource();

            SBind.DataSource = newEditTable;
            deleteTableColumnSetup();
            del_flights_datagridview.DataSource = SBind;
            del_flights_datagridview.Refresh();
        }
Ejemplo n.º 4
0
        public MarketingLandingPage()
        {
            InitializeComponent();

            DataTable     newEditTable = FormDatabaseHelper.updateAccountGridViewTable();
            BindingSource SBind        = new BindingSource();

            SBind.DataSource = newEditTable;
            flightsTableColumnSetup();
            marketing_datagrid.DataSource = SBind;
            marketing_datagrid.Refresh();

            FormDatabaseHelper.FillPlaneModelsBox(planesModels_comboBox);
            FormDatabaseHelper.fillAirportsAbv(origin_combobox);
            FormDatabaseHelper.fillAirportsAbv(dest_combobox);
        }
Ejemplo n.º 5
0
        public FlightManLandingPage()
        {
            InitializeComponent();

            DataTable     newEditTable = FormDatabaseHelper.updateAccountGridViewTable();
            BindingSource SBind        = new BindingSource();

            SBind.DataSource = newEditTable;
            flightsTableColumnSetup();
            flights_dataview.DataSource = SBind;
            flights_dataview.Refresh();

            FormDatabaseHelper.fillAirportsAbv(origin_combobox);
            FormDatabaseHelper.fillAirportsAbv(dest_combobox);

            flight_search_groupbox.Show();
            manifest_groupbox.Hide();
        }