Click here to Skip to main content
15,913,487 members
Home / Discussions / C#
   

C#

 
AnswerRe: error microsoft.windows.common language runtime version=1.0.2.0.50 Pin
Rajdeep.NET is BACK27-May-09 7:02
Rajdeep.NET is BACK27-May-09 7:02 
GeneralRe: error microsoft.windows.common language runtime version=1.0.2.0.50 Pin
EliottA27-May-09 7:08
EliottA27-May-09 7:08 
GeneralRe: error microsoft.windows.common language runtime version=1.0.2.0.50 Pin
fly90427-May-09 7:35
fly90427-May-09 7:35 
GeneralRe: error microsoft.windows.common language runtime version=1.0.2.0.50 Pin
Troy Russell27-May-09 11:16
Troy Russell27-May-09 11:16 
GeneralRe: error microsoft.windows.common language runtime version=1.0.2.0.50 Pin
Dave Kreskowiak27-May-09 7:36
mveDave Kreskowiak27-May-09 7:36 
AnswerRe: error microsoft.windows.common language runtime version=1.0.2.0.50 Pin
Rajdeep.NET is BACK27-May-09 7:08
Rajdeep.NET is BACK27-May-09 7:08 
GeneralRe: error microsoft.windows.common language runtime version=1.0.2.0.50 Pin
EliottA27-May-09 7:09
EliottA27-May-09 7:09 
GeneralRe: error microsoft.windows.common language runtime version=1.0.2.0.50 Pin
Rajdeep.NET is BACK27-May-09 7:14
Rajdeep.NET is BACK27-May-09 7:14 
GeneralRajdeep.net, GO AWAY Pin
EliottA27-May-09 7:21
EliottA27-May-09 7:21 
GeneralRe: Rajdeep.net, GO AWAY Pin
Rajdeep.NET is BACK27-May-09 7:26
Rajdeep.NET is BACK27-May-09 7:26 
GeneralRe: Rajdeep.net, GO AWAY Pin
EliottA27-May-09 7:27
EliottA27-May-09 7:27 
QuestionRe: Rajdeep.net, GO AWAY Pin
fly90427-May-09 7:29
fly90427-May-09 7:29 
GeneralRe: Rajdeep.net, GO AWAY Pin
OriginalGriff27-May-09 8:17
mveOriginalGriff27-May-09 8:17 
AnswerRe: error microsoft.windows.common language runtime version=1.0.2.0.50 Pin
Troy Russell27-May-09 11:31
Troy Russell27-May-09 11:31 
QuestionMS Access Database Backup using C#.net Pin
savitri27-May-09 1:55
savitri27-May-09 1:55 
AnswerRe: MS Access Database Backup using C#.net Pin
musefan27-May-09 2:16
musefan27-May-09 2:16 
QuestionHow to use tabcontrol with richtextbox. Pin
Aljaz11127-May-09 1:39
Aljaz11127-May-09 1:39 
AnswerRe: How to use tabcontrol with richtextbox. Pin
musefan27-May-09 2:14
musefan27-May-09 2:14 
GeneralRe: How to use tabcontrol with richtextbox. Pin
Aljaz11127-May-09 6:51
Aljaz11127-May-09 6:51 
GeneralRe: How to use tabcontrol with richtextbox. Pin
EliottA27-May-09 7:01
EliottA27-May-09 7:01 
GeneralRe: How to use tabcontrol with richtextbox. Pin
Aljaz11127-May-09 7:10
Aljaz11127-May-09 7:10 
GeneralRe: How to use tabcontrol with richtextbox. Pin
EliottA27-May-09 7:17
EliottA27-May-09 7:17 
GeneralRe: How to use tabcontrol with richtextbox. Pin
musefan27-May-09 7:13
musefan27-May-09 7:13 
GeneralRe: How to use tabcontrol with richtextbox. [modified] Pin
Aljaz11127-May-09 8:14
Aljaz11127-May-09 8:14 
It works just fine..thank you man!! One thing more.. when i try to save all modified tabs.. how to?? This code doesn't work correctly..it shows just one save dialog..else just question if i would like to save changess..here is code..

private void frmMain_FormClosing(object sender, FormClosingEventArgs e)
        {
            int count = 0;
            foreach (TabPage page in tabControl1.TabPages)
            {
                count++;
                RichTextBox richTextBox1 = (RichTextBox)page.Controls["RichTextBox" + count];
                //do something with the rtb here
                temp = richTextBox1;

                if (temp.Modified)
                {
                    DialogResult result = MessageBox.Show("Do you wish to Save changes?", "Save Changes", MessageBoxButtons.YesNoCancel);

                    if (result == DialogResult.Yes)
                        evtSave_Click(sender, e);
                    else
                        if (result == DialogResult.Cancel)
                            e.Cancel = true;
                }


            }


modified on Wednesday, May 27, 2009 2:23 PM

GeneralRe: How to use tabcontrol with richtextbox. Pin
musefan27-May-09 8:16
musefan27-May-09 8:16 

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.