Exemple #1
0
        public P2PEditor()
        {
            jobListManager         = new JobListManager(this);
            initialNewEventHandled = false;

            Presentation = new P2PEditorPresentation(this, jobListManager);
            Settings     = new P2PEditorSettings();
        }
Exemple #2
0
        private void BackgroundCreationWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
        {
            P2PEditor.GuiLogMessage("Distributed job " + newDistributedJob.Guid, NotificationLevel.Debug);
            DataContext = new DistributedJob();

            P2PEditorPresentation.ShowActiveJobs();
            P2PEditorPresentation.ActiveJobsControl.JobListBox.SelectedIndex = 0;
        }
        private void BackgroundCreationWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
        {
            P2PEditor.GuiLogMessage(String.Format(Properties.Resources.Distributed_job__0_, newDistributedJob.Guid), NotificationLevel.Debug);
            DataContext = new DistributedJob();

            P2PEditorPresentation.ShowActiveJobsView();
            P2PEditorPresentation.JobDisplay.JobListBox.SelectedIndex = 0;
        }
Exemple #4
0
 private void ForgotPasswordLabel_Click(object sender, RoutedEventArgs e)
 {
     P2PEditorPresentation.ShowForgotPasswordView();
 }
Exemple #5
0
 private void GetACertificateLabel_Click(object sender, RoutedEventArgs e)
 {
     P2PEditorPresentation.ShowGetNewCertificateView();
 }
Exemple #6
0
 private void BackgroundDeletionWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
 {
     P2PEditorPresentation.ShowActiveJobs();
 }