Esempio n. 1
0
 public CollectionersForm()
 {
     art = new Art();
     InitializeComponent();
     collectionerBindingSource.DataSource = art.collectioners;
     art.Load();
     collectionerBindingSource.ResetBindings(false);
 }
 public OwnCollectionForm()
 {
     art = new Art();
     InitializeComponent();
     ownCollectionBindingSource.DataSource = art.ownCollections;
     art.Load();
     ownCollectionBindingSource.ResetBindings(false);
 }
Esempio n. 3
0
 public MuseumsForm()
 {
     art = new Art();
     InitializeComponent();
     museumBindingSource.DataSource = art.museums;
     art.Load();
     museumBindingSource.ResetBindings(false);
 }
Esempio n. 4
0
 public PicturesForm()
 {
     art = new Art();
     InitializeComponent();
     pictureBindingSource.DataSource = art.pictures;
     art.Load();
     pictureBindingSource.ResetBindings(false);
 }
Esempio n. 5
0
 public ArtistForm()
 {
     art = new Art();
     InitializeComponent();
     artistBindingSource.DataSource = art.artists;
     art.Load();
     artistBindingSource.ResetBindings(false);
 }
 public CommissionShopForm()
 {
     art = new Art();
     InitializeComponent();
     commissionShopBindingSource.DataSource = art.comShops;
     art.Load();
     commissionShopBindingSource.ResetBindings(false);
 }
Esempio n. 7
0
        private void toolStripMenuItem3_Click(object sender, EventArgs e)
        {
            var sortedListCollectionerName = from c in art.collectioners
                                             orderby c.collectionerName
                                             select c;

            collectionerBindingSource.DataSource = sortedListCollectionerName;
            collectionerBindingSource.ResetBindings(false);
            art.isChangeData = true;
            art.Load();
        }
        private void toolStripMenuItem3_Click(object sender, EventArgs e)
        {
            var sortedListOwnCollectionName = from owc in art.ownCollections
                                              orderby owc.myCollectionName
                                              select owc;

            ownCollectionBindingSource.DataSource = sortedListOwnCollectionName;
            ownCollectionBindingSource.ResetBindings(false);
            art.isChangeData = true;
            art.Load();
        }
Esempio n. 9
0
        private void toolStripMenuItem3_Click(object sender, EventArgs e)
        {
            var sortedListMuseumName = from m in art.museums
                                       orderby m.museumName
                                       select m;

            museumBindingSource.DataSource = sortedListMuseumName;
            museumBindingSource.ResetBindings(false);
            art.isChangeData = true;
            art.Load();
        }
Esempio n. 10
0
        private void toolStripMenuItem3_Click(object sender, EventArgs e)
        {
            var sortedListAuctionName = from au in art.auctions
                                        orderby au.auctionName
                                        select au;

            auctionBindingSource.DataSource = sortedListAuctionName;
            auctionBindingSource.ResetBindings(false);
            art.isChangeData = true;
            art.Load();
        }
Esempio n. 11
0
        private void toolStripMenuItem5_Click(object sender, EventArgs e)
        {
            var sortedListAuthorName = from p in art.pictures
                                       orderby p.authorName
                                       select p;

            pictureBindingSource.DataSource = sortedListAuthorName;
            pictureBindingSource.ResetBindings(false);
            art.isChangeData = true;
            art.Load();
        }
Esempio n. 12
0
        private void nameToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var sortedListName = from l in art.artists
                                 orderby l.artistName
                                 select l;

            artistBindingSource.DataSource = sortedListName;
            artistBindingSource.ResetBindings(false);
            art.isChangeData = true;
            art.Load();
        }
        private void toolStripMenuItem3_Click(object sender, EventArgs e)
        {
            var sortedListShopName = from cs in art.comShops
                                     orderby cs.shopName
                                     select cs;

            commissionShopBindingSource.DataSource = sortedListShopName;
            commissionShopBindingSource.ResetBindings(false);
            art.isChangeData = true;
            art.Load();
        }