44 lines
887 B
C#
44 lines
887 B
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.ComponentModel;
|
|||
|
using System.Data;
|
|||
|
using System.Drawing;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
using System.Windows.Forms;
|
|||
|
|
|||
|
namespace db___demo__app
|
|||
|
{
|
|||
|
public partial class StartPage : Form
|
|||
|
{
|
|||
|
List<locations> location = new List<locations>();
|
|||
|
public StartPage()
|
|||
|
{
|
|||
|
InitializeComponent();
|
|||
|
}
|
|||
|
|
|||
|
private void StartPage_Load(object sender, EventArgs e)
|
|||
|
{
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
private void label1_Click(object sender, EventArgs e)
|
|||
|
{
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
private void label1_Click_1(object sender, EventArgs e)
|
|||
|
{
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
private void search_button_Click(object sender, EventArgs e)
|
|||
|
{
|
|||
|
dataAccess db = new dataAccess();
|
|||
|
|
|||
|
location = db.GetLocations(search.Text);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|