Esempio n. 1
0
        public GlossaryControl(MainForm context)
        {
            InitializeComponent();

            this.context = context;
            this.RefreshData();
        }
Esempio n. 2
0
        public LoadUserControl(MainForm context)
        {
            InitializeComponent();

            this.dataGridView.Columns["nameCol"].DefaultCellStyle.Padding = new Padding(10, 0, 0, 0);
            this.dataGridView.Columns["ageCol"].DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleCenter;
            this.dataGridView.Columns["sexCol"].DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleCenter;

            this.context = context;
            this.RefreshData();
        }
Esempio n. 3
0
        public SituationsControl(MainForm context)
        {
            InitializeComponent();

            this.context = context;
            this.model = context.Model;

            // Situations
            this.currentSituation = 0;
            switchSituation(currentSituation);

            // User
            this.labelUserName.Text = model.CurrentUser.Name;
        }
Esempio n. 4
0
 public ResultControl(MainForm context)
     : this()
 {
     this.context = context;
 }
Esempio n. 5
0
        public NewUserControl(MainForm context)
        {
            InitializeComponent();

            this.context = context;
        }