using BiskLog_Point_Of_Sale.Company_Setup; using Point_Of_Sale_Managment; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Data.SqlClient; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace BiskLog_Point_Of_Sale.Multiple_Login { public partial class NoAction : Form { string mainTitle; string mainMessage; public NoAction(string title = null,string message = null) { InitializeComponent(); mainTitle = title; mainMessage = message; } private void Cllose_Click(object sender, EventArgs e) { this.Close(); } private void Cllose_MouseEnter(object sender, EventArgs e) { cllose.BackColor = Color.Crimson; } private void Cllose_MouseLeave(object sender, EventArgs e) { cllose.BackColor = Color.FromArgb(20, 158, 132); } private void IdleLogout_Load(object sender, EventArgs e) { Form1.printerDialog = this; txtMessage.Text = mainMessage; txtTitle.Text = mainTitle; } private void Button1_Click(object sender, EventArgs e) { this.Close(); } } }