public LoginWindow(MainWindow parent)
        {
            InitializeComponent();

            this.parent = parent;

            ajaxImages = new UIElement[] { ajaxLoadingImage, greenCheckImage, redXImage };
            ajaxSignUpImages = new UIElement[] { ajaxLoadingImageSignUp, greenCheckImageSignUp, redXImageSignUp };

            // load the login web page (facebook, google, twitter)
            loginBrowser.Navigate(new Uri("http://www.traqpaq.com/facebook/loginpage.html"));

            // set focus to the username box
            textBoxUsername.Focus();
        }
Example #2
0
        public HomePage(MainWindow main)
        {
            InitializeComponent();
            this.main = main;

            // if there are recent Records in the settings array, then add them to the _RecentTracks ovservable collection
            // if the array is not initialized, then set it to contain 10 elements
            if (Settings.Default.RecentTracks == null)
            {
                Settings.Default.RecentTracks = new RecentTracks();
            }

            // set up event handler for the properties collection
            Properties.Settings.Default.RecentTracks.RecordList.CollectionChanged += recordList_CollectionChanged;

            updateRecentTracks();
        }
 public SettingsPage(MainWindow mainWindow)
 {
     InitializeComponent();
     this.mainWindow = mainWindow;
 }
        public LogBookPage(MainWindow main)
        {
            InitializeComponent();
            this.main = main;

            // add the dummy record
            _RecordTable.Add(dummy);
        }
Example #5
0
 public UploadPage(MainWindow main)
 {
     this.main = main;
     this.traqpaq = main.traqpaq;
     InitializeComponent();
 }