public SimpleForm(CoreLib.Args _args) : base(_args)
        {
            InitializeComponent();
            if (_args == null || _args.ParmObject == null)//Parm object will represent Type instance
            {
                SetStatusBarText("Type of object does not passed to Simple form ");
                return;
            }
            Type         _classType = (Type)_args.ParmObject;
            XPCollection ds         = new XPCollection(unitOfWork1, _classType);

            ds.LoadingEnabled         = true;
            MainDataSource            = ds;//Link main data source
            myGridControl1.DataSource = ds;
            //myGridControl1.RefreshDataSource();
            AppLists.AppListInfo lst = new AppLists.AppListInfo(unitOfWork1);
            lst.LinkLookupsToGrid(myGridView1, ds);
        }
 public JournalBaseFrm(CoreLib.Args _args):base(_args)
 {
     InitializeComponent();
     InitObj();
 }
 public SecurityPrincipalUserFrm(CoreLib.Args _args) : base(_args)
 {
     InitializeComponent();
     InitObj();
 }
Beispiel #4
0
 public MainAccount(CoreLib.Args _args) : base(_args)
 {
     InitializeComponent();
     this.Args = _args;
     InitObj();
 }