Exemple #1
0
        private void btnNew_Click(object sender, EventArgs e)
        {
            NewCard addnewcustomer = new NewCard();

            addnewcustomer.Owner      = this;
            addnewcustomer.CloseSave += new CloseSaveEvent(updatathedatagrid);
            addnewcustomer.ShowDialog();
        }
        //ToDo: Test only, remove it!
        private void btnTestDataForm_Click(object sender, EventArgs e)
        {
            NewCard newCard = new NewCard();

            newCard.Show();
        }