private void txtInternetTime_Leave(object sender, EventArgs e) { if (!txtInternetTime.Text.StartsWith("@")) { txtInternetTime.Text = "@" + txtInternetTime.Text; } _time = BigTime.Parse(txtInternetTime.Text); }
private void txtCustomTime_Leave(object sender, EventArgs e) { if (cboTimeZone.SelectedIndex < 0) { cboTimeZone.SelectedIndex = 0; } _time = BigTime.Parse(txtCustomTime.Text, (TimeZoneInfo)cboTimeZone.SelectedItem); }
private void txtLocalTime_Leave(object sender, EventArgs e) { _time = BigTime.Parse(txtLocalTime.Text, TimeZoneInfo.Local); }