예제 #1
0
        public AdminPanel() {
            InitializeComponent();
            books_controller = new BooksController();
            deposit_controller = new DepositController();
            member_controller = new MemberController();

            cbBookLang.Items.Add("Türkçe");
            cbBookLang.Items.Add("İngilizce");

            cbBookAuthor.DisplayMember = "name";
            cbBookAuthor.ValueMember = "id";
            cbBookAuthor.DataSource = books_controller.getAuthors();

            cbBookPublisher.DisplayMember = "name";
            cbBookPublisher.ValueMember = "id";
            cbBookPublisher.DataSource = books_controller.getPubliser();


       }
예제 #2
0
 public FindForm()
 {
     InitializeComponent();
     books_controller = new BooksController();
     dataFindScreen.DataSource = books_controller.getBooks();
 }
예제 #3
0
 public FindForm()
 {
     InitializeComponent();
     books_controller          = new BooksController();
     dataFindScreen.DataSource = books_controller.getBooks();
 }