Exemplo n.º 1
0
        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 = "شما کد کاربری درستی وارد کنید.";
            }
        }
Exemplo n.º 2
0
        private void ShowFactors(object sender, RoutedEventArgs e)
        {
            PriceStory s = new PriceStory();

            s.Show();
        }