예제 #1
0
        void ajob_Deleted(object sender, EventArgs e)
        {
            AJob     uc  = sender as AJob;
            PlanItem job = uc.Job;

            fPanel.Controls.Remove(uc);
            Job.Job.Remove(job);
        }
예제 #2
0
        void AddJob(PlanItem job)
        {
            AJob ajob = new AJob(job);

            ajob.Edited  += ajob_Edited;
            ajob.Deleted += ajob_Deleted;


            fPanel.Controls.Add(ajob);
        }