Biskilog POS desktop appilcation
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.

75 lines
2.1 KiB

using BiskLog_Point_Of_Sale;
using BiskLog_Point_Of_Sale.Properties;
using Point_Of_Sale_Managment;
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 Point_Of_Sale_Managment.CashierModule
{
public partial class Hardware : Form
{
SystemSettings systemSettings;
public Hardware(SystemSettings settings)
{
InitializeComponent();
systemSettings = settings;
}
private void Button1_Click(object sender, EventArgs e)
{
systemSettings.moveToMailer();
}
private void Button2_Click(object sender, EventArgs e)
{
systemSettings.Done();
}
private void Button4_Click(object sender, EventArgs e)
{
HardwareSetupWizard hardwareSetup = new HardwareSetupWizard(this);
hardwareSetup.BringToFront();
hardwareSetup.ShowDialog();
}
private void Button5_Click(object sender, EventArgs e)
{
HardwareSetupWizard hardwareSetup = new HardwareSetupWizard(this);
hardwareSetup.BringToFront();
hardwareSetup.ShowDialog();
}
private void Button3_Click(object sender, EventArgs e)
{
systemSettings.Close();
}
private void Hardware_Load(object sender, EventArgs e)
{
DefaultsPrinter();
}
public void DefaultsPrinter()
{
if (!String.IsNullOrEmpty(Settings.Default.ReportPrinter))
{
defaultReport.Text = Settings.Default.ReportPrinter;
}
if (!String.IsNullOrEmpty(Settings.Default.ReceiptPrinter))
{
defaultReceipt.Text = Settings.Default.ReceiptPrinter;
}
if (!String.IsNullOrEmpty(Settings.Default.Tag_BarcodePrinter))
{
defaultBarcode.Text = Settings.Default.Tag_BarcodePrinter;
}
}
}
}