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