Inheritance: BuilderBase
コード例 #1
0
 private void DisplayAddJob()
 {
     jobAddObject = new Builder(jobAdd, new DefaultJobProperties(jobDisplay.Width), controller, assemblyResolver, this.resultView);
     jobAddObject.AddedJobEvent += BOnAddedJobEvent;
     jobAddObject.DisplayJobAdd();
     this.Refresh();
 }
コード例 #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();

            }
        }