private void AirCode_Load(object sender, EventArgs e) { dtpDate.Value = System.DateTime.Now; tbDate.Text = dtpDate.Value.Day.ToString("d2") + EagleAPI.GetMonthCode(dtpDate.Value.Month); retstring = ""; b_opened = true; connect_4_Command.PrintWindowOpen = true; context = this; }
private void dtpDate_ValueChanged(object sender, EventArgs e) { tbDate.Text = dtpDate.Value.Day.ToString("d2") + EagleAPI.GetMonthCode(dtpDate.Value.Month); }