Welcome to my life

Emerson's Green

After an overnight snow fall in Emersons Green Village I went out early in the morning to take a few photos of the village and surrounding area.

Comments
  1. Maimoona ch
    Maimoona ch

    can u help how can we add smily face in richtextbox by click on smiely button app(like yahoo email app ) in c#

  2. Pete
    Pete

    Very much appreciate all your tutorials. Very concise with exactly the right amount of detail. Thank you very much!

  3. LLB
    LLB

    I have a similar UserControl application. it works quite good when I debug it but if I put it in a form application and change a property, I take "Object reference not set to an instance of an object" error although I defined the property 'public'?

  4. jt
    jt

    Excellent Article!

    I do have a question...

    I was playing with adding another smiley (green) dynamically, that would draw to the right of the existing yellow smiley. It doesn't seem to do what I had expected.

    Here's the Form1.cs code:

    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Text;
    using System.Windows.Forms;

    namespace WindowsApplication1
    {
    public partial class Form1 : Form
    {
    Smiley smiley;

    public Form1()
    {
    InitializeComponent();

    smiley = new Smiley(10,10);

    smiley.Location = new System.Drawing.Point(145, 145);
    smiley.Name = "smiley2";
    smiley.Size = new System.Drawing.Size(120, 120);
    smiley.SmileyColor = WindowsApplication1.Smiley.SampleColours.Green;
    smiley.SmileyName = null;
    smiley.TabIndex = 5;
    smiley.Text = "smiley2";

    smiley.Visible = true;

    }
    }
    }

    Thanks,

    jt

  5. riper
    riper

    Excellent article! Thanks for describing something rather complex in so few words! :)

Leave a Reply

Your email address will not be published.