Ejemplo n.º 1
0
        public ParentForm()
        {
            InitializeComponent();
            dbContext = new DBModel();

            documentManager     = new DocumentFormsContainer();
            bsiUserName.Caption = dbContext.getFullUserName.First(x => x.ID == Properties.Settings.CurrentUserID).FullName;
        }
Ejemplo n.º 2
0
        public ParentForm(int id)
        {
            InitializeComponent();

            dbContext = new DBModel();
            Properties.Settings.CurrentUserID = id;
            documentManager = new DocumentFormsContainer();

            bsiUserName.Caption = dbContext.getFullUserName.First(x => x.ID == Properties.Settings.CurrentUserID).FullName;

            repositoryItemLueFilterField.DataSource = new List <string> {
                "Номер договора"
            };
            repositoryItemLueFilterMethod.DataSource = new List <string> {
                "Равно", "Не равно", "Содержит"
            };
            repositoryItemLueSortField.DataSource = new List <string> {
                "Номер договора"
            };
            repositoryItemLueSortMethod.DataSource = new List <string> {
                "По возрастанию", "По убыванию"
            };
        }