Ejemplo n.º 1
0
        public AccountStatementNewHeader()
        {
            //
            // Required for Windows Form Designer support
            //
            App.FillOrgsAccount();
            InitializeComponent();

/*
 *                      this.dvOrgs.Table = App.DsOrgs.Orgs;
 *                      this.cmbOrgs.DataSource = this.dvOrgs;
 *                      this.cmbOrgs.DisplayMember = "OrgName";
 *                      this.cmbOrgs.ValueMember = "OrgID";
 *                      this.dvOrgs.RowFilter = "IsInner=true";
 *                      this.dvOrgsAccounts.Table = App.DsOrgsAccount._Table;
 *                      this.cmbOrgsAccounts.DataSource = this.dvOrgsAccounts;
 *                      this.cmbOrgsAccounts.DisplayMember = "RAccount";
 *                      this.cmbOrgsAccounts.ValueMember = "AccountID";
 */
            bll.Fill(App.UserLogonID);
            this.dsUsersOrgsAndAccounts1 = bll.DataSet;
            this.dvOrgs.Table            = this.dsUsersOrgsAndAccounts1.Orgs;
            this.dvOrgs.Sort             = "OrgName";
            this.dvOrgsAccounts.Table    = this.dsUsersOrgsAndAccounts1.OrgsAccounts;
            this.dvOrgsAccounts.Sort     = "RAccount";
        }
Ejemplo n.º 2
0
 public void Init()
 {
     bll = new BPS.BLL.Orgs.UsersOrgsAndAccounts(App.Connection);
     bll.Fill(App.UserLogonID);
     Init(bll);
 }