Click here to Skip to main content
15,891,657 members
Home / Discussions / C#
   

C#

 
GeneralRe: Generating array in foreach loop Pin
mprice21426-Apr-10 3:41
mprice21426-Apr-10 3:41 
QuestionTrying to Watermark an Image using ffmpeg Pin
harsimranb23-Apr-10 17:05
harsimranb23-Apr-10 17:05 
AnswerRe: Trying to Watermark an Image using ffmpeg Pin
Alan N23-Apr-10 23:42
Alan N23-Apr-10 23:42 
GeneralRe: Trying to Watermark an Image using ffmpeg Pin
jymitra1-Mar-11 6:32
jymitra1-Mar-11 6:32 
Questionfuncions in C# Windows form Pin
joey_go23-Apr-10 15:48
joey_go23-Apr-10 15:48 
AnswerRe: funcions in C# Windows form Pin
AspDotNetDev23-Apr-10 15:57
protectorAspDotNetDev23-Apr-10 15:57 
GeneralRe: funcions in C# Windows form Pin
joey_go23-Apr-10 17:03
joey_go23-Apr-10 17:03 
GeneralRe: funcions in C# Windows form Pin
mprice21423-Apr-10 18:23
mprice21423-Apr-10 18:23 
joey_go wrote:
Calling the function on the form isn't the issue... it's how do I add this function (method) in to my Visual studio 2008 C# Windows form application.


Hi Joe,

I'm still pretty wet behind the ears, but thought I could take a swing. If you select the "view code" button under the Solution Explorer (2nd from right) in the form [design] view or just double click the header of the form, you'll see the code for the form. You have a namespace and then under that probably "public partial class "formName" : Form, followed by an open curly bracket. Your function needs to be somewhere in between the open and closed curly brackets. You can then call it in Form_Load, button_Click, etc.

Please be gentle if I've just wasted your time reading this.... Shucks | :-\
AnswerRe: funcions in C# Windows form [modified] Pin
DaveyM6923-Apr-10 22:04
professionalDaveyM6923-Apr-10 22:04 
AnswerRe: funcions in C# Windows form Pin
#realJSOP24-Apr-10 0:50
mve#realJSOP24-Apr-10 0:50 
AnswerRe: funcions in C# Windows form Pin
joey_go24-Apr-10 18:49
joey_go24-Apr-10 18:49 
QuestionNeed help with Icon/Image Resource in C# VS 2008 .Net 3.5 Pin
USAFHokie8023-Apr-10 12:03
USAFHokie8023-Apr-10 12:03 
AnswerRe: Need help with Icon/Image Resource in C# VS 2008 .Net 3.5 Pin
Henry Minute23-Apr-10 13:54
Henry Minute23-Apr-10 13:54 
QuestionAT Commands Pin
Wamuti23-Apr-10 11:59
Wamuti23-Apr-10 11:59 
AnswerRe: AT Commands Pin
joey_go23-Apr-10 15:55
joey_go23-Apr-10 15:55 
QuestionCheckbox on the header of a Listview Pin
Natural_Demon23-Apr-10 11:00
Natural_Demon23-Apr-10 11:00 
AnswerRe: Checkbox on the header of a Listview Pin
Ravi Bhavnani23-Apr-10 15:37
professionalRavi Bhavnani23-Apr-10 15:37 
GeneralRe: Checkbox on the header of a Listview Pin
Natural_Demon23-Apr-10 16:15
Natural_Demon23-Apr-10 16:15 
Questionvb.net to c# Pin
toto_201023-Apr-10 7:35
toto_201023-Apr-10 7:35 
AnswerRe: vb.net to c# Pin
Luc Pattyn23-Apr-10 7:41
sitebuilderLuc Pattyn23-Apr-10 7:41 
AnswerRe: vb.net to c# Pin
#realJSOP23-Apr-10 7:46
mve#realJSOP23-Apr-10 7:46 
GeneralRe: vb.net to c# Pin
AspDotNetDev23-Apr-10 15:14
protectorAspDotNetDev23-Apr-10 15:14 
GeneralRe: vb.net to c# Pin
toto_201023-Apr-10 23:41
toto_201023-Apr-10 23:41 
QuestionBeginner Question: Distributing Data Driven Applications Pin
Kris Traughber23-Apr-10 4:59
Kris Traughber23-Apr-10 4:59 
AnswerRe: Beginner Question: Distributing Data Driven Applications Pin
dan!sh 23-Apr-10 5:06
professional dan!sh 23-Apr-10 5:06 

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.