You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
891 B
28 lines
891 B
3 months ago
|
using BiskLog_Point_Of_Sale.Properties;
|
||
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
using System.Linq;
|
||
|
using System.Text;
|
||
|
using System.Threading.Tasks;
|
||
|
|
||
|
namespace BiskLog_Point_Of_Sale.Classes
|
||
|
{
|
||
|
class systemConfigured
|
||
|
{
|
||
|
public static void checkedConfigure()
|
||
|
{
|
||
|
if((!String.IsNullOrEmpty(Settings.Default.Currency)) && !String.IsNullOrEmpty(Settings.Default.currrencyCode) && (!String.IsNullOrEmpty(Settings.Default.ReportPrinter))
|
||
|
&& (!String.IsNullOrEmpty(Settings.Default.ReceiptPrinter)) &&
|
||
|
(!String.IsNullOrEmpty(Settings.Default.Tag_BarcodePrinter)))
|
||
|
{
|
||
|
Settings.Default.systemSettingsConfigured = true;
|
||
|
}
|
||
|
else
|
||
|
{
|
||
|
Settings.Default.systemSettingsConfigured = false;
|
||
|
}
|
||
|
Settings.Default.Save();
|
||
|
}
|
||
|
}
|
||
|
}
|