if (key == "⌫") btn.Click += (s, e) => if (textBox.Text.Length > 0) textBox.Text = textBox.Text.Remove(textBox.Text.Length - 1); ; else if (key == "↵") btn.Click += (s, e) => textBox.Text += Environment.NewLine; else btn.Click += (s, e) => textBox.Text += key;
public class ArabicKeyboardForm : Form
textBox = new TextBox() Font = new System.Drawing.Font("Tahoma", 18), Dock = DockStyle.Top, Height = 60, TextAlign = HorizontalAlignment.Right ; arabic keyboard download pc
Controls.Add(keyPanel); Controls.Add(textBox); if (key == "⌫") btn
public ArabicKeyboardForm() this.Text = "Arabic Keyboard for PC"; this.Width = 900; this.Height = 500; this.StartPosition = FormStartPosition.CenterScreen; if (textBox.Text.Length >
private TextBox textBox; private FlowLayoutPanel keyPanel;
keyPanel.Controls.Add(btn);