how to pass value other than from constructor

how to pass value other than from constructor

Page 1 of 1

3 Replies - 2385 Views - Last Post: 23 January 2009 - 03:55 PM Rate Topic: -----

#1 iowa12345  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 23-January 09

how to pass value other than from constructor

Post icon  Posted 23 January 2009 - 10:06 AM

how to pass value other than from constructor.

In my code....value are usually passed through constructor.

ie everything is declared in constructor and while executing, these values are defined in new object.
please suggest me any otherway than this with code.
Is This A Good Question/Topic? 0
  • +

Replies To: how to pass value other than from constructor

#2 dklingman  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 33
  • View blog
  • Posts: 263
  • Joined: 23-December 08

Re: how to pass value other than from constructor

Posted 23 January 2009 - 10:21 AM

you can pass values into a class via a constructor, other function/method calls, properties and etc.
Was This Post Helpful? 0
  • +
  • -

#3 n8wxs  Icon User is offline

  • --... ...-- -.. . -. ---.. .-- -..- ...
  • member icon

Reputation: 972
  • View blog
  • Posts: 3,878
  • Joined: 07-January 08

Re: how to pass value other than from constructor

Posted 23 January 2009 - 10:22 AM

Have a look at this CodeProject article: Passing Values between Forms
Was This Post Helpful? 0
  • +
  • -

#4 iowa12345  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 23-January 09

Re: how to pass value other than from constructor

Posted 23 January 2009 - 03:55 PM

View Postn8wxs, on 23 Jan, 2009 - 09:22 AM, said:

Have a look at this CodeProject article: Passing Values between Forms
Thank u
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1