Exemplo n.º 1
0
        public FormFishingRecord()
        {
            InitializeComponent();
            _presenter = new PresenterFishingRecordAdd(this);

            DateTime now      = DateTime.Now;
            DateTime dateTime = new DateTime(now.Year, now.Month, now.Day, 0, 0, 0);

            DateTimeStart = dateTime;
            DateTimeEnd   = dateTime;
        }
Exemplo n.º 2
0
        public FormFishingRecordEditor(FormMain inForm)
        {
            InitializeComponent();
            _presenter = new PresenterAddFishingRecord(this);
            _presenter.Attach(inForm);

            DateTime now      = DateTime.Now;
            DateTime dateTime = new DateTime(now.Year, now.Month, now.Day, 0, 0, 0);

            StartDateTime = dateTime;
            EndDateTime   = dateTime;
        }
Exemplo n.º 3
0
 public FormAddFishCatch(PresenterFishingRecord inParentPresenter)
 {
     InitializeComponent();
     _presenter = new PresenterAddFishCatch(this, inParentPresenter as PresenterAddFishingRecord);
 }
Exemplo n.º 4
0
 public FormFishingRecord(int index)
 {
     InitializeComponent();
     _presenter = new PresenterFishingRecordEdit(this, index);
 }