2020-08-24 16:48:02 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Drawing;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Windows.Forms;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
namespace dezentrale.view
|
|
|
|
|
{
|
2021-02-16 21:10:22 +00:00
|
|
|
|
[Obsolete("Use FormWithActionButtons directly")]
|
|
|
|
|
public class FormWithOkCancel : FormWithActionButtons
|
2020-08-24 16:48:02 +00:00
|
|
|
|
{
|
2020-08-31 15:57:17 +00:00
|
|
|
|
protected Button btnOk, btnCancel;
|
|
|
|
|
|
2021-02-16 21:10:22 +00:00
|
|
|
|
protected void AddOkCancel(EventHandler okEvent, EventHandler cancelEvent)
|
2020-08-24 16:48:02 +00:00
|
|
|
|
{
|
2021-02-16 21:10:22 +00:00
|
|
|
|
btnOk = AddButton("OK", okEvent);
|
|
|
|
|
btnCancel = AddButton("Cancel", cancelEvent);
|
2020-08-24 16:48:02 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|