示例#1
0
        void btnAdd_Click(object sender, EventArgs e)
        {
            var createForm = new FormAddData();

            createForm.ShowDialog();
            this.FormBestSleep_Load();
        }
示例#2
0
        private void cadastroToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FormAddData formAddJira = new FormAddData();

            if (formAddJira.ShowDialog() == DialogResult.OK)
            {
                CarregarComboJiras();
            }
        }
示例#3
0
        private void ButtonAddNiver_Click(object sender, EventArgs e)
        {
            FormAddData formAddData = new FormAddData();

            formAddData.ShowDialog(this);
            formAddData.Dispose();

            if (formAddData.DialogResult == DialogResult.Yes)
            {
                DateTime data = Convert.ToDateTime(formAddData.textoData);
                textBoxNiver.Text = data.ToString("ddd, dd 'de' MMMM 'de' yyyy").ToUpper();
                maskedTextBoxCep.Select();
            }
        }