Example #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            Comanda command = new Comanda();

            command.Expeditor  = GlobalUsers.GlobalClient.ID;
            command.AdresaDest = textBox1.Text;
            command.Descriere  = textBox2.Text;

            command.ID = ComandaController.InsertCommand(command);
            DeliveryController.AssignCommandStage1(command.ID);

            this.Hide();
        }