Пример #1
0
 // This is the constructor method which takes in the DataModule and MainForm objects as parameters
 // and enacts the BindControls method to bind the data in the Arena table to the appropriate text boxes
 // and list field.
 public ArenaMaintenanceForm(DataModule dm, MainForm mnu)
 {
     InitializeComponent();
     DM      = dm;
     frmMenu = mnu;
     BindControls();
 }
 // This is the constructor method which takes in the DataModule and MainForm objects as parameters
 // and enacts the BindControls method to bind the data in the Entry, Competitor, Challenge and Event tables
 // to the appropriate text boxes and list field.
 public EnterCompetitorIntoChallengeForm(DataModule dm, MainForm mnu)
 {
     InitializeComponent();
     DM      = dm;
     frmMenu = mnu;
     BindControls();
 }
Пример #3
0
 // This creates the data module and loads the dataset.
 private void MainForm_Load(object sender, EventArgs e)
 {
     DM = new DataModule();
 }
Пример #4
0
 public EventsReportForm(DataModule dm, MainForm mnu)
 {
     InitializeComponent();
     DM      = dm;
     frmMenu = mnu;
 }