Click here to Skip to main content
15,894,720 members
Home / Discussions / C#
   

C#

 
AnswerRe: why inherit from Component? Pin
PIEBALDconsult10-Jan-10 10:45
mvePIEBALDconsult10-Jan-10 10:45 
QuestionPrint everything in a panel only - Windows Form C#-programming Pin
bolikej10-Jan-10 1:55
bolikej10-Jan-10 1:55 
AnswerRe: Print everything in a panel only - Windows Form C#-programming Pin
dan!sh 10-Jan-10 3:37
professional dan!sh 10-Jan-10 3:37 
QuestionCrystal Report Object For install Shield. Pin
Said Ali Jalali10-Jan-10 1:07
Said Ali Jalali10-Jan-10 1:07 
AnswerRe: Crystal Report Object For install Shield. Pin
dan!sh 10-Jan-10 3:12
professional dan!sh 10-Jan-10 3:12 
GeneralRe: Crystal Report Object For install Shield. Pin
Said Ali Jalali10-Jan-10 3:26
Said Ali Jalali10-Jan-10 3:26 
GeneralRe: Crystal Report Object For install Shield. Pin
dan!sh 10-Jan-10 3:39
professional dan!sh 10-Jan-10 3:39 
Questioncall Form problem!! Pin
miss YY9-Jan-10 20:31
miss YY9-Jan-10 20:31 
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;

from = this.dateTimePicker1.Value.ToString("yyyy-MM-dd");
to = this.dateTimePicker2.Value.ToString("yyyy-MM-dd");
it can work very well
then wrote my code on form2 like this
Form1 frm=new Form1();
string from, to;
from = frm.dateTimePicker1.Value.ToString("yyyy-MM-dd");
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?
AnswerRe: call Form problem!! Pin
Roger Wright9-Jan-10 21:14
professionalRoger Wright9-Jan-10 21:14 
AnswerRe: call Form problem!! Pin
DaveyM699-Jan-10 21:22
professionalDaveyM699-Jan-10 21:22 
AnswerRe: call Form problem!! Pin
OriginalGriff9-Jan-10 21:24
mveOriginalGriff9-Jan-10 21:24 
AnswerRe: call Form problem!! Pin
#realJSOP10-Jan-10 2:45
mve#realJSOP10-Jan-10 2:45 
QuestionPlant Database Pin
sebogawa9-Jan-10 18:35
sebogawa9-Jan-10 18:35 
AnswerRe: Plant Database Pin
Roger Wright9-Jan-10 21:19
professionalRoger Wright9-Jan-10 21:19 
AnswerRe: Plant Database Pin
Mycroft Holmes9-Jan-10 22:57
professionalMycroft Holmes9-Jan-10 22:57 
AnswerRe: Plant Database Pin
PIEBALDconsult10-Jan-10 10:48
mvePIEBALDconsult10-Jan-10 10:48 
QuestionC# treeview [modified] <code>I my Self Solved it </code> Pin
jojoba20109-Jan-10 18:23
jojoba20109-Jan-10 18:23 
QuestionNeed a sample C# program using the DDay.Ical library that adds Attendees Pin
Stephan Onisick9-Jan-10 14:31
Stephan Onisick9-Jan-10 14:31 
AnswerRe: Need a sample C# program using the DDay.Ical library that adds Attendees Pin
Chuck O'Toole9-Jan-10 16:11
Chuck O'Toole9-Jan-10 16:11 
QuestionAbout Typed parameters Pin
ika29-Jan-10 10:43
ika29-Jan-10 10:43 
AnswerRe: About Typed parameters Pin
DaveyM699-Jan-10 10:51
professionalDaveyM699-Jan-10 10:51 
AnswerRe: About Typed parameters Pin
harold aptroot9-Jan-10 11:00
harold aptroot9-Jan-10 11:00 
AnswerRe: About Typed parameters Pin
DaveyM699-Jan-10 11:27
professionalDaveyM699-Jan-10 11:27 
GeneralRe: About Typed parameters Pin
ika29-Jan-10 12:21
ika29-Jan-10 12:21 
QuestionString.Format Pin
Muammar©9-Jan-10 8:45
Muammar©9-Jan-10 8:45 

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.