private void EndpointOther_Click(object sender, RoutedEventArgs e) { //if (!DialogInitialized) return; if (EndpointDomain.Text == DefaultEndpoint || EndpointDomain.Text == ChinaEndpoint) { EndpointDomain.Text = String.Empty; } EndpointDomain.Focus(); }
private void EndpointChina_Click(object sender, RoutedEventArgs e) { //if (!DialogInitialized) return; EndpointDomain.Focus(); EndpointDomain.Text = ChinaEndpoint; }