private void Button_Click(object sender, RoutedEventArgs e) { Process.Start(Strings.AccountURL); HVCC.Prototype1.Dialog wndw = new HVCC.Prototype1.Dialog(); wndw.Height = 370; wndw.Width = 400; wndw.Body = new Controls.Waiting(); wndw.IsTwoColumn = false; wndw.PageTitle = null; wndw.PageDescription = null; wndw.Title = "Wating..."; wndw.WindowStartupLocation = WindowStartupLocation.CenterScreen; wndw.ShowDialog(); if (wndw.DialogResult.Value == true) { } else { Strings.deviceTitle = "Pedometer HJ-720IT"; Strings.manufacturer = "Omron"; Prototype1.Window1.LoadTwoColumnWindow(null, new Controls.RecordPicker2(), null); } }
private void LifeScan_Info_Click(object sender, RoutedEventArgs e) { HVCC.Prototype1.Dialog wndw = new HVCC.Prototype1.Dialog(); wndw.Height = 500; wndw.Width = 420; wndw.Body = new Controls.DeviceInfo(); wndw.IsTwoColumn = true; wndw.Title = "Device Info"; wndw.WindowStartupLocation = WindowStartupLocation.CenterScreen; wndw.ShowDialog(); }
private void Microlife_Settings_Click(object sender, RoutedEventArgs e) { HVCC.Prototype1.Dialog wndw = new HVCC.Prototype1.Dialog(); wndw.Height = 500; wndw.Width = 420; wndw.Body = new Controls.UploadSettings(); wndw.IsTwoColumn = true; wndw.Title = "Device Settings"; wndw.WindowStartupLocation = WindowStartupLocation.CenterScreen; wndw.ShowDialog(); }
private void About_Click(object sender, RoutedEventArgs e) { HVCC.Prototype1.Dialog wndw = new HVCC.Prototype1.Dialog(); wndw.Height = 380; wndw.Width = 400; wndw.PageTitle = null; wndw.PageDescription = null; wndw.Body = new Controls.About(); wndw.IsTwoColumn = false; wndw.Title = "About"; wndw.WindowStartupLocation = WindowStartupLocation.CenterScreen; wndw.ShowDialog(); }
private void Options_Click(object sender, RoutedEventArgs e) { HVCC.Prototype1.Dialog wndw = new HVCC.Prototype1.Dialog(); wndw.Height = 550; wndw.Width = 400; wndw.PageTitle = "Connection Center Options"; wndw.PageDescription = null; wndw.Body = new Controls.Options(); wndw.IsTwoColumn = false; wndw.Title = "Updates"; wndw.WindowStartupLocation = WindowStartupLocation.CenterScreen; wndw.ShowDialog(); }
private void Updates_Click(object sender, RoutedEventArgs e) { HVCC.Prototype1.Dialog wndw = new HVCC.Prototype1.Dialog(); wndw.Height = 270; wndw.Width = 310; wndw.PageTitle = "Searching for updates"; wndw.PageDescription = "Please wait..."; wndw.Body = new Controls.Updates(); wndw.IsTwoColumn = false; wndw.Title = "Updates"; wndw.WindowStartupLocation = WindowStartupLocation.CenterScreen; wndw.ShowDialog(); }
private void ShowRemoveAccountDialog() { HVCC.Prototype1.Dialog wndw = new HVCC.Prototype1.Dialog(); wndw.Height = 400; wndw.Width = 400; wndw.PageTitle = "Do you want to remove the current Connection Center user?"; wndw.Body = new Controls.RemoveAccount(); wndw.IsTwoColumn = false; wndw.Title = "Remove Account"; wndw.WindowStartupLocation = WindowStartupLocation.CenterScreen; if ((bool)wndw.ShowDialog()) { } else { Window1.LoadSingleColumnWindow(null, null, new Controls.RemovingAccount()); } }
private void HVSwitch_Click(object sender, RoutedEventArgs e) { HVCC.Prototype1.Dialog wndw = new HVCC.Prototype1.Dialog(); wndw.Height = 370; wndw.Width = 400; wndw.Body = new Controls.SwitchAccount(); wndw.IsTwoColumn = false; wndw.PageTitle = "Select an option to begin uploading to a different account"; wndw.Title = "Switch Account"; wndw.WindowStartupLocation = WindowStartupLocation.CenterScreen; if ((bool)wndw.ShowDialog()) { } else { ShowRemoveAccountDialog(); } }