Click here to Skip to main content
15,906,558 members
Home / Discussions / C#
   

C#

 
AnswerRe: Send a message to a control Pin
\laddie13-Sep-07 21:28
\laddie13-Sep-07 21:28 
QuestionSend a message to a control Pin
vikas maan13-Sep-07 21:12
vikas maan13-Sep-07 21:12 
AnswerRe: Send a message to a control Pin
\laddie13-Sep-07 21:27
\laddie13-Sep-07 21:27 
QuestionTo search and copy from server Pin
P_Elza13-Sep-07 21:11
P_Elza13-Sep-07 21:11 
AnswerRe: To search and copy from server Pin
\laddie13-Sep-07 21:24
\laddie13-Sep-07 21:24 
GeneralRe: To search and copy from server Pin
P_Elza13-Sep-07 21:45
P_Elza13-Sep-07 21:45 
QuestionHelp me Pin
P_Elza13-Sep-07 22:09
P_Elza13-Sep-07 22:09 
GeneralRe: To search and copy from server Pin
Joe13-Sep-07 22:13
Joe13-Sep-07 22:13 
QuestionRe: To search and copy from server Pin
P_Elza13-Sep-07 22:28
P_Elza13-Sep-07 22:28 
AnswerRe: To search and copy from server Pin
Pete O'Hanlon14-Sep-07 0:21
mvePete O'Hanlon14-Sep-07 0:21 
AnswerRe: To search and copy from server Pin
rohitsrivastava13-Sep-07 23:01
rohitsrivastava13-Sep-07 23:01 
GeneralRe: To search and copy from server Pin
P_Elza13-Sep-07 23:04
P_Elza13-Sep-07 23:04 
QuestionDelete Data Pin
Nishad8513-Sep-07 20:15
Nishad8513-Sep-07 20:15 
AnswerRe: Delete Data Pin
\laddie13-Sep-07 20:26
\laddie13-Sep-07 20:26 
AnswerRe: Delete Data Pin
rohitsrivastava13-Sep-07 22:48
rohitsrivastava13-Sep-07 22:48 
AnswerRe: Delete Data Pin
rohitsrivastava13-Sep-07 22:49
rohitsrivastava13-Sep-07 22:49 
GeneralRe: Delete Data Pin
Colin Angus Mackay13-Sep-07 23:24
Colin Angus Mackay13-Sep-07 23:24 
GeneralRe: Delete Data Pin
Dave Kreskowiak14-Sep-07 6:20
mveDave Kreskowiak14-Sep-07 6:20 
QuestionCombo Box Pin
sajid.salim.khan13-Sep-07 20:15
sajid.salim.khan13-Sep-07 20:15 
AnswerRe: Combo Box Pin
\laddie13-Sep-07 20:47
\laddie13-Sep-07 20:47 
AnswerRe: Combo Box Pin
rohitsrivastava13-Sep-07 22:08
rohitsrivastava13-Sep-07 22:08 
QuestionIterarting menu item Pin
Amar Chaudhary13-Sep-07 19:54
Amar Chaudhary13-Sep-07 19:54 
when I iterate through form controls and their child controls
it works fine for every thing else expect when it comes to menu items it only returns only

the top item and not the child ones

the code I am using is

void ModifyControls(Control.ControlCollection ControlCollection)
      {
          //iterator
          for (int i = 0; i < ControlCollection.Count; i++)
          {
              if (ControlCollection[i].GetType() != typeof(Menu))
              {
                  // add control
                  Array.Resize(ref Controls, Controls.Length + 1);
                  Controls[Controls.Length - 1] = new MyControls(ControlCollection[i]);

                  // save control specific formating and apply it
                  Controls[Controls.Length - 1].SaveFormating();
                  //itrate through child controls
                  ModifyControls(ControlCollection[i].Controls);
              }
          }
      }


Thanks and Regards
Amar Chaudhary


It is Good to be Important but!
it is more Important to be Good

AnswerRe: Iterarting menu item Pin
ElSpinos13-Sep-07 22:42
ElSpinos13-Sep-07 22:42 
GeneralRe: Iterarting menu item Pin
Amar Chaudhary14-Sep-07 3:12
Amar Chaudhary14-Sep-07 3:12 
QuestionRegarding Telnet Pin
pashitech13-Sep-07 19:31
pashitech13-Sep-07 19:31 

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.