Click here to Skip to main content
15,895,667 members
Home / Discussions / C#
   

C#

 
QuestionRegex simple question Pin
matthias s.15-Oct-05 3:29
matthias s.15-Oct-05 3:29 
AnswerRe: Regex simple question Pin
Daniel Grunwald15-Oct-05 3:40
Daniel Grunwald15-Oct-05 3:40 
GeneralRe: Regex simple question Pin
matthias s.15-Oct-05 3:44
matthias s.15-Oct-05 3:44 
QuestionMake Skin For C# Form Pin
raed15-Oct-05 1:14
raed15-Oct-05 1:14 
QuestionControl for live video display on windows form Pin
varmag15-Oct-05 0:44
varmag15-Oct-05 0:44 
QuestionPlotting set of points on a windows form Pin
ilkeru8415-Oct-05 0:24
ilkeru8415-Oct-05 0:24 
AnswerRe: Plotting set of points on a windows form Pin
Guffa15-Oct-05 4:45
Guffa15-Oct-05 4:45 
Questionusing C1TrueDBGrid Pin
deep714-Oct-05 23:59
deep714-Oct-05 23:59 
hi,
i have a problem.i'm usin Component one TrueDbGrid. Also i have dragged a dateTimePicker on it..as per the samples which Component One had, i wrote the code for a particular column to be of type "dateTimpicker"..ther code comes in RowColChange event of the trueDbGrid...
private void c1TrueDBGrid1_RowColChange(object sender, C1.Win.C1TrueDBGrid.RowColChangeEventArgs e)
{
// position the datetime picker on the "BirthDate" column only
C1.Win.C1TrueDBGrid.C1DataColumn col = this.c1TrueDBGrid1.Splits[0].DisplayColumns[this.c1TrueDBGrid1.Col].DataColumn;
if( col.DataField == "BirthDate" )
{
// get the area of the cell
Rectangle r = this.c1TrueDBGrid1.Splits[0].GetCellBounds(this.c1TrueDBGrid1.Row, this.c1TrueDBGrid1.Col);
// change to screen coordiantes
r = this.c1TrueDBGrid1.RectangleToScreen(r);
// map the screen coordinates to the forms client coordinates
this.dateTimePicker1.Location = this.RectangleToClient(r).Location;
// size it to fit inside the cell
this.dateTimePicker1.Size = r.Size;
// default the dateTimePicker to the date in the cell
this._bIgnoreChange = true;
this.dateTimePicker1.Text = col.CellText(this.c1TrueDBGrid1.Row);
this._bIgnoreChange = false;
// display it
this.dateTimePicker1.Visible = true;
}
else
this.dateTimePicker1.Visible = false;
}

so here if the col == "BirthDate", then tat field where i've clicked, becomes of dateTimPicker...but my problem is the dateTimepicker is visible but it doesn't get the correct size and location...y this happens i dont understand...

plz..help me..m stuck...
QuestionImagelist transparency bug Pin
g00fyman14-Oct-05 23:55
g00fyman14-Oct-05 23:55 
Questionsearch for files Pin
Mridang Agarwalla14-Oct-05 22:57
Mridang Agarwalla14-Oct-05 22:57 
AnswerRe: search for files Pin
Rob Philpott15-Oct-05 8:12
Rob Philpott15-Oct-05 8:12 
QuestionI can't convert a var string to a var int Pin
tinh cau14-Oct-05 21:32
tinh cau14-Oct-05 21:32 
AnswerRe: I can't convert a var string to a var int Pin
Guffa14-Oct-05 22:02
Guffa14-Oct-05 22:02 
AnswerRe: I can't convert a var string to a var int Pin
Andrew Kirillov14-Oct-05 22:05
Andrew Kirillov14-Oct-05 22:05 
QuestionRichtextbox scrolling Pin
Anonymous14-Oct-05 18:30
Anonymous14-Oct-05 18:30 
AnswerRe: Richtextbox scrolling Pin
g00fyman15-Oct-05 0:02
g00fyman15-Oct-05 0:02 
GeneralRe: Richtextbox scrolling Pin
AB777115-Oct-05 2:55
AB777115-Oct-05 2:55 
GeneralRe: Richtextbox scrolling Pin
mav.northwind15-Oct-05 22:43
mav.northwind15-Oct-05 22:43 
GeneralRe: Richtextbox scrolling Pin
AB777116-Oct-05 19:08
AB777116-Oct-05 19:08 
Questiongetting folder size from windows Pin
g00fyman14-Oct-05 18:19
g00fyman14-Oct-05 18:19 
AnswerRe: getting folder size from windows Pin
Guffa14-Oct-05 22:07
Guffa14-Oct-05 22:07 
GeneralRe: getting folder size from windows Pin
g00fyman14-Oct-05 22:14
g00fyman14-Oct-05 22:14 
GeneralRe: getting folder size from windows Pin
Guffa14-Oct-05 22:36
Guffa14-Oct-05 22:36 
Questioncode about case-based reasoning Pin
Rachel.S Shen14-Oct-05 16:15
Rachel.S Shen14-Oct-05 16:15 
AnswerRe: code about case-based reasoning Pin
...---...14-Oct-05 16:53
...---...14-Oct-05 16:53 

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.