blah blah blah is here! blah blah » Close

0
votes
1 answers

serial port locks program C#

Hello, I'm trying to monitor data from my serial port, but as soon as I start to read out and display the data on my screen I can't press any button in my program anymore. I assume the program is too busy with my serial port that it does ...

0
votes
0 answers

C# window resize

Hi. I am beginner in C#, for creating projects I use Microsoft Visual Studio C# 2010 Express and in whole interent I haven't find working answer to my question: how can I change window size as an action after mouse click on some button? To ...

0
votes
1 answers

im having difficulty figuring out how to manage button clicks

i have a project i'm working on for school, however i'm stumped at a particular spot. i have to create a matching game and i'm not sure how to manage my button clicks. for example: if i click button 1, it changes the button text to the ...

0
votes
3 answers

Which one come first when 2 even happen?

Dear all, I want to make a button click event which write and read through the serial port. In the other side, I also have a timer tick event which also write and read through the same port. My question is, if the button click and tim ...

0
votes
1 answers

a return keyword must not be followed by an object expression

hi how is it possible to return an arrayList from this: private void btnResult_Click(object sender, EventArgs e) { ArrayList arlist = new ArrayList(); arlist.Add(examResults); return arlist; } Many Thanks

0
votes
1 answers

Changing button background color for one row in datagrid

I have the below code that loops through a datagrid setting the format per the items listed in that row. For some reason I cant find how to change the button background color for just one button (some buttons will be red and some will be gr ...

0
votes
1 answers

Help with hiding buttons

Hey everyone, I am completely new to this forum business so I apologize if I post something wrong or something. Anyways, I am writing this program for this class and I have a Start_Screen which allows the user to select their level ...

1
votes
4 answers

Resizing Form1 Size

Dear All, Is it possible that with a click of a button, the form can resize (bigger and smaller) and some buttons/textboxes will appear? [img]http://i693.photobucket.com/albums/vv295/fajarelektro/resize.jpg[/img] Thank you in adva ...

0
votes
1 answers

click button in code

hello, i want code like this [code] this.Button1.Click(); [/code]

0
votes
3 answers

wpf compare button content to string

i'm looking to compare button content in wpf i have a button with "Start" written in it, i need it to change to "Stop" in code, so i tried this: [code] if (btnStart.Content.ToString() == "Start") { ...

Feedback