public void loadRoute()
        {
            if (getNewTableView().Rows.Count > 0)
            {
                // Prompt user (ask if they want to save ()
                if (this.NewRouteTableModified)
                {
                    DialogResult result = MessageBox.Show("New Route been modified. Would you like to save?", "Save Results",
                                                          MessageBoxButtons.YesNoCancel, MessageBoxIcon.Question);
                    if (result == DialogResult.Yes)
                    {
                        // Save Before Entering the Loading Panel
                        SaveRouteDlg saveRouteDlg = new SaveRouteDlg(this);
                    }
                    else if (result == DialogResult.No)
                    {
                        this.clearNewRouteTable();
                        // Replace the "New Route" Text with "Load Route" Text
                        // Add a child window for loading a route from the DB
                        newRouteTableLabel.Text = "Load Route";

                        LoadRouteDlg loadRtDlg = new LoadRouteDlg(this);
                    }
                }
            }
            else
            {
                this.clearNewRouteTable();
                // Replace the "New Route" Text with "Load Route" Text
                // Add a child window for loading a route from the DB
                newRouteTableLabel.Text = "Load Route";

                LoadRouteDlg loadRtDlg = new LoadRouteDlg(this);
            }
        }
 public async void saveBtnHelper()
 {
     if (this.newRouteTable.Rows.Count == 0)
     {
         MessageBox.Show("No Anchors Exist For This Route. Please Add anchors.", "No Anchors",
                         MessageBoxButtons.OK,
                         MessageBoxIcon.Information);
         return;
     }
     // Add modal or message box prompting user for name to save
     SaveRouteDlg saveRouteDlg = new SaveRouteDlg(this);
 }