Example #1
0
 private void keyboard_ContentChanged(object sender, KoreanKeyboard.ContentChangedEventArgs e)
 {
     if (keyboard.txt != "")
     {
         SolidColorBrush Brush1 = new SolidColorBrush();
         Brush1.Color = Colors.Black;
         WatermarkTB.Foreground = Brush1;
         WatermarkTB.Text = ApplicationTitle.Text + " " + keyboard.txt;
     }
     else
     {
         SolidColorBrush Brush1 = new SolidColorBrush();
         Brush1.Color = Colors.Gray;
         WatermarkTB.Foreground = Brush1;
         WatermarkTB.Text = emptystr;
     }
 }
Example #2
0
        private void keyboard_ContentChanged(object sender, KoreanKeyboard.ContentChangedEventArgs e)
        {
            if (me2_bool == true)
            {
                if (keyboard.txt != "")
                {
                    SolidColorBrush Brush1 = new SolidColorBrush();
                    Brush1.Color = Colors.Black;
                    WatermarkTB.Foreground = Brush1;
                }
                else
                {
                    SolidColorBrush Brush1 = new SolidColorBrush();
                    Brush1.Color = Colors.Gray;
                    WatermarkTB.Foreground = Brush1;
                    WatermarkTB.Text = emptystr;
                }
                WatermarkTB.Text = keyboard.txt;
                me2_string = WatermarkTB.Text;
            }
            else
            {
                if (keyboard.txt != "")
                {
                    SolidColorBrush Brush1 = new SolidColorBrush();
                    Brush1.Color = Colors.Black;
                    WatermarkTB2.Foreground = Brush1;
                }
                else
                {
                    SolidColorBrush Brush1 = new SolidColorBrush();
                    Brush1.Color = Colors.Gray;
                    WatermarkTB2.Foreground = Brush1;
                    WatermarkTB2.Text = emptystr;
                }

                WatermarkTB2.Text = keyboard.txt;
                tag_string = WatermarkTB2.Text;
            }
        }