43 lines
1.1 KiB
C#
43 lines
1.1 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Drawing;
|
|
using System.Windows.Forms;
|
|
|
|
using dezentrale.core;
|
|
using dezentrale.model;
|
|
using dezentrale.model.money;
|
|
|
|
namespace dezentrale.view
|
|
{
|
|
public class frmPaymentReceipts : FormWithOkCancel
|
|
{
|
|
|
|
public string SvgTemplate { get; set; } = "";
|
|
public string OutputDirectory { get; set; } = "";
|
|
public string FileNamePattern { get; set; } = "{Number}-{Date}";
|
|
public DateTime StartDate { get; set; }
|
|
public DateTime EndDate { get; set; }
|
|
|
|
|
|
private TextBox tbSvgTemplate;
|
|
private TextBox tbOutputDirectory;
|
|
private TextBox tbFileNamePattern;
|
|
private DateTimePicker dtStartDate;
|
|
private DateTimePicker dtEndDate;
|
|
|
|
public frmPaymentReceipts()
|
|
{
|
|
AddOkCancel(this, btnOK_Click, btnCancel_Click);
|
|
}
|
|
|
|
private void btnOK_Click(object sender, EventArgs e)
|
|
{
|
|
DialogResult = DialogResult.OK;
|
|
this.Close();
|
|
}
|
|
private void btnCancel_Click(object sender, EventArgs e)
|
|
{
|
|
this.Close();
|
|
}
|
|
}
|
|
} |