Click here to Skip to main content
15,905,563 members
Home / Discussions / C#
   

C#

 
GeneralRe: Create control between 2 form Pin
Test27030710-Apr-07 2:12
Test27030710-Apr-07 2:12 
GeneralRe: Create control between 2 form Pin
Martin#10-Apr-07 2:50
Martin#10-Apr-07 2:50 
QuestionSocket Programming Pin
SakthiSurya9-Apr-07 22:05
SakthiSurya9-Apr-07 22:05 
QuestionResourceManager add parameters Pin
Ollie19869-Apr-07 21:50
Ollie19869-Apr-07 21:50 
AnswerRe: ResourceManager add parameters Pin
lmoelleb9-Apr-07 23:51
lmoelleb9-Apr-07 23:51 
Questionfreezing rows in winform datagrid Pin
Anil Mahto9-Apr-07 21:42
professionalAnil Mahto9-Apr-07 21:42 
AnswerRe: freezing rows in winform datagrid Pin
il_masacratore11-Apr-07 21:35
il_masacratore11-Apr-07 21:35 
QuestionSaving Solution As 'othername' Pin
Ranger499-Apr-07 21:41
Ranger499-Apr-07 21:41 
AnswerRe: Saving Solution As 'othername' Pin
Jaiprakash M Bankolli10-Apr-07 1:31
Jaiprakash M Bankolli10-Apr-07 1:31 
QuestionDataGridView CellValidation Pin
719-Apr-07 21:12
719-Apr-07 21:12 
AnswerRe: DataGridView CellValidation Pin
Vasudevan Deepak Kumar9-Apr-07 21:27
Vasudevan Deepak Kumar9-Apr-07 21:27 
GeneralRe: DataGridView CellValidation Pin
7110-Apr-07 2:28
7110-Apr-07 2:28 
AnswerRe: DataGridView CellValidation Pin
Jaiprakash M Bankolli10-Apr-07 1:33
Jaiprakash M Bankolli10-Apr-07 1:33 
GeneralRe: DataGridView CellValidation Pin
7110-Apr-07 2:28
7110-Apr-07 2:28 
GeneralRe: DataGridView CellValidation Pin
Jaiprakash M Bankolli10-Apr-07 2:53
Jaiprakash M Bankolli10-Apr-07 2:53 
AnswerRe: DataGridView CellValidation Pin
Jaiprakash M Bankolli10-Apr-07 23:32
Jaiprakash M Bankolli10-Apr-07 23:32 
Questionhow to read Edit, delete records from Datagrid control [modified] Pin
Sanjib Raj9-Apr-07 20:43
Sanjib Raj9-Apr-07 20:43 
AnswerRe: how to read Edit, delete records from Datagrid control Pin
Tamimi - Code9-Apr-07 21:01
Tamimi - Code9-Apr-07 21:01 
AnswerRe: how to read Edit, delete records from Datagrid control Pin
Vasudevan Deepak Kumar9-Apr-07 21:26
Vasudevan Deepak Kumar9-Apr-07 21:26 
AnswerRe: how to read Edit, delete records from Datagrid control Pin
Muammar©9-Apr-07 22:39
Muammar©9-Apr-07 22:39 
QuestionPublic Class Pin
Nooie9-Apr-07 20:36
Nooie9-Apr-07 20:36 
AnswerRe: Public Class Pin
Colin Angus Mackay9-Apr-07 20:53
Colin Angus Mackay9-Apr-07 20:53 
Nooie wrote:
Application


You are using "Application" as a proper noun here. Is there any significance in that? Or should the initial "A" be lowercased back to a common noun?


Nooie wrote:
My problem is that I want to declare the Class (Class1) so that I can use it in both Forms.

Where about's in the Application would I do this please?


It really depends on what you want to do with the class. Class1 is not a very good name, it doesn't decribe what the class represents.

You could create an instance of the class in the first form then pass it to the second form in its constructor (you'll have to modify the constructor of the second form to accomodate the object). Or you could do one of many other things.

What is the purpose of Class1?


Upcoming events:
* Edinburgh: Web Security Conference Day for Windows Developers (12th April)
* Glasgow: Introduction to AJAX (2nd May), SQL Server, Mock Objects

Never write for other people. Write for yourself, because you have a passion for it. -- Marc Clifton


My website

GeneralRe: Public Class Pin
Nooie9-Apr-07 21:00
Nooie9-Apr-07 21:00 
GeneralRe: Public Class Pin
Christian Graus9-Apr-07 21:22
protectorChristian Graus9-Apr-07 21:22 
GeneralRe: Public Class Pin
Nooie9-Apr-07 21:43
Nooie9-Apr-07 21:43 

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.