Example #1
0
        private void okButton_Click(object sender, EventArgs e)
        {
            var         name        = this.textBox1.Text;
            StringClass stringClass = new StringClass();

            MessageBox.Show(stringClass.GetWelcomeString(name));
        }
Example #2
0
        private void Btn_Click(object sender, System.EventArgs e)
        {
            TextView    tw          = FindViewById <TextView>(Resource.Id.textView1);
            EditText    editText    = FindViewById <EditText>(Resource.Id.editText1);
            StringClass stringClass = new StringClass();

            tw.Text = stringClass.GetWelcomeString(editText.Text);
        }