예제 #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;
        }
예제 #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;
        }
예제 #3
0
 public FormAddFishCatch(PresenterFishingRecord inParentPresenter)
 {
     InitializeComponent();
     _presenter = new PresenterAddFishCatch(this, inParentPresenter as PresenterAddFishingRecord);
 }
예제 #4
0
 public FormFishingRecord(int index)
 {
     InitializeComponent();
     _presenter = new PresenterFishingRecordEdit(this, index);
 }