1
0
mirror of https://github.com/Ylianst/MeshCentralRouter synced 2025-12-06 00:13:33 +00:00
Files
MeshCentralRouter/DeviceSettingsForm.cs
Ylian Saint-Hilaire 2b6bfdae4c UI improvements
2020-11-10 01:06:48 -08:00

39 lines
940 B
C#

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace MeshCentralRouter
{
public partial class DeviceSettingsForm : Form
{
public DeviceSettingsForm()
{
InitializeComponent();
doubleClickComboBox.SelectedIndex = 0;
}
public int deviceDoubleClickAction
{
get { return doubleClickComboBox.SelectedIndex; }
set { doubleClickComboBox.SelectedIndex = value; }
}
public bool ShowSystemTray
{
get { return systemTrayCheckBox.Checked; }
set { systemTrayCheckBox.Checked = value; }
}
private void okButton_Click(object sender, EventArgs e)
{
DialogResult = DialogResult.OK;
}
}
}