Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. How to create existing chat control as a user control in C#

How to create existing chat control as a user control in C#

Scheduled Pinned Locked Moved C#
questioncsharptutoriallounge
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    ChandrakanthGaddam
    wrote on last edited by
    #1

    Hi this is chandra. I have one question. I have some predefined Chat controls. I want to create a chat control as a user control in c# by assigning some properties like chat name, chat width, chat height.How can i create this. can any one please suggest me on this. Thanks Chandrasekar

    R L 2 Replies Last reply
    0
    • C ChandrakanthGaddam

      Hi this is chandra. I have one question. I have some predefined Chat controls. I want to create a chat control as a user control in c# by assigning some properties like chat name, chat width, chat height.How can i create this. can any one please suggest me on this. Thanks Chandrasekar

      R Offline
      R Offline
      Ravi Bhavnani
      wrote on last edited by
      #2

      See this[^] tutorial on user controls at MSDN. /ravi

      My new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com

      L 1 Reply Last reply
      0
      • R Ravi Bhavnani

        See this[^] tutorial on user controls at MSDN. /ravi

        My new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        +5, as it is the correct answer. As it reads, the user wants to put something in a UserControl.

        Bastard Programmer from Hell :suss:

        1 Reply Last reply
        0
        • C ChandrakanthGaddam

          Hi this is chandra. I have one question. I have some predefined Chat controls. I want to create a chat control as a user control in c# by assigning some properties like chat name, chat width, chat height.How can i create this. can any one please suggest me on this. Thanks Chandrasekar

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          You create usercontrols in the same way that you created the chat-controls.

          ChandrakanthGaddam wrote:

          I want to create a chat control as a user control in c# by assigning some properties like chat name, chat width, chat height.How can i create this.

          class MyChattyControl: UserControl
          {
          public string ChatName { get; set; }
          }

          Location, height and width are already part of the UserControl, so you needn't implement them.

          Bastard Programmer from Hell :suss:

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups