Beispiel #1
0
        private void button1_Copy_Click(object sender, RoutedEventArgs e)
        {
            Window3 W = new Window3();

            W.Show();
            this.Close();
        }
Beispiel #2
0
        private void button_Copy_Click(object sender, RoutedEventArgs e)
        {
            var win = new Window3();

            win.Show();
            this.Close();
        }
        private void voltar_Click(object sender, RoutedEventArgs e)
        {
            Window3 W = new Window3();

            W.Show();
            this.Close();
        }
Beispiel #4
0
        private void b_Click(object sender, RoutedEventArgs e)
        {
            Window3 winTool = new Window3();

            //Назначение текущего окна владельцем.
            winTool.Owner = this;
            //Отображение окна, принадлежащего окну-владельцу.
            winTool.Show();
            this.Hide();
        }
        private void AddProductOrCategory_Click(object sender, RoutedEventArgs e)
        {
           
            Window3 AddProductOrCategory = new Window3();
            AddProductOrCategory.Show();
            this.Hide();
            


        }
Beispiel #6
0
        private void button_Click(object sender, RoutedEventArgs e)
        {
            String name           = nameTextBox.Text;
            String password       = passwordBox.Password;
            String repeatPassword = repeatPasswordBox.Password;

            if (HelperFunctions.validateUsername(name) &&
                HelperFunctions.validatePassword(password) &&
                password == repeatPassword)
            {
                Data.newUserName     = name;
                Data.newUserPassword = password;
                Window3 w = new Window3();
                w.Show();
                this.Close();
            }
            else
            {
                MessageBox.Show("Invalid data!");
            }
        }
Beispiel #7
0
        public void DispatcherTimer_Tick(object sender, EventArgs e)
        {
            if (Barra_Carregamento.Value < 100)
            {
                Barra_Carregamento.Value = Barra_Carregamento.Value + 1;
                porcentagem.Content      = Barra_Carregamento.Value.ToString();
                if (Barra_Carregamento.Value >= 0)
                {
                    Carregador.Content = "Importando Bibliotecas...";
                }
                if (Barra_Carregamento.Value > 25)
                {
                    Carregador.Content = "Importando Formas...";
                }
                if (Barra_Carregamento.Value > 60)
                {
                    Carregador.Content = "Aguarde...";
                }
                if (Barra_Carregamento.Value > 90)
                {
                    image.Visibility = Visibility.Hidden;
                    if (Barra_Carregamento.Value > 99)
                    {
                        image.Visibility = Visibility.Visible;
                    }
                    if (Barra_Carregamento.Value == 100)
                    {
                        dispatcherTimer.Stop();

                        Window3 W = new Window3();
                        W.Show();

                        this.Close();
                    }
                }
            }
        }
Beispiel #8
0
        // Avaa Tips ikkunan
        private void button1_Click(object sender, RoutedEventArgs e)
        {
            Window3 win4 = new Window3();

            win4.Show();
        }
 private void button3_Click(object sender, RoutedEventArgs e)
 {
     Window3 obj2 = new Window3();
     obj2.Show();
 }
        private void area_Click(object sender, RoutedEventArgs e)
        {
            Window3 wnd = new Window3();

            wnd.Show();
        }