Ejemplo n.º 1
0
        /// <summary>
        /// change constructor to accept DataModule and MainForm reference
        /// </summary>
        /// <param name="dm"></param>
        /// <param name="mnu"></param>

        public WhanauForm(DataModule dm, MainForm mnu)
        {
            InitializeComponent();
            DM      = dm;
            frmMenu = mnu;
            BindControls();
        }
Ejemplo n.º 2
0
        /// <summary>
        /// change constructor to accept DataModule and MainForm reference
        /// </summary>
        /// <param name="dm"></param>
        /// <param name="mnu"></param>

        public EventRegisterForm(DataModule dm, MainForm mnu)
        {
            InitializeComponent();
            DM             = dm;
            frmMenu        = mnu;
            cmEvent        = (CurrencyManager)this.BindingContext[DM.dsKaiOordinate, "Event"];
            cmWhanau       = (CurrencyManager)this.BindingContext[DM.dsKaiOordinate, "Whanau"];
            cmRegistration = (CurrencyManager)this.BindingContext[DM.dsKaiOordinate, "EVENT.FK_EVENT_EVENTREGISTER"];
            BindControls();
        }
Ejemplo n.º 3
0
 public ReportForm(DataModule dm, MainForm mnu)
 {
     InitializeComponent();
     DM      = dm;
     frmMenu = mnu;
 }
Ejemplo n.º 4
0
 private void MainForm_Load(object sender, EventArgs e)
 {
     DM = new DataModule(); // Create the data module and load the dataset
 }