Inheritance: BuilderBase
Esempio n. 1
0
 private void DisplayAddJob()
 {
     jobAddObject = new Builder(jobAdd, new DefaultJobProperties(jobDisplay.Width), controller, assemblyResolver, this.resultView);
     jobAddObject.AddedJobEvent += BOnAddedJobEvent;
     jobAddObject.DisplayJobAdd();
     this.Refresh();
 }
Esempio n. 2
0
        private void DisplayJob(string name)
        {
            jobDisplay.Controls.Clear();

            if (!string.IsNullOrEmpty(name))
            {
                foreach (var job in controller.GetJobs())
                {
                    if (job.Name == name)
                    {
                        b = new Builder(jobDisplay, new DefaultJobProperties(jobDisplay.Width), controller, assemblyResolver, this.resultView);
                        jobDisplay.Controls.Clear();
                        b.DisplayJob(name);
                        b.AddedJobEvent += BOnAddedJobEvent;
                    }
                }

                this.Refresh();

            }
        }