예제 #1
0
        private void calendar_Click(TextBox textBox, DateTime MinDate)
        {
            kalendarz _kalendarz = new kalendarz(MinDate);

            _kalendarz.ShowDialog();
            if (_kalendarz.DialogResult == System.Windows.Forms.DialogResult.OK)
            {
                textBox.Text = _kalendarz.data;
                String dataDO = _kalendarz.data;
            }
        }
예제 #2
0
        private void calendar_Click(TextBox textBox, DateTime MinDate)
        {
            kalendarz _kalendarz = new kalendarz(MinDate);

            _kalendarz.ShowDialog();
            if (_kalendarz.DialogResult == System.Windows.Forms.DialogResult.OK)
            {
                textBox.Text         = _kalendarz.data;
                tbxArrival.Enabled   = true;
                tbxArrival.BackColor = Color.White;
            }
        }
예제 #3
0
        private void calendar_Click(TextBox textBox)
        {
            kalendarz _kalendarz = new kalendarz();

            _kalendarz.ShowDialog();

            if (_kalendarz.DialogResult == System.Windows.Forms.DialogResult.OK)
            {
                String dataOD = _kalendarz.data;
                textBoxDO.Enabled = true;
                textBox.Text      = _kalendarz.data;
            }
            else
            {
                textBoxDO.Enabled = false;
            }
        }