Ejemplo n.º 1
0
        private void searchButton_Click_1(object sender, EventArgs e)
        {
            //var tab = tablesTab.SelectedTab.ToString();

            //switch (tab)
            //{
            //    case "Street":
            //        UpdateMethods.ShowRecordStreet(searchStrIDTB, searchStrNNTB, searchStrONTB, searchStrFDTB, searchDGV, "street");
            //        break;

            //    case "Square":
            //        UpdateMethods.ShowRecordSquare(searchSqrIDTB, searchSqrNNTB, searchSqrONTB, searchSqrFDTB, searchDGV, "square");
            //        break;

            //    case "Sight":
            //        UpdateMethods.ShowRecordSight(searchSightIDTB, searchSightNTB, searchSightFDTB, searchSightStrIDTB, searchDGV, "sight");
            //        break;

            //    case "Background":
            //        UpdateMethods.ShowRecordBackground(searchBcgrIDTB, searchBcgrSourceTB, searchBcgrContTB, searchBcgrYearTB, searchBcgrSightIDTB, searchDGV, "background");
            //        break;

            //    default:
            //        MessageBox.Show("Something went wrong!");
            //        break;
            //}

            UpdateMethods.ShowRecordStreet(searchStrIDTB, searchStrNNTB, searchStrONTB, searchStrFDTB, searchDGV, "street");
        }
Ejemplo n.º 2
0
 private void searchBcgrButton_Click(object sender, EventArgs e)
 {
     UpdateMethods.ShowRecordBackground(searchBcgrIDTB, searchBcgrSourceTB, searchBcgrContTB, searchBcgrYearTB, searchBcgrSightIDTB, searchDGV, "background");
 }
Ejemplo n.º 3
0
 private void searchSightButton_Click(object sender, EventArgs e)
 {
     UpdateMethods.ShowRecordSight(searchSightIDTB, searchSightNTB, searchSightFDTB, searchSightStrIDTB, searchDGV, "sight");
 }
Ejemplo n.º 4
0
 private void searchSqrButton_Click(object sender, EventArgs e)
 {
     UpdateMethods.ShowRecordSquare(searchSqrIDTB, searchSqrNNTB, searchSqrONTB, searchSqrFDTB, searchDGV, "square");
 }