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.
47 lines
1.1 KiB
47 lines
1.1 KiB
3 months ago
|
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 BiskLog_Point_Of_Sale.POSDialogs
|
||
|
{
|
||
|
public partial class FillDetails : Form
|
||
|
{
|
||
|
public string customerName, address,telephone;
|
||
|
public FillDetails()
|
||
|
{
|
||
|
InitializeComponent();
|
||
|
}
|
||
|
|
||
|
private void exitBTN_Click(object sender, EventArgs e)
|
||
|
{
|
||
|
this.DialogResult = DialogResult.Abort;
|
||
|
this.Close();
|
||
|
}
|
||
|
|
||
|
private void exitBTN_MouseEnter(object sender, EventArgs e)
|
||
|
{
|
||
|
exitBTN.BackColor = Color.Crimson;
|
||
|
}
|
||
|
|
||
|
private void confirm_Click(object sender, EventArgs e)
|
||
|
{
|
||
|
this.DialogResult = DialogResult.OK;
|
||
|
customerName = nameTXT.Text;
|
||
|
address = addressTXT.Text;
|
||
|
telephone = telTXT.Text;
|
||
|
this.Close();
|
||
|
}
|
||
|
|
||
|
private void exitBTN_MouseLeave(object sender, EventArgs e)
|
||
|
{
|
||
|
exitBTN.BackColor = Color.Transparent;
|
||
|
}
|
||
|
}
|
||
|
}
|