Click here to Skip to main content
15,916,527 members
Home / Discussions / C#
   

C#

 
GeneralRe: File Summary Info??? Pin
Yusuf5-Mar-09 16:45
Yusuf5-Mar-09 16:45 
AnswerRe: File Summary Info??? Pin
Dragonfly_Lee5-Mar-09 18:01
Dragonfly_Lee5-Mar-09 18:01 
GeneralRe: File Summary Info??? Pin
S K Y5-Mar-09 21:11
S K Y5-Mar-09 21:11 
GeneralRe: File Summary Info??? Pin
Dragonfly_Lee5-Mar-09 21:51
Dragonfly_Lee5-Mar-09 21:51 
GeneralRe: File Summary Info??? Pin
S K Y8-Mar-09 21:14
S K Y8-Mar-09 21:14 
GeneralRe: File Summary Info??? Pin
Dragonfly_Lee8-Mar-09 22:25
Dragonfly_Lee8-Mar-09 22:25 
Questionpermutation Pin
lakshmanriz5-Mar-09 13:08
lakshmanriz5-Mar-09 13:08 
JokeRe: permutation Pin
Yusuf5-Mar-09 13:22
Yusuf5-Mar-09 13:22 
AnswerRe: permutation Pin
Luc Pattyn5-Mar-09 13:27
sitebuilderLuc Pattyn5-Mar-09 13:27 
AnswerRe: permutation Pin
Christian Graus5-Mar-09 13:42
protectorChristian Graus5-Mar-09 13:42 
AnswerRe: permutation Pin
_Maxxx_5-Mar-09 14:06
professional_Maxxx_5-Mar-09 14:06 
QuestionCustom Open Dialogs with WebBrowser Control Pin
Umer Sheikh5-Mar-09 12:11
Umer Sheikh5-Mar-09 12:11 
AnswerRe: Custom Open Dialogs with WebBrowser Control Pin
_Maxxx_5-Mar-09 14:29
professional_Maxxx_5-Mar-09 14:29 
GeneralRe: Custom Open Dialogs with WebBrowser Control Pin
Umer Sheikh5-Mar-09 17:07
Umer Sheikh5-Mar-09 17:07 
QuestionUsing IAccessible to navigate across Datagrid rows Pin
Brian Garnica5-Mar-09 11:35
Brian Garnica5-Mar-09 11:35 
QuestionGraphs disappear from panel Pin
StuffyEst5-Mar-09 10:58
StuffyEst5-Mar-09 10:58 
AnswerRe: Graphs disappear from panel Pin
Calin Tatar5-Mar-09 11:27
Calin Tatar5-Mar-09 11:27 
GeneralRe: Graphs disappear from panel Pin
StuffyEst5-Mar-09 11:54
StuffyEst5-Mar-09 11:54 
GeneralRe: Graphs disappear from panel Pin
Calin Tatar5-Mar-09 12:07
Calin Tatar5-Mar-09 12:07 
GeneralRe: Graphs disappear from panel Pin
StuffyEst5-Mar-09 12:24
StuffyEst5-Mar-09 12:24 
AnswerRe: Graphs disappear from panel Pin
Luc Pattyn5-Mar-09 12:06
sitebuilderLuc Pattyn5-Mar-09 12:06 
GeneralRe: Graphs disappear from panel Pin
StuffyEst5-Mar-09 12:26
StuffyEst5-Mar-09 12:26 
AnswerRe: Graphs disappear from panel Pin
S K Y5-Mar-09 13:54
S K Y5-Mar-09 13:54 
GeneralRe: Graphs disappear from panel Pin
StuffyEst10-Mar-09 0:38
StuffyEst10-Mar-09 0:38 
God took ages to find my post ..

Anyway I've made some progress and still stuck on other part.

I have 3 different functions, one for graphic, second for graphic and third for axis.

I solved the paint problem with Axis, since its static and never changes, so it was quite easy to convert to paint event. On the other hand, graphs have both 2 parameters that they receive and the graph changes after that according to the values given.

Example : public void JoonistaGraafik(int k1, int k2)

now when I want to make it to paint event "public void JoonistaGraafik(object sender,PaintEventArgs e, int k1, int k2)"

I have problem calling out in InitializeComponents();

this.GraphPanel.Paint += new System.Windows.Forms.PaintEventHandler(JoonistaGraafik(slider_a, slider_b));

the thing is that, my two values "slider_a" and "slider_b" are generated in the trackbar_scroll event and then JoonistaGraafik(slider_a, slider_b); was called out.

I'm pretty bad in explaining, but I hope that made a bit sence.

In conclusion, the question is, how can I call out
"this.GraphPanel.Paint += new System.Windows.Forms.PaintEventHandler(JoonistaGraafik(slider_a, slider_b));"

if the slider_a and slider_b values have to change when I move the trackbar.

Thanks, and sorry for not replying so fast.
QuestionEvent Question Pin
E_Gold5-Mar-09 9:31
E_Gold5-Mar-09 9: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.