예제 #1
0
        private void button10_Click(object sender, System.EventArgs e)
        {
            Tus t = new Tus();

            t.textBox1.Text = textBox_AD.Text;
            if (t.ShowDialog() == DialogResult.OK)
            {
                textBox_AD.Text = t.textBox1.Text;
            }
        }
예제 #2
0
        private void button4_Click(object sender, System.EventArgs e)
        {
            Tus t = new Tus();

            t.textBox1.Text = textBoxCariAdi.Text;
            if (t.ShowDialog() == DialogResult.OK)
            {
                textBoxCariAdi.Text = t.textBox1.Text;
                textBoxCariAdi_KeyUp(null, new KeyEventArgs(Keys.Enter));
            }
        }
예제 #3
0
        private void button2_Click(object sender, System.EventArgs e)
        {
            Tus t = new Tus();

            t.textBox1.Text = textBox_BARKOD.Text;
            if (t.ShowDialog() == DialogResult.OK)
            {
                textBox_BARKOD.Text = t.textBox1.Text;
                textBox_BARKOD_KeyPress(null, new KeyPressEventArgs((char)13));
            }
        }
예제 #4
0
        private void buttonTSeri_Click(object sender, EventArgs e)
        {
            Tus t = new Tus();

            t.textBox1.Text = textSeri.Text;
            if (t.ShowDialog() == DialogResult.OK)
            {
                textSeri.Text = t.textBox1.Text;
            }
            textSeri.Focus();
            return;
        }
예제 #5
0
        private void button2_Click(object sender, System.EventArgs e)
        {
            Tus t = new Tus();

            t.textBox1.Text = textBoxSorgu2.Text;
            if (t.ShowDialog() == DialogResult.OK)
            {
                textBoxSorgu2.Text = t.textBox1.Text;
            }
            textBoxSorgu2.Focus();
            textBoxSorgu2.SelectionStart = textBoxSorgu2.Text.Length;
        }
예제 #6
0
 private void buttonIsBul_Click(object sender, EventArgs e)
 {
     try
     {
         Tus t = new Tus();
         t.textBox1.Text = textIsEmri.Text;
         if (t.ShowDialog() == DialogResult.OK)
         {
             textIsEmri.Text = t.textBox1.Text;
             IsEmri();
         }
     }
     catch (Exception exc)
     {
         Utility.Hata("Genel Hata:" + exc.Message, "HATA!");
     }
 }
예제 #7
0
 private void button4_Click(object sender, EventArgs e)
 {
     try
     {
         Tus t = new Tus();
         t.textBox1.Text = textCikis.Text;
         if (t.ShowDialog() == DialogResult.OK)
         {
             textCikis.Text = t.textBox1.Text;
             textCikis_KeyPress(null, new KeyPressEventArgs((char)13));
         }
     }
     catch (Exception exc)
     {
         MessageBox.Show("Genel Hata:" + exc.Message, "HATA!");
     }
 }
예제 #8
0
 private void button1_Click(object sender, EventArgs e)
 {
     try
     {
         Tus t = new Tus();
         t.textBox1.Text = textPersonel.Text;
         if (t.ShowDialog() == DialogResult.OK)
         {
             textPersonel.Text = t.textBox1.Text;
             Personel();
         }
     }
     catch (Exception exc)
     {
         MessageBox.Show("Genel Hata:" + exc.Message, "HATA!");
     }
 }