コード例 #1
0
ファイル: UserSettingsPage.cs プロジェクト: Lucasus/szpif
        public UserSettingsPage(string text) : base(text)
        {
            contManager = Program.Context.ContentManager;
            bindManager = Program.Context.ViewToGridManager;

            InitializeComponent();

            // initializing dataGridView
            employeesForUser = new DataGridView();
            employeesForUser.Name = "EmployeesForUser";
            employeesForUser.Visible = false;
            this.Controls.Add(employeesForUser);
            
            // binding
            view = bindManager.bindToView(employeesForUser);
            valueBoxes = contManager.generateContent(this, employeesForUser, view);
        }
コード例 #2
0
ファイル: UserSettingsPage.cs プロジェクト: Lucasus/szpif
        public UserSettingsPage(string text) : base(text)
        {
            contManager = Program.Context.ContentManager;
            bindManager = Program.Context.ViewToGridManager;

            InitializeComponent();

            // initializing dataGridView
            employeesForUser         = new DataGridView();
            employeesForUser.Name    = "EmployeesForUser";
            employeesForUser.Visible = false;
            this.Controls.Add(employeesForUser);

            // binding
            view       = bindManager.bindToView(employeesForUser);
            valueBoxes = contManager.generateContent(this, employeesForUser, view);
        }