Пример #1
0
        private void buttonNew_Click(object sender, EventArgs e)
        {
            NewClient cl = new NewClient();

            cl.Show();
            this.Close();
        }
Пример #2
0
 private void buttonNew_Click(object sender, EventArgs e)
 {
     NewClient cl = new NewClient();
     cl.Show();
     LibraryEntities1 context = new LibraryEntities1();
     var clients = context.Clients;
     dataGridViewClients.AutoGenerateColumns = false;
     dataGridViewClients.DataSource = clients;
 }
Пример #3
0
        private void buttonNew_Click(object sender, EventArgs e)
        {
            NewClient cl = new NewClient();

            cl.Show();
            LibraryEntities1 context = new LibraryEntities1();
            var clients = context.Clients;

            dataGridViewClients.AutoGenerateColumns = false;
            dataGridViewClients.DataSource          = clients;
        }
Пример #4
0
        private void регистрацияToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            NewClient fNC = new NewClient();

            fNC.Show();
        }
Пример #5
0
 private void регистрацияToolStripMenuItem1_Click(object sender, EventArgs e)
 {
     NewClient fNC = new NewClient();
     fNC.Show();
 }
Пример #6
0
 private void buttonNew_Click(object sender, EventArgs e)
 {
     NewClient cl = new NewClient();
     cl.Show();
     this.Close();
 }