using BiskLog_Point_Of_Sale.Properties; 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 { public partial class BranchSetup : Form { SystemSettings system; public BranchSetup(SystemSettings settings) { InitializeComponent(); this.Left = (ClientSize.Width - this.Width) / 2; system = settings; } private void Button2_Click(object sender, EventArgs e) { Settings.Default.ReceiptBottomText = textBox7.Text.ToUpper(); system.MoveToTaxes(); } private void Button3_Click(object sender, EventArgs e) { system.Close(); } private void BranchSetup_Load(object sender, EventArgs e) { textBox1.Text = Settings.Default.CompanyName.ToUpper(); textBox2.Text = Settings.Default.BranchName.ToUpper(); textBox3.Text = Settings.Default.BranchCity.ToUpper(); textBox4.Text = Settings.Default.BranchTelephone; } } }