Ejemplo n.º 1
0
        private void finalInitialisation()
        {
            Toggl.RegisterMainWindow(this);

            if (!Toggl.StartUI(Program.Version(), this.experimentManager.CurrentExperumentIds))
            {
                MessageBox.Show(null, "Missing callback. See the log file for details");
                this.shutdown(1);
                return;
            }

            this.loadPositions();

            this.GetWindow <AboutWindow>().ViewModel.InitUpdateChannel(Toggl.UpdateChannel());

            this.errorBar.Hide();
            this.statusBar.Hide();
            this.syncingIndicator.Hide();

            this.SetMiniTimerVisible(Toggl.GetMiniTimerVisible(), true);
        }
Ejemplo n.º 2
0
        private void finalInitialisation()
        {
            Toggl.RegisterMainWindow(this);

            if (!Toggl.StartUI(Program.Version()))
            {
                MessageBox.Show(null, "Missing callback. See the log file for details");
                this.shutdown(1);
                return;
            }

            this.loadPositions();

            var updateChannelFromLocalDb = Toggl.UpdateChannel();

            Toggl.UpdateService.UpdateChannel.OnNext(updateChannelFromLocalDb);

            this.errorBar.Hide();
            this.statusBar.Hide();
            this.syncingIndicator.Hide();

            this.SetMiniTimerVisible(Toggl.GetMiniTimerVisible(), true);
        }
Ejemplo n.º 3
0
        private void finalInitialisation()
        {
            Toggl.RegisterMainWindow(this);

            if (!Toggl.StartUI(Program.Version(), this.experimentManager.CurrentExperumentIds))
            {
                MessageBox.Show(null, "Missing callback. See the log file for details");
                this.shutdown(1);
                return;
            }

            Utils.LoadWindowLocation(this, this.editPopup, this.miniTimer);


            this.GetWindow <AboutWindow>().UpdateReleaseChannel();

            this.errorBar.Hide();
            this.statusBar.Hide();
            this.syncingIndicator.Hide();

            this.runScriptAsync();

            this.SetMiniTimerVisible(Toggl.GetMiniTimerVisible(), true);
        }