private void button3_Click(object sender, EventArgs e) { if (!String.IsNullOrEmpty(textBox1.Text)) { textBox1.Text = MyTCKontrol.TcTamamla((Int64.Parse(textBox1.Text.Substring(0, 9)) + 1).ToString()); textBox1.SelectAll(); textBox1.Focus(); } }
private void button1_Click(object sender, EventArgs e) { MessageBox.Show(MyTCKontrol.TcDogrula(textBox1.Text)); textBox1.SelectAll(); textBox1.Focus(); }