private void Label_MouseLeftButtonDown(object sender, MouseButtonEventArgs e) { PriceStory l = new PriceStory(); ErrorPage es = new ErrorPage(); if (test_lb_Copy.Content != "") { l.txt_id.Text = txt_username.Text.Trim(); l.Show(); } if (test_lb_Copy.Content == "") { es.Show(); es.Error_Lable.Content = "شما کد کاربری درستی وارد کنید."; } }
private void ShowFactors(object sender, RoutedEventArgs e) { PriceStory s = new PriceStory(); s.Show(); }