Solved

display contents in child window

Posted on 2013-05-21
2
206 Views
Last Modified: 2013-06-17
i have a parent form and a child form. i have the file open working on the parent form, but i cant show the file contents in the child window that i open.

any suggestions would be greatly appreciated.

i have attached the two class files.
Form1.cs
FormChild.cs
0
Comment
Question by:NJJoeG8GT
2 Comments
 
LVL 29

Accepted Solution

by:
anarki_jimbel earned 500 total points
ID: 39186204
I copied your  GetRichTextBox() method and code to create a child form  - "openToolStripMenuItem_Click_1. It works fine.

The only problem for me - it does not like txt files, it opens only rtf files. I didn't investigate the problem.
0
 

Author Comment

by:NJJoeG8GT
ID: 39255038
I've requested that this question be deleted for the following reason:

i did not post the question clearly.  i want to repost
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Iterate two lists and remove inactive 11 49
Allow space in this pattern 2 47
Problem to error 4 43
VB.Net How to Exit Sub - Exit Form??? 5 50
Extention Methods in C# 3.0 by Ivo Stoykov C# 3.0 offers extension methods. They allow extending existing classes without changing the class's source code or relying on inheritance. These are static methods invoked as instance method. This…
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now