示例#1
0
        public LoginWindow()
        {
            this.DataContext = this;

            CreatingAccount = false;
            ResettingPassword = false;
            RememberPassword = false; // I should load it from settings
            EnteredLoginAndPass = false;
            EnteredMachineName = false;
            checkIfAllEntered();

            this.connection = new FileSyncConnection();
            this.local = new FileSyncLocal();

            InitializeComponent();
        }
示例#2
0
        public LoginWindow()
        {
            this.DataContext = this;

            CreatingAccount     = false;
            ResettingPassword   = false;
            RememberPassword    = false;          // I should load it from settings
            EnteredLoginAndPass = false;
            EnteredMachineName  = false;
            checkIfAllEntered();

            this.connection = new FileSyncConnection();
            this.local      = new FileSyncLocal();

            InitializeComponent();
        }
示例#3
0
        public MainWindow()
        {
            //this.DataContext = this;

            connection = new FileSyncConnection();
            local = new FileSyncLocal();

            LoggedIn = false;
            LoggedInAndChosenMachine = false;
            SelectedMachine = false;
            SelectedDirectory = false;
            SelectedFile = false;
            DuringSync = false;
            DuringNetworkActions = false;
            directories = new ObservableCollection<DirectoryContents>();

            dt = new DispatcherTimer();
            dt.Interval = TimeSpan.FromMilliseconds(1000);
            dt.Tick += new EventHandler(dt_Tick);
            dt.IsEnabled = true;

            InitializeComponent();
        }
示例#4
0
        public MainWindow()
        {
            //this.DataContext = this;

            connection = new FileSyncConnection();
            local      = new FileSyncLocal();

            LoggedIn = false;
            LoggedInAndChosenMachine = false;
            SelectedMachine          = false;
            SelectedDirectory        = false;
            SelectedFile             = false;
            DuringSync           = false;
            DuringNetworkActions = false;
            directories          = new ObservableCollection <DirectoryContents>();

            dt           = new DispatcherTimer();
            dt.Interval  = TimeSpan.FromMilliseconds(1000);
            dt.Tick     += new EventHandler(dt_Tick);
            dt.IsEnabled = true;

            InitializeComponent();
        }