Ejemplo n.º 1
0
        private void frmMain_Loaded( object sender, RoutedEventArgs e )
        {
            closeButtonRestartTimer.Tick += new EventHandler( closeButtonRestartTimer_Tick );
            closeButtonRestartTimer.Interval = new TimeSpan( 0, 0, 10 );

            RockCheckinScriptManager scriptManager = new RockCheckinScriptManager( this );
            wbMain.ObjectForScripting = scriptManager;
            wbMain.AllowDrop = false;
            var rockConfig = RockConfig.Load();
            wbMain.Source = new Uri( rockConfig.CheckinAddress );

            puOverlay.IsOpen = true;
        }
Ejemplo n.º 2
0
        private void frmMain_Loaded(object sender, RoutedEventArgs e)
        {
            closeButtonRestartTimer.Tick    += new EventHandler(closeButtonRestartTimer_Tick);
            closeButtonRestartTimer.Interval = new TimeSpan(0, 0, 10);

            RockCheckinScriptManager scriptManager = new RockCheckinScriptManager(this);

            wbMain.ObjectForScripting = scriptManager;
            wbMain.AllowDrop          = false;
            var rockConfig = RockConfig.Load();

            wbMain.Source = new Uri(rockConfig.CheckinAddress);

            puOverlay.IsOpen = true;
        }