Пример #1
0
        private void btn_Add_Click(object sender, EventArgs e)
        {
            ICommands icommands = (ICommands)commands;

            dtp_Date.Format = DateTimePickerFormat.Short;
            icommands.CardAdd(Card_ID, Card_Status, dtp_Date.Text.ToString(), txt_ActualTime.Text, rtb_Description.Text, rtb_Notes.Text);
            this.Close();
        }