Click here to Skip to main content
15,927,514 members
Home / Discussions / C#
   

C#

 
Questionawhat is refrence Pin
wasimsharp1-Dec-07 0:55
wasimsharp1-Dec-07 0:55 
AnswerRe: awhat is refrence Pin
pmarfleet1-Dec-07 2:19
pmarfleet1-Dec-07 2:19 
GeneralRe: awhat is refrence Pin
Paul Conrad1-Dec-07 9:19
professionalPaul Conrad1-Dec-07 9:19 
QuestionHow to Detect a device connection? Pin
Vicky2Galaxy1-Dec-07 0:50
Vicky2Galaxy1-Dec-07 0:50 
AnswerRe: How to Detect a device connection? Pin
Luc Pattyn1-Dec-07 2:54
sitebuilderLuc Pattyn1-Dec-07 2:54 
GeneralRe: How to Detect a device connection? Pin
Vicky2Galaxy1-Dec-07 20:52
Vicky2Galaxy1-Dec-07 20:52 
Questionhow to increase decrease form size on timer tick Pin
D i x y1-Dec-07 0:31
D i x y1-Dec-07 0:31 
AnswerRe: how to increase decrease form size on timer tick Pin
Anthony Mushrow1-Dec-07 2:22
professionalAnthony Mushrow1-Dec-07 2:22 
Well, you can change the form size using the Width and Height properties. Then you can just increase those until you get to the size you want, then start decreasing them, here let me give you an example:

int Difference = 5;
int MaxWidth, MinWidth, MaxHeight, MinHeight; //you will of course need to define these

timerTick()
{
  this.Width += Difference;

  if(this.Width >= MaxWidth) {
    this.Width = MaxWidth;
    Difference *= -1;
  } else if(this.Width <= MinWidth) {
    this.Width = MinWidth
    Difference *= -1;
  }

  //Then do the same for height
}




My current favourite word is: PIE!

I have changed my name to my regular internet alias. But don't let the 'Genius' part fool you, you don't know what 'SK' stands for.
-The Undefeated

QuestionHow to Change a color in TextBox? Pin
vijayashanthi30-Nov-07 23:53
vijayashanthi30-Nov-07 23:53 
AnswerRe: How to Change a color in TextBox? Pin
pmarfleet1-Dec-07 2:15
pmarfleet1-Dec-07 2:15 
Questionwhat is assembly Pin
wasimsharp30-Nov-07 23:18
wasimsharp30-Nov-07 23:18 
AnswerRe: what is assembly Pin
Christian Graus30-Nov-07 23:51
protectorChristian Graus30-Nov-07 23:51 
AnswerRe: what is assembly Pin
Zoltan Balazs1-Dec-07 11:54
Zoltan Balazs1-Dec-07 11:54 
QuestionReading a file and parsing the content to string array Pin
PS@Codeproj30-Nov-07 23:05
PS@Codeproj30-Nov-07 23:05 
AnswerRe: Reading a file and parsing the content to string array Pin
Christian Graus30-Nov-07 23:52
protectorChristian Graus30-Nov-07 23:52 
AnswerRe: Reading a file and parsing the content to string array Pin
PIEBALDconsult1-Dec-07 3:56
mvePIEBALDconsult1-Dec-07 3:56 
Questionexpression blend database problem !!!! Pin
angels77730-Nov-07 22:35
angels77730-Nov-07 22:35 
AnswerRe: expression blend database problem !!!! Pin
angels77730-Nov-07 23:24
angels77730-Nov-07 23:24 
Questionerror(class1.cs is inaccessible due to protection level) Pin
chanzeb30-Nov-07 21:53
chanzeb30-Nov-07 21:53 
AnswerRe: error(class1.cs is inaccessible due to protection level) Pin
Pankaj - Joshi30-Nov-07 21:59
Pankaj - Joshi30-Nov-07 21:59 
GeneralRe: error(class1.cs is inaccessible due to protection level) Pin
chanzeb30-Nov-07 22:07
chanzeb30-Nov-07 22:07 
GeneralRe: error(class1.cs is inaccessible due to protection level) Pin
Christian Graus30-Nov-07 22:20
protectorChristian Graus30-Nov-07 22:20 
GeneralRe: error(class1.cs is inaccessible due to protection level) Pin
Pankaj - Joshi30-Nov-07 22:28
Pankaj - Joshi30-Nov-07 22:28 
QuestionA button help Pin
Strategic_Thinker30-Nov-07 21:49
Strategic_Thinker30-Nov-07 21:49 
AnswerRe: A button help Pin
chanzeb30-Nov-07 22:10
chanzeb30-Nov-07 22:10 

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.