Click here to Skip to main content
15,900,973 members
Home / Discussions / C#
   

C#

 
GeneralRe: Want to chat through ip address Pin
harold aptroot25-May-13 21:30
harold aptroot25-May-13 21:30 
GeneralRe: Want to chat through ip address Pin
Ramans44425-May-13 21:40
Ramans44425-May-13 21:40 
AnswerRe: Want to chat through ip address Pin
dusty_dex26-May-13 0:57
dusty_dex26-May-13 0:57 
QuestionAssign Mutex to each Thread Pin
RoyDoron25-May-13 5:28
RoyDoron25-May-13 5:28 
AnswerRe: Assign Mutex to each Thread Pin
Dave Kreskowiak25-May-13 14:08
mveDave Kreskowiak25-May-13 14:08 
Questionc# question about gui standard location on every screen Pin
User349025-May-13 4:55
User349025-May-13 4:55 
AnswerRe: c# question about gui standard location on every screen Pin
Abhinav S25-May-13 5:08
Abhinav S25-May-13 5:08 
Questionint to string Pin
Member 1007416125-May-13 1:17
Member 1007416125-May-13 1:17 
im trying to remove a tab page from my tabcontrol

based on its tab index

but i have the tab index in an int

heres the code

C#
if (e.Button == MouseButtons.Right)
          {
              for (int i = 0; i < tabControl1.TabCount; i++)
              {
                  Rectangle r = tabControl1.GetTabRect(i);
                  if (r.Contains(e.Location))
                  {
                    //  MessageBox.Show("TabPressed: " + i);

                      if (i == 0)
                      {


                      }
                      else
                      {
                          string tabindexint = i.ToString();

                          tabControl1.TabPages.Remove(i);



it wont let me use an interger as a tab index how could i possibly do this
AnswerRe: int to string Pin
Richard MacCutchan25-May-13 1:25
mveRichard MacCutchan25-May-13 1:25 
AnswerRe: int to string Pin
Abhinav S25-May-13 1:26
Abhinav S25-May-13 1:26 
GeneralRe: int to string Pin
Member 1007416125-May-13 1:48
Member 1007416125-May-13 1:48 
AnswerRe: int to string Pin
Abhinav S25-May-13 2:19
Abhinav S25-May-13 2:19 
GeneralRe: int to string Pin
Member 1007416125-May-13 3:07
Member 1007416125-May-13 3:07 
AnswerRe: int to string Pin
Abhinav S25-May-13 3:27
Abhinav S25-May-13 3:27 
GeneralRe: int to string Pin
Member 1007416125-May-13 3:51
Member 1007416125-May-13 3:51 
GeneralRe: int to string Pin
Dave Kreskowiak25-May-13 4:06
mveDave Kreskowiak25-May-13 4:06 
AnswerRe: int to string Pin
Abhinav S25-May-13 5:06
Abhinav S25-May-13 5:06 
GeneralRe: int to string Pin
Member 1007416125-May-13 7:09
Member 1007416125-May-13 7:09 
GeneralRe: int to string Pin
Abhinav S25-May-13 9:16
Abhinav S25-May-13 9:16 
Questionhow can i get the attributes in my class dynamically Pin
neodeaths24-May-13 8:55
neodeaths24-May-13 8:55 
AnswerRe: how can i get the attributes in my class dynamically Pin
OriginalGriff24-May-13 9:17
mveOriginalGriff24-May-13 9:17 
AnswerRe: how can i get the attributes in my class dynamically Pin
BillWoodruff24-May-13 15:40
professionalBillWoodruff24-May-13 15:40 
QuestionStore Double Quote in string Variable Pin
M Riaz Bashir24-May-13 3:06
M Riaz Bashir24-May-13 3:06 
AnswerRe: Store Double Quote in string Variable Pin
DaveyM6924-May-13 3:13
professionalDaveyM6924-May-13 3:13 
AnswerRe: Store Double Quote in string Variable Pin
Simon_Whale24-May-13 3:14
Simon_Whale24-May-13 3:14 

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.