Beispiel #1
0
        private void toolBarInfoLabel2_ButtonPressed(object sender, EventArgs e)
        {
            EnterPeriodPanel d = new EnterPeriodPanel();

            d.EarthLocation     = calLocation.GetEarthData();
            d.OnPeriodSelected += new TBButtonPressed(d_OnPeriodSelected);
            d.InputStartDate    = calStartDate;
            d.InputEndDate      = calEndDate;
            EnterPeriodPanelController dlg15 = new EnterPeriodPanelController(d);

            dlg15.ShowInContainer(Controller.ViewContainer, GVControlAlign.Center);
        }
Beispiel #2
0
        private void onDateRangeClick(object sender, EventArgs e)
        {
            EnterPeriodPanel d = new EnterPeriodPanel();

            d.EarthLocation     = ratedLocation.GetEarthData();
            d.OnPeriodSelected += new TBButtonPressed(d_OnPeriodSelected);
            d.InputStartDate    = ratedStartDate;
            d.InputEndDate      = ratedEndDate;
            EnterPeriodPanelController dc = new EnterPeriodPanelController(d);

            dc.ShowInContainer(Controller.ViewContainer, GVControlAlign.Center);
        }