示例#1
0
        private void btn_editar_cotrato_Click(object sender, RoutedEventArgs e)
        {
            ListarCliente listCli = new ListarCliente();

            listCli.Owner = this;
            listCli.ShowDialog();
        }
示例#2
0
        private void Button_Click(object sender, RoutedEventArgs e)
        {
            ListarCliente listCli = new ListarCliente();

            listCli.Owner = this;
            listCli.ShowDialog();
        }
示例#3
0
        private void btnListarCli_Click(object sender, RoutedEventArgs e)
        {
            ListarCliente listCli = new ListarCliente();

            //listCli.Owner = this;
            this.Hide();
            listCli.ShowDialog();
            this.Close();
        }
        private void BtnContraste_Click(object sender, RoutedEventArgs e)
        {
            Contraste = !Contraste;
            if (Contraste)
            {
                {
                    SolidColorBrush PinkColor = new SolidColorBrush(Color.FromRgb(242, 0, 252));



                    gPrincipal.Background = Brushes.Black;
                    btnCerrar.Background  = PinkColor;
                    btnBuscar.Background  = PinkColor;
                    btnCerrar.Background  = PinkColor;
                    dtgCliente.Background = PinkColor;
                }
            }
            else
            {
                ListarCliente listarCliente = new ListarCliente();
                listarCliente.Show();
                this.Hide();
            }
        }