Click here to Skip to main content
15,887,267 members
Home / Discussions / C#
   

C#

 
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 
GeneralRe: Public Class Pin
phantanagu9-Apr-07 22:46
phantanagu9-Apr-07 22:46 
GeneralRe: Public Class Pin
Colin Angus Mackay9-Apr-07 23:17
Colin Angus Mackay9-Apr-07 23:17 
GeneralRe: Public Class Pin
Colin Angus Mackay9-Apr-07 23:24
Colin Angus Mackay9-Apr-07 23:24 
Questionremoting sys(2335) Pin
kalyan_24169-Apr-07 19:13
kalyan_24169-Apr-07 19:13 
Question.net roadmap Pin
bigeyed9-Apr-07 19:02
bigeyed9-Apr-07 19:02 
AnswerRe: .net roadmap Pin
Jaiprakash M Bankolli9-Apr-07 20:08
Jaiprakash M Bankolli9-Apr-07 20:08 
QuestionHelp me to develop cool date picker.[Windows] Pin
Sendilkumar.M9-Apr-07 18:58
Sendilkumar.M9-Apr-07 18:58 
AnswerRe: Help me to develop cool date picker.[Windows] Pin
Christian Graus9-Apr-07 19:05
protectorChristian Graus9-Apr-07 19:05 
GeneralRe: Help me to develop cool date picker.[Windows] Pin
Sendilkumar.M9-Apr-07 22:23
Sendilkumar.M9-Apr-07 22:23 
QuestionDataGridView in c# Pin
719-Apr-07 18:58
719-Apr-07 18:58 
AnswerRe: DataGridView in c# Pin
Nader Elshehabi9-Apr-07 23:36
Nader Elshehabi9-Apr-07 23:36 
QuestionIs it possible to change the image in ContextMenu? Pin
Khoramdin9-Apr-07 15:32
Khoramdin9-Apr-07 15:32 
AnswerRe: Is it possible to change the image in ContextMenu? Pin
Nader Elshehabi9-Apr-07 16:08
Nader Elshehabi9-Apr-07 16:08 
QuestionAny snippet code for calling CoCreateGuid ??? Pin
LongRange.Shooter9-Apr-07 14:07
LongRange.Shooter9-Apr-07 14:07 

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.