示例#1
0
        void aJob_Deleteed(object sender, EventArgs e)
        {
            AJob   uc  = sender as AJob;
            Dulieu job = uc.Job;

            fPanel.Controls.Remove(uc);
            Job.Job.Remove(job);
        }
示例#2
0
        void AddJob(Dulieu job)
        {
            AJob aJob = new AJob(job);

            aJob.Edited  += aJob_Edited;
            aJob.Deleted += aJob_Deleteed;

            fPanel.Controls.Add(aJob);
        }