Esempio n. 1
0
        private void buttonOK_Click(object sender, EventArgs e)
        {
            if (accDir != string.Empty)
            {
                appServices.BanAccount(accDir, accID, richTextBox1.Text, dateTimePickerStartDate.Value, calcEndDate());
            }

            this.DialogResult = DialogResult.OK;
            this.Close();
        }