Click here to Skip to main content
15,914,405 members
Home / Discussions / C#
   

C#

 
QuestionAccessing Exchange Server Pin
satsumatable7-Jan-10 20:13
satsumatable7-Jan-10 20:13 
Questionbutton click event Pin
anishkannan7-Jan-10 19:33
anishkannan7-Jan-10 19:33 
AnswerRe: button click event Pin
kpeter67-Jan-10 21:12
kpeter67-Jan-10 21:12 
AnswerRe: button click event Pin
OriginalGriff7-Jan-10 22:25
mveOriginalGriff7-Jan-10 22:25 
GeneralRe: button click event Pin
dojohansen8-Jan-10 0:35
dojohansen8-Jan-10 0:35 
GeneralRe: button click event Pin
OriginalGriff8-Jan-10 0:41
mveOriginalGriff8-Jan-10 0:41 
GeneralRe: button click event Pin
Luc Pattyn8-Jan-10 2:09
sitebuilderLuc Pattyn8-Jan-10 2:09 
Questionall form problem? [modified] Pin
miss YY7-Jan-10 19:27
miss YY7-Jan-10 19:27 
Now i have form1 and form2
datetimepicker1 and datetimepicker2 is in form1
i want to use datetimepicker1 and datetimepicker2 on form2 from form1,set datetimepicker1'modifiers and datetimepicker2'MOdifiers to public on form1, i wrote my code on form1 like this
string from, to;<br />
          <br />
           from = this.dateTimePicker1.Value.ToString("yyyy-MM-dd");<br />
           to = this.dateTimePicker2.Value.ToString("yyyy-MM-dd");

it can work very well
then wrote my code on form2 like this
<br />
            Form1 frm=new Form1(); <br />
            string from, to;           <br />
            from = frm.dateTimePicker1.Value.ToString("yyyy-MM-dd");<br />
            to = frm.dateTimePicker2.Value.ToString("yyyy-MM-dd");

when i run my code ,from=2010-01-09,to=2010-01-09 on form2
but when i select dateTimePicker1=2010-01-05, dateTimePicker2=2010-01-09 on form1,
then run my code ,it shows from=2010-01-05,to=2010-01-09 on form1,but it also shows from=2010-01-09,to=2010-01-09 on form2,it do not change anymore on form2,i think it may be read from the most beginning.
i want to get the changed dateTimePicker.Value,how could i do

thanks everyone?

modified on Sunday, January 10, 2010 1:38 AM

AnswerRe: all form problem? Pin
OriginalGriff7-Jan-10 22:32
mveOriginalGriff7-Jan-10 22:32 
QuestionHow to get The Url in the browser's address bar by c#(winform) [modified] Pin
SrhLj7-Jan-10 18:24
SrhLj7-Jan-10 18:24 
AnswerRe: How to get IE address by c#(winform) Pin
Dimitri Witkowski7-Jan-10 19:07
Dimitri Witkowski7-Jan-10 19:07 
GeneralRe: How to get IE address by c#(winform) Pin
SrhLj7-Jan-10 20:25
SrhLj7-Jan-10 20:25 
AnswerRe: How to get The Url in the browser's address bar by c#(winform) Pin
SrhLj7-Jan-10 21:49
SrhLj7-Jan-10 21:49 
JokeRe: How to get The Url in the browser's address bar by c#(winform) Pin
dojohansen8-Jan-10 0:37
dojohansen8-Jan-10 0:37 
AnswerRe: How to get The Url in the browser's address bar by c#(winform) Pin
carlecomm10-Jan-10 20:57
carlecomm10-Jan-10 20:57 
QuestionHow do i get the date, burned speed, manufactorer id of cd or dvd that i was burned? Pin
vinlong907-Jan-10 16:10
vinlong907-Jan-10 16:10 
QuestionConsole.Beep(int,int) uses sound card Pin
Lutosław7-Jan-10 12:13
Lutosław7-Jan-10 12:13 
AnswerRe: Console.Beep(int,int) uses sound card Pin
Expert Coming7-Jan-10 12:20
Expert Coming7-Jan-10 12:20 
GeneralRe: Console.Beep(int,int) uses sound card Pin
Lutosław7-Jan-10 12:32
Lutosław7-Jan-10 12:32 
GeneralRe: Console.Beep(int,int) uses sound card Pin
Expert Coming7-Jan-10 12:43
Expert Coming7-Jan-10 12:43 
AnswerRe: Console.Beep(int,int) uses sound card Pin
DaveyM697-Jan-10 13:06
professionalDaveyM697-Jan-10 13:06 
GeneralRe: Console.Beep(int,int) uses sound card Pin
Roger Wright7-Jan-10 17:16
professionalRoger Wright7-Jan-10 17:16 
QuestionHover form over label... keeps flashing Pin
Jacob Dixon7-Jan-10 11:12
Jacob Dixon7-Jan-10 11:12 
AnswerRe: Hover form over label... keeps flashing Pin
Luc Pattyn7-Jan-10 12:52
sitebuilderLuc Pattyn7-Jan-10 12:52 
GeneralRe: Hover form over label... keeps flashing Pin
Jacob Dixon7-Jan-10 13:00
Jacob Dixon7-Jan-10 13:00 

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.