Files
2018-06-29 19:47:36 +00:00

45 lines
1.1 KiB
C#

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace AyaNovaOL
{
public partial class Options : Form
{
public Options()
{
InitializeComponent();
}
private void Options_Load(object sender, EventArgs e)
{
ckIncludeEmailHeader.Checked = AyaNovaOL.Properties.Settings.Default.IncludeEmailHeader;
}
private void btnCancel_Click(object sender, EventArgs e)
{
Close();
}
private void btnOK_Click(object sender, EventArgs e)
{
AyaNovaOL.Properties.Settings.Default.IncludeEmailHeader = ckIncludeEmailHeader.Checked;
AyaNovaOL.Properties.Settings.Default.Save();
Close();
}
private void btnMap_Click(object sender, EventArgs e)
{
MapPhoneAddress d = new MapPhoneAddress();
d.ShowDialog();
d.Dispose();
}
//-----------------------
}
}