예제 #1
0
        private void button_Click(object sender, RoutedEventArgs e)
        {
            BLClassAdmin test = new BLClassAdmin();
            Painter      pain = new Painter("aaa", "bbb", "ccc", "ddd");
            FamousPeople q    = test.AddFP(pain, "c", 3, "sdf", 4, "fsddsf", true, "sdfs", false);

            textBox.Text = q.PictureName;
        }
예제 #2
0
파일: BLClass.cs 프로젝트: Roki96/Project3
 public FamousPeople ChangeFP(FamousPeople port, Painter Pa, string Pi, int Ya, string Ph, int Va, string Fe, bool Co, string Pe, bool cou)
 {
     port.PainterName = Pa;
     port.PictureName = Pi;
     port.YearCreated = Ya;
     port.Photo       = Ph;
     port.Feature     = Fe;
     port.Value       = Va;
     port.Copy        = Co;
     port.People      = Pe;
     port.Famous      = cou;
     return(port);
 }