public RoyaltyFeeCollection(String id)
        {
            InitializeComponent();

            //User label
            userid = id;
            setup(userid, "FAFOS Royalty Fee Collection");
            r = new RoyaltyFee();

            franchiseeBox.DataSource    = new Franchisee().getAll();
            franchiseeBox.DisplayMember = "name";
            franchiseeBox.ValueMember   = "ID";
        }
        public RoyaltyFeeCollection(String id)
        {
            InitializeComponent();

            //User label
            userid = id;
            setup(userid, "FAFOS Royalty Fee Collection");
             r = new RoyaltyFee();

             franchiseeBox.DataSource = new Franchisee().getAll();
             franchiseeBox.DisplayMember = "name";
             franchiseeBox.ValueMember = "ID";
        }