public GlossaryControl(MainForm context) { InitializeComponent(); this.context = context; this.RefreshData(); }
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(); }
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; }
public ResultControl(MainForm context) : this() { this.context = context; }
public NewUserControl(MainForm context) { InitializeComponent(); this.context = context; }