public MainWindows2(ServicioMultas s)
 {
     InitializeComponent();
     pM.Visibility = System.Windows.Visibility.Hidden;
     qM.Visibility = System.Windows.Visibility.Hidden;
     aV.Visibility = System.Windows.Visibility.Hidden;
     bV.Visibility = System.Windows.Visibility.Hidden;
     this.s        = s;
 }
 public MainWindow(ServicioMultas s)
 {
     InitializeComponent();
     id.Visibility        = System.Windows.Visibility.Hidden;
     cP.Visibility        = System.Windows.Visibility.Hidden;
     cM.Visibility        = System.Windows.Visibility.Hidden;
     resultado.Visibility = System.Windows.Visibility.Hidden;
     Tabla.Visibility     = System.Windows.Visibility.Hidden;
     nPuntos.Visibility   = System.Windows.Visibility.Hidden;
     this.s = s;
 }
 public MainWindow()
 {
     InitializeComponent();
     id.Visibility        = System.Windows.Visibility.Hidden;
     cP.Visibility        = System.Windows.Visibility.Hidden;
     cM.Visibility        = System.Windows.Visibility.Hidden;
     resultado.Visibility = System.Windows.Visibility.Hidden;
     Tabla.Visibility     = System.Windows.Visibility.Hidden;
     nPuntos.Visibility   = System.Windows.Visibility.Hidden;
     //ChannelServices.RegisterChannel(new TcpChannel(), false);
     //this.s = (ServicioMultas)Activator.GetObject(typeof(ServicioMultas), "tcp://localhost:12345/ServicioMultas");
     RemotingConfiguration.Configure("InterfazGrafica.exe.config", false);
     s = new ServicioMultas();
 }