Click here to Skip to main content
15,895,746 members
Home / Discussions / C#
   

C#

 
GeneralRe: C# windows forms sent data to a link and preview them with PHP on IE or Safari etc. Pin
Vvelawras10-Jun-12 23:04
Vvelawras10-Jun-12 23:04 
GeneralRe: C# windows forms sent data to a link and preview them with PHP on IE or Safari etc. Pin
BobJanova11-Jun-12 5:54
BobJanova11-Jun-12 5:54 
QuestionReceive post values from Windows form app C# with php Pin
Vvelawras10-Jun-12 9:18
Vvelawras10-Jun-12 9:18 
QuestionEnable multiple textboxes one by one on button click Pin
Saidrex10-Jun-12 6:17
Saidrex10-Jun-12 6:17 
AnswerRe: Enable multiple textboxes one by one on button click Pin
Richard Andrew x6410-Jun-12 7:11
professionalRichard Andrew x6410-Jun-12 7:11 
GeneralRe: Enable multiple textboxes one by one on button click Pin
Saidrex10-Jun-12 8:01
Saidrex10-Jun-12 8:01 
AnswerRe: Enable multiple textboxes one by one on button click Pin
DaveyM6910-Jun-12 10:13
professionalDaveyM6910-Jun-12 10:13 
GeneralRe: Enable multiple textboxes one by one on button click Pin
Saidrex10-Jun-12 11:37
Saidrex10-Jun-12 11:37 
Tried both examples, they don't work with my program, maybe i'm doing something wrong. When i click button nothing happens.

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

namespace datori_konf
{
    public partial class datoru_konf : Form
    {
private Queue<TextBox> textBoxes;
 
        public datoru_konf()
        {
            InitializeComponent();
            textBoxes = new Queue<TextBox>(new TextBox[]{
               prog1,
               prog2,
               prog3,
               prog4,
               prog5,
               prog6,
               prog7,
               prog8,
               prog9,
               prog10,
               prog11,
               prog12,
               prog13,
               prog14,
               prog15,
               prog16,
               prog17,
               prog18,
               prog19,
               prog20
            });
        }

private void button4_Click(object sender, EventArgs e)
        {
            this.Close();
        }

private void button2_Click(object sender, EventArgs e)
        {
            Form2 form = new Form2();
            form.ShowDialog();
        }
private void button1_Click(object sender, EventArgs e)
        {
            textBoxes.Dequeue().Enabled = true;
            button1.Enabled = textBoxes.Count > 0;
        }

    }
}

GeneralRe: Enable multiple textboxes one by one on button click Pin
BobJanova10-Jun-12 22:50
BobJanova10-Jun-12 22:50 
GeneralRe: Enable multiple textboxes one by one on button click Pin
Saidrex10-Jun-12 23:07
Saidrex10-Jun-12 23:07 
Questionc# Pin
gopalmahadak9-Jun-12 17:34
gopalmahadak9-Jun-12 17:34 
AnswerRe: c# Pin
Richard Andrew x649-Jun-12 17:52
professionalRichard Andrew x649-Jun-12 17:52 
AnswerRe: c# Pin
PIEBALDconsult9-Jun-12 19:43
mvePIEBALDconsult9-Jun-12 19:43 
AnswerRe: c# Pin
OriginalGriff9-Jun-12 20:10
mveOriginalGriff9-Jun-12 20:10 
GeneralRe: c# Pin
glennPattonWork310-Jun-12 22:20
professionalglennPattonWork310-Jun-12 22:20 
AnswerRe: c# Pin
Dave Kreskowiak10-Jun-12 4:32
mveDave Kreskowiak10-Jun-12 4:32 
GeneralRe: c# Pin
egenis10-Jun-12 5:23
egenis10-Jun-12 5:23 
GeneralRe: c# Pin
Dave Kreskowiak10-Jun-12 6:59
mveDave Kreskowiak10-Jun-12 6:59 
AnswerRe: c# Pin
Abhinav S10-Jun-12 17:18
Abhinav S10-Jun-12 17:18 
Questionpaint event not called Pin
Danzy839-Jun-12 8:19
Danzy839-Jun-12 8:19 
AnswerRe: paint event not called Pin
OriginalGriff9-Jun-12 20:11
mveOriginalGriff9-Jun-12 20:11 
QuestionUser privilege issue logged on user (non local system account) Pin
Sunil P V8-Jun-12 20:13
Sunil P V8-Jun-12 20:13 
AnswerRe: User privilege issue logged on user (non local system account) Pin
Dave Kreskowiak9-Jun-12 5:11
mveDave Kreskowiak9-Jun-12 5:11 
GeneralRe: User privilege issue logged on user (non local system account) Pin
Sunil P V9-Jun-12 18:07
Sunil P V9-Jun-12 18:07 
GeneralRe: User privilege issue logged on user (non local system account) Pin
Dave Kreskowiak10-Jun-12 3:52
mveDave Kreskowiak10-Jun-12 3:52 

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.