コード例 #1
0
ファイル: WhanauForm.cs プロジェクト: danielkim2711/GUI
        /// <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();
        }
コード例 #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();
        }
コード例 #3
0
 public ReportForm(DataModule dm, MainForm mnu)
 {
     InitializeComponent();
     DM      = dm;
     frmMenu = mnu;
 }
コード例 #4
0
ファイル: MainForm.cs プロジェクト: danielkim2711/GUI
 private void MainForm_Load(object sender, EventArgs e)
 {
     DM = new DataModule(); // Create the data module and load the dataset
 }