Click here to Skip to main content
15,887,477 members
Home / Discussions / C#
   

C#

 
GeneralRe: Input validation Pin
Pete O'Hanlon27-Apr-11 10:02
mvePete O'Hanlon27-Apr-11 10:02 
AnswerRe: Input validation Pin
walterhevedeich27-Apr-11 14:54
professionalwalterhevedeich27-Apr-11 14:54 
GeneralRe: Input validation Pin
Pete O'Hanlon27-Apr-11 15:11
mvePete O'Hanlon27-Apr-11 15:11 
QuestionHow can i add A Linklable by calling a function in a class? Pin
Arunkumar.Koloth27-Apr-11 8:57
Arunkumar.Koloth27-Apr-11 8:57 
AnswerRe: How can i add A Linklable by calling a function in a class? Pin
Pete O'Hanlon27-Apr-11 9:04
mvePete O'Hanlon27-Apr-11 9:04 
QuestionRe: How can i add A Linklable by calling a function in a class? Pin
Arunkumar.Koloth27-Apr-11 10:48
Arunkumar.Koloth27-Apr-11 10:48 
AnswerRe: How can i add A Linklable by calling a function in a class? Pin
Pete O'Hanlon27-Apr-11 10:52
mvePete O'Hanlon27-Apr-11 10:52 
QuestionRe: How can i add A Linklable by calling a function in a class? Pin
Arunkumar.Koloth27-Apr-11 11:34
Arunkumar.Koloth27-Apr-11 11:34 
Thankyou This Time I Dont Get Any Errors The Program Executed Well But I Cant See The Label I Created

And Also How Can I fire Click Event? And Where Should I Add The Url?

This is My 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
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void Form1_Load(object sender, EventArgs e)
        {
            Form1 frm1=new Form1();
            AddLinkLabel(frm1, 20, 20, 100, 30, "Click Here");
        }
        public void AddLinkLabel<T>(T containingForm, int top, int left, int width, int height, string link) where T : Form
        {
            LinkLabel label = new LinkLabel();
            label.Location = new System.Drawing.Point(top, left);
            label.Size = new System.Drawing.Size(width, height);
            containingForm.Controls.Add(label);
        }
    }
}

AnswerRe: How can i add A Linklable by calling a function in a class? Pin
Pete O'Hanlon27-Apr-11 14:49
mvePete O'Hanlon27-Apr-11 14:49 
QuestionRe: How can i add A Linklable by calling a function in a class? Pin
Arunkumar.Koloth27-Apr-11 18:02
Arunkumar.Koloth27-Apr-11 18:02 
AnswerRe: How can i add A Linklable by calling a function in a class? Pin
Pete O'Hanlon27-Apr-11 20:35
mvePete O'Hanlon27-Apr-11 20:35 
GeneralRe: How can i add A Linklable by calling a function in a class? Pin
Arunkumar.Koloth28-Apr-11 1:57
Arunkumar.Koloth28-Apr-11 1:57 
GeneralRe: How can i add A Linklable by calling a function in a class? Pin
Pete O'Hanlon28-Apr-11 3:16
mvePete O'Hanlon28-Apr-11 3:16 
QuestionCompiling a project in a "smart" way? Pin
Dr.Unreal27-Apr-11 7:35
Dr.Unreal27-Apr-11 7:35 
AnswerRe: Compiling a project in a "smart" way? Pin
AspDotNetDev27-Apr-11 7:43
protectorAspDotNetDev27-Apr-11 7:43 
AnswerRe: Compiling a project in a "smart" way? Pin
Dave Kreskowiak27-Apr-11 7:45
mveDave Kreskowiak27-Apr-11 7:45 
AnswerRe: Compiling a project in a "smart" way? Pin
Dr.Unreal27-Apr-11 7:48
Dr.Unreal27-Apr-11 7:48 
GeneralRe: Compiling a project in a "smart" way? Pin
OriginalGriff27-Apr-11 8:23
mveOriginalGriff27-Apr-11 8:23 
GeneralRe: Compiling a project in a "smart" way? Pin
Dr.Unreal27-Apr-11 8:27
Dr.Unreal27-Apr-11 8:27 
GeneralRe: Compiling a project in a "smart" way? Pin
OriginalGriff27-Apr-11 8:31
mveOriginalGriff27-Apr-11 8:31 
GeneralRe: Compiling a project in a "smart" way? Pin
walterhevedeich27-Apr-11 17:02
professionalwalterhevedeich27-Apr-11 17:02 
Questionconverting to int Pin
jojoba201127-Apr-11 4:46
jojoba201127-Apr-11 4:46 
AnswerRe: converting to int Pin
dan!sh 27-Apr-11 5:10
professional dan!sh 27-Apr-11 5:10 
AnswerRe: converting to int Pin
Luc Pattyn27-Apr-11 5:16
sitebuilderLuc Pattyn27-Apr-11 5:16 
GeneralRe: converting to int Pin
AspDotNetDev27-Apr-11 7:34
protectorAspDotNetDev27-Apr-11 7:34 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.