예제 #1
0
        public Form1()
        {
            InitializeComponent();

            friendSubject = new PersonSubject();
            new mainPage(mainPageListBox, friendSubject);
            new friend1(firend1ListBox, friendSubject);
            new friend2(friend2ListBox, friendSubject);
            new friend3(friend3ListBox, friendSubject);
            new friend4(friend4ListBox, friendSubject);
        }
예제 #2
0
        public Form1()
        {
            InitializeComponent();

            friendSubject = new PersonSubject();
            new mainPage(mainPageListBox, friendSubject);
            new friend1(firend1ListBox, friendSubject);
            new friend2(friend2ListBox, friendSubject);
            new friend3(friend3ListBox, friendSubject);
            new friend4(friend4ListBox, friendSubject);
        }