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

C#

 
QuestionDialog opening behavior on a dual monitor system Pin
Dan Neely7-Oct-05 7:40
Dan Neely7-Oct-05 7:40 
AnswerRe: Dialog opening behavior on a dual monitor system Pin
XRaheemX7-Oct-05 7:44
XRaheemX7-Oct-05 7:44 
GeneralRe: Dialog opening behavior on a dual monitor system Pin
Dan Neely7-Oct-05 8:00
Dan Neely7-Oct-05 8:00 
GeneralRe: Dialog opening behavior on a dual monitor system Pin
XRaheemX7-Oct-05 8:05
XRaheemX7-Oct-05 8:05 
GeneralRe: Dialog opening behavior on a dual monitor system Pin
Dan Neely7-Oct-05 8:44
Dan Neely7-Oct-05 8:44 
GeneralRe: Dialog opening behavior on a dual monitor system Pin
XRaheemX7-Oct-05 8:45
XRaheemX7-Oct-05 8:45 
GeneralRe: Dialog opening behavior on a dual monitor system Pin
XRaheemX7-Oct-05 8:58
XRaheemX7-Oct-05 8:58 
QuestionDatabound Textbox and TabControl Pin
rich_wenger7-Oct-05 7:35
rich_wenger7-Oct-05 7:35 
I've got a tabcontrol with a number of databound textboxes on a tabpage
(Form1). I've got a button that the user clicks that opens a dialog (Form2)
and does a lookup from a database. The user makes a selection and chooses a
button wired dialog.ok to close the dialog (form2) and populate the fields on the tabcontrol (Form1). It all works except the textboxes don't retain the new data when I tab across to another tab page.

Code To Open Dialog (Form1)=========================

private void btnLmoLookup_Click(object sender, System.EventArgs e)
{
Form2 LmoLookup = new Form2();
LmoLookup.StartPosition = FormStartPosition.CenterParent;
if( LmoLookup.ShowDialog() == DialogResult.OK )
{
txtBoxDocName.Text = LmoLookup.docFullName;
}
LmoLookup.Dispose();
}

Code To Create Public Variable (Form2)======================

public string docFullName
{
get{return
this.dsExtPhysLookup1.Tables["tblExternalPhysicians"].Rows[this.listBox1.SelectedIndex]["docFullName"].ToString();}
}
Questionstring to int in C#? Pin
Lilli Alexis7-Oct-05 7:22
Lilli Alexis7-Oct-05 7:22 
AnswerRe: string to int in C#? Pin
XRaheemX7-Oct-05 7:28
XRaheemX7-Oct-05 7:28 
AnswerRe: string to int in C#? Pin
leppie7-Oct-05 7:29
leppie7-Oct-05 7:29 
AnswerRe: string to int in C#? Pin
leejo12310-Oct-05 3:16
leejo12310-Oct-05 3:16 
Questioncheckbox in datagrid Pin
ahager7-Oct-05 7:05
ahager7-Oct-05 7:05 
AnswerRe: checkbox in datagrid Pin
XRaheemX7-Oct-05 7:15
XRaheemX7-Oct-05 7:15 
GeneralRe: checkbox in datagrid Pin
ahager7-Oct-05 7:17
ahager7-Oct-05 7:17 
GeneralRe: checkbox in datagrid Pin
XRaheemX7-Oct-05 7:20
XRaheemX7-Oct-05 7:20 
GeneralRe: checkbox in datagrid Pin
ahager7-Oct-05 7:27
ahager7-Oct-05 7:27 
GeneralRe: checkbox in datagrid Pin
XRaheemX7-Oct-05 7:32
XRaheemX7-Oct-05 7:32 
GeneralRe: checkbox in datagrid Pin
ahager7-Oct-05 8:00
ahager7-Oct-05 8:00 
GeneralRe: checkbox in datagrid Pin
XRaheemX7-Oct-05 8:15
XRaheemX7-Oct-05 8:15 
QuestionOut Of MEmory Pin
Greeky7-Oct-05 6:48
Greeky7-Oct-05 6:48 
AnswerRe: Out Of MEmory Pin
XRaheemX7-Oct-05 6:57
XRaheemX7-Oct-05 6:57 
GeneralRe: Out Of MEmory Pin
Greeky7-Oct-05 7:31
Greeky7-Oct-05 7:31 
GeneralRe: Out Of MEmory Pin
Tom Larsen7-Oct-05 7:37
Tom Larsen7-Oct-05 7:37 
GeneralRe: Out Of MEmory Pin
XRaheemX7-Oct-05 7:39
XRaheemX7-Oct-05 7:39 

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.