Beispiel #1
0
        public GifImageDrawingSample()
        {
            InitializeComponent();

            style = new GifImageStyle(fctb);
            style.ImagesByText.Add(@":bb", Properties.Resources.bye);
            style.ImagesByText.Add(@":D", Properties.Resources.lol);
            style.ImagesByText.Add(@"8)", Properties.Resources.rolleyes);
            style.ImagesByText.Add(@":@", Properties.Resources.unsure);
            style.ImagesByText.Add(@":)", Properties.Resources.smile_16x16);
            style.ImagesByText.Add(@":(", Properties.Resources.sad_16x16);

            style.StartAnimation();

            fctb.Text = "This example draws smile image instead of text smile\r\n: + D  = :D\r\n: + @ = :@\r\n8 + ) = 8)\r\n: + bb = :bb\r\n: + ) = :)\r\n: + ( = :(";
        }
        public GifImageDrawingSample()
        {
            InitializeComponent();

            style = new GifImageStyle(fctb);
            style.ImagesByText.Add(@":bb", Properties.Resources.bye);
            style.ImagesByText.Add(@":D", Properties.Resources.lol);
            style.ImagesByText.Add(@"8)", Properties.Resources.rolleyes);
            style.ImagesByText.Add(@":@", Properties.Resources.unsure);
            style.ImagesByText.Add(@":)", Properties.Resources.smile_16x16);
            style.ImagesByText.Add(@":(", Properties.Resources.sad_16x16);

            style.StartAnimation();

            fctb.OnTextChanged();
        }
        public GifImageDrawingSample()
        {
            InitializeComponent();

            style = new GifImageStyle(fctb);
            style.ImagesByText.Add(@":bb", Properties.Resources.bye);
            style.ImagesByText.Add(@":D", Properties.Resources.lol);
            style.ImagesByText.Add(@"8)", Properties.Resources.rolleyes);
            style.ImagesByText.Add(@":@", Properties.Resources.unsure);
            style.ImagesByText.Add(@":)", Properties.Resources.smile_16x16);
            style.ImagesByText.Add(@":(", Properties.Resources.sad_16x16);

            style.StartAnimation();

            fctb.OnTextChanged();
        }
        public GifImageDrawingSample()
        {
            InitializeComponent();

            style = new GifImageStyle(fctb);
            style.ImagesByText.Add(@":bb", Properties.Resources.bye);
            style.ImagesByText.Add(@":D", Properties.Resources.lol);
            style.ImagesByText.Add(@"8)", Properties.Resources.rolleyes);
            style.ImagesByText.Add(@":@", Properties.Resources.unsure);
            style.ImagesByText.Add(@":)", Properties.Resources.smile_16x16);
            style.ImagesByText.Add(@":(", Properties.Resources.sad_16x16);

            style.StartAnimation();

            fctb.Text = "This example draws smile image instead of text smile\r\n: + D  = :D\r\n: + @ = :@\r\n8 + ) = 8)\r\n: + bb = :bb\r\n: + ) = :)\r\n: + ( = :(";
        }