TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
tata
NA
3
0
how to call a static function of class Form?
Mar 24 2010 10:07 AM
I want to create a function "public static void draw()" in class "public partial class Form1 : Form" in my C# window form application.
When i set static to my own function , i can not use controls in form . Specific , i want to use event Paint of a my panel in form ( i name it is panel1 ) by call panel1.Invalidate(); in my own function (draw) . But when my function is set to static ( i want use it in other class ) , i can not use this control panel. Can you help me a solution? Thank you very much.
Reply
Answers (
2
)
MidPointRounding for Math.Round() method in .Net Application
Updating a SQL Stored Procedure through my code...