Example #1
0
        void btnStartMonitoring_Click(object sender, RoutedEventArgs e)
        {
            Machine.MachineId       = txtMachineId.Text;
            Machine.MachineName     = txtMachineName.Text;
            Machine.MachineLocation = txtMachineLocation.Text;

            if (!string.IsNullOrEmpty(Machine.MachineId) && !string.IsNullOrEmpty(Machine.MachineName))
            {
                PageSwitcher.SwitchTo(new Dashboard());
            }
        }