예제 #1
0
        private void btnQRInput_ButtonClick(object sender, EventArgs e)
        {
            FormQRInput form = new FormQRInput();

            form.Icon = Icon;
            DialogResult dlgResult = form.ShowDialog();

            if (dlgResult == DialogResult.OK)
            {
                edText.Text           = form.QRContent;
                edText.SelectionStart = edText.Text.Length;
                btnQREncode.PerformClick();
            }
            form.Close();
            form.Dispose();
        }
예제 #2
0
파일: MainForm.cs 프로젝트: netcharm/qrutil
 private void btnQRInput_ButtonClick( object sender, EventArgs e )
 {
     FormQRInput form = new FormQRInput();
     form.Icon = Icon;
     DialogResult dlgResult = form.ShowDialog();
     if(dlgResult == DialogResult.OK)
     {
         edText.Text = form.QRContent;
         edText.SelectionStart = edText.Text.Length;
         btnQREncode.PerformClick();
     }
     form.Close();
     form.Dispose();
 }