This commit is contained in:
44
source/Plugins/AyaNovaOL/Options.cs
Normal file
44
source/Plugins/AyaNovaOL/Options.cs
Normal file
@@ -0,0 +1,44 @@
|
||||
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();
|
||||
}
|
||||
|
||||
//-----------------------
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user