22 أسطر
600 B
C#
22 أسطر
600 B
C#
using System;
|
|
using System.Drawing;
|
|
|
|
namespace Pingerino.Services.Interfaces
|
|
{
|
|
public interface IConfigurationService
|
|
{
|
|
T GetValue<T>(string key, T defaultValue = default);
|
|
void SetValue<T>(string key, T value);
|
|
void Save();
|
|
void Load();
|
|
|
|
// Specific application settings
|
|
string LastUsedIpAddress { get; set; }
|
|
int PingInterval { get; set; }
|
|
bool AutoPingEnabled { get; set; }
|
|
Point FormPosition { get; set; }
|
|
string IpAddressValue { get; set; }
|
|
string TextBoxIntervalValue { get; set; }
|
|
}
|
|
}
|