public TimeLimited(ALEmanCafeServer ACS, NetworkItems NI) { InitializeComponent(); this.ACS = ACS; this.NI = NI; this.TimeTextBox.KeyDown += new KeyEventHandler(TimeTextBox_KeyDown); TimeTextBox.TextChanged += new EventHandler(TimeTextBox_TextChanged); TimeTextBox.SelectAll(); }
public SellingOperate(ALEmanCafeServer ACS2, ProductsInfos PI) { InitializeComponent(); this.PI = PI; this.ACS2 = ACS2; this.TimeTextBox.KeyDown += new KeyEventHandler(TimeTextBox_KeyDown); TimeTextBox.TextChanged += new EventHandler(TimeTextBox_TextChanged); TimeTextBox.SelectAll(); maskedTextBox1.Text = PI.Price + (Program.OrLanguage == true ? " EGP" : " جنيه"); if (Program.OrLanguage == false) { this.Text = "عملية بيع/إسترجاع"; this.RightToLeft = RightToLeft.Yes; label3.Text = "البيع والإسترجاع"; label1.Text = "الكمية "; label2.Text = "السعر"; CancelCloseButton.Text = "خروج"; OKButton.Text = "حسناً"; } }