Exemple #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;
        }
Exemple #2
0
 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);
 }