Exemple #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            ayarlar_yazici_sec a = new ayarlar_yazici_sec(false, "printer_info_etiket.txt");

            a.FormClosing += A_FormClosing2;
            a.ShowDialog();
        }
 private void button2_Click(object sender, EventArgs e)
 {
     using (var form = new ayarlar_yazici_sec(true, ""))
     {
         var result = form.ShowDialog();
         if (result == DialogResult.OK)
         {
             tb_yazici.Text = form.yazici;
         }
     }
 }