Click here to Skip to main content
15,892,737 members
Home / Discussions / C#
   

C#

 
GeneralRe: cannot send text encryption via email Pin
KaKoten26-Jul-14 22:16
KaKoten26-Jul-14 22:16 
GeneralRe: cannot send text encryption via email Pin
Eddy Vluggen27-Jul-14 0:15
professionalEddy Vluggen27-Jul-14 0:15 
GeneralRe: cannot send text encryption via email Pin
KaKoten27-Jul-14 18:13
KaKoten27-Jul-14 18:13 
GeneralRe: cannot send text encryption via email Pin
Eddy Vluggen28-Jul-14 2:54
professionalEddy Vluggen28-Jul-14 2:54 
GeneralRe: cannot send text encryption via email Pin
KaKoten28-Jul-14 11:54
KaKoten28-Jul-14 11:54 
GeneralRe: cannot send text encryption via email Pin
Eddy Vluggen28-Jul-14 12:17
professionalEddy Vluggen28-Jul-14 12:17 
GeneralRe: cannot send text encryption via email Pin
KaKoten28-Jul-14 16:53
KaKoten28-Jul-14 16:53 
QuestionC# File to Dictionary Lookup Pin
Member 1094881825-Jul-14 14:35
Member 1094881825-Jul-14 14:35 
GeneralRe: C# File to Dictionary Lookup Pin
PIEBALDconsult25-Jul-14 14:50
mvePIEBALDconsult25-Jul-14 14:50 
GeneralRe: C# File to Dictionary Lookup Pin
Member 1094881825-Jul-14 16:51
Member 1094881825-Jul-14 16:51 
Questionread value from item array in user control Pin
Jassim Rahma25-Jul-14 9:18
Jassim Rahma25-Jul-14 9:18 
AnswerRe: read value from item array in user control Pin
Gerry Schmitz25-Jul-14 11:19
mveGerry Schmitz25-Jul-14 11:19 
GeneralRe: read value from item array in user control Pin
Jassim Rahma25-Jul-14 12:42
Jassim Rahma25-Jul-14 12:42 
GeneralRe: read value from item array in user control Pin
Gerry Schmitz25-Jul-14 14:09
mveGerry Schmitz25-Jul-14 14:09 
GeneralRe: read value from item array in user control Pin
Jassim Rahma25-Jul-14 14:34
Jassim Rahma25-Jul-14 14:34 
GeneralRe: read value from item array in user control Pin
Gerry Schmitz25-Jul-14 15:01
mveGerry Schmitz25-Jul-14 15:01 
AnswerRe: read value from item array in user control Pin
KUMAR61927-Jul-14 20:54
professionalKUMAR61927-Jul-14 20:54 
AnswerRe: read value from item array in user control Pin
User 873938131-Jul-14 0:02
User 873938131-Jul-14 0:02 
C#
public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }
        List<myControls> lst;


        private void button1_Click(object sender, EventArgs e)
        {
            int max = int.Parse(txtInput.Text);
            lst = new List<myControls>();
            for (int i = 0; i < max; i++)
            {
                new myControls();
                lst.Add(new myControls());
            }
        }

        private void button2_Click(object sender, EventArgs e)
        {
            foreach (var item in lst)
            {
                MessageBox.Show(item.Name);
            }
        }
    }
    class myControls
    {
        public string Name;
        public TextBox t;
        public Label l;

    }


//by default control's modifiers property is set to private. Make it public to access from other classes.

modified 3-Sep-19 21:02pm.

QuestionComparison Overloading Pin
Rig Maitra25-Jul-14 6:14
Rig Maitra25-Jul-14 6:14 
AnswerRe: Comparison Overloading Pin
Rob Philpott25-Jul-14 6:23
Rob Philpott25-Jul-14 6:23 
GeneralRe: Comparison Overloading Pin
Rig Maitra25-Jul-14 6:29
Rig Maitra25-Jul-14 6:29 
GeneralRe: Comparison Overloading Pin
Rob Philpott25-Jul-14 6:43
Rob Philpott25-Jul-14 6:43 
GeneralRe: Comparison Overloading Pin
OriginalGriff25-Jul-14 8:50
mveOriginalGriff25-Jul-14 8:50 
AnswerRe: Comparison Overloading Pin
KUMAR61928-Jul-14 17:53
professionalKUMAR61928-Jul-14 17:53 
QuestionC# how to compare the old product(serialized) to new product,If same product means add the quantity only not repeated that product in output for below program Pin
Member 1097120125-Jul-14 3:22
Member 1097120125-Jul-14 3:22 

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.