Click here to Skip to main content
15,881,812 members
Home / Discussions / C#
   

C#

 
QuestionMessage Closed Pin
4-Jul-14 0:51
Mehtech4-Jul-14 0:51 
AnswerMessage Removed Pin
4-Jul-14 1:36
mvePete O'Hanlon4-Jul-14 1:36 
GeneralMessage Removed Pin
4-Jul-14 1:47
mveRichard Deeming4-Jul-14 1:47 
AnswerMessage Removed Pin
4-Jul-14 14:55
Jesus Daniel 20134-Jul-14 14:55 
GeneralMessage Removed Pin
5-Jul-14 0:49
professionalEddy Vluggen5-Jul-14 0:49 
Questionhow to solve this.... Pin
Nishant.Chauhan803-Jul-14 23:56
Nishant.Chauhan803-Jul-14 23:56 
AnswerRe: how to solve this.... Pin
Eddy Vluggen4-Jul-14 6:21
professionalEddy Vluggen4-Jul-14 6:21 
Questionaccess textbox in a tabPage Pin
Papatrexas3-Jul-14 23:37
Papatrexas3-Jul-14 23:37 
Greetings all.

I have 10 tabs with names tabPage01 to tabPage10. Inside those tabs there are textboxes named pathTXT01 to pathTXT10. Under each textbox there is a checkbox named changePath01 to changePath10. That check box is supposed to toggle .readonly for the textbox above it. So here is my function
private void changePath_CheckedChanged(object sender, EventArgs e)
        {
            CheckBox checkTemp = sender as CheckBox;
            //((Label)this.Controls["label" + i]).Text = "Lane " + i;
            string senderNumber = checkTemp.Name.Substring(checkTemp.Name.Length - 2, 2); //something between 01 and 10
            int tempMits = Convert.ToInt16(senderNumber);
            string tempPathName = "pathTXT" + senderNumber;
            TextBox papatrexas = ((TextBox)this.Controls[tempPathName]) as TextBox;
            //TextBox papatrexas = ((TextBox)this.tabPage01.Controls[tempPathName]) as TextBox; 
            //Above does not return null, gets the proper control but does nothing to it:S
            papatrexas.ReadOnly = !checkTemp.Checked;
            }


Any help appreciated.
AnswerRe: access textbox in a tabPage Pin
OriginalGriff3-Jul-14 23:52
mveOriginalGriff3-Jul-14 23:52 
Questionc# ListView header text word wrap option Pin
Galym3-Jul-14 18:28
professionalGalym3-Jul-14 18:28 
AnswerRe: c# ListView header text word wrap option Pin
Pete O'Hanlon4-Jul-14 1:48
mvePete O'Hanlon4-Jul-14 1:48 
GeneralRe: c# ListView header text word wrap option Pin
Galym4-Jul-14 17:39
professionalGalym4-Jul-14 17:39 
Questionhow to scan file on virustotal Pin
Member 105796733-Jul-14 17:42
Member 105796733-Jul-14 17:42 
AnswerRe: how to scan file on virustotal Pin
Richard MacCutchan4-Jul-14 0:49
mveRichard MacCutchan4-Jul-14 0:49 
Questionaccessing public static member of one class in another class Pin
KRISHNARAYALU3-Jul-14 11:59
KRISHNARAYALU3-Jul-14 11:59 
AnswerRe: accessing public static member of one class in another class Pin
Matt T Heffron3-Jul-14 12:32
professionalMatt T Heffron3-Jul-14 12:32 
GeneralRe: accessing public static member of one class in another class Pin
KRISHNARAYALU4-Jul-14 0:48
KRISHNARAYALU4-Jul-14 0:48 
GeneralRe: accessing public static member of one class in another class Pin
Pete O'Hanlon4-Jul-14 1:40
mvePete O'Hanlon4-Jul-14 1:40 
AnswerRe: accessing public static member of one class in another class Pin
Dave Kreskowiak3-Jul-14 18:05
mveDave Kreskowiak3-Jul-14 18:05 
AnswerRe: accessing public static member of one class in another class Pin
Richard MacCutchan4-Jul-14 0:48
mveRichard MacCutchan4-Jul-14 0:48 
Questionmoving slideshow Pin
Member 109229203-Jul-14 8:36
Member 109229203-Jul-14 8:36 
AnswerRe: moving slideshow Pin
User 48350473-Jul-14 9:22
User 48350473-Jul-14 9:22 
QuestionMongo DB Projection from C# Pin
Ennis Ray Lynch, Jr.3-Jul-14 8:22
Ennis Ray Lynch, Jr.3-Jul-14 8:22 
AnswerRe: Mongo DB Projection from C# Pin
Richard Deeming3-Jul-14 8:47
mveRichard Deeming3-Jul-14 8:47 
GeneralRe: Mongo DB Projection from C# Pin
Ennis Ray Lynch, Jr.3-Jul-14 9:20
Ennis Ray Lynch, Jr.3-Jul-14 9:20 

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.