Solved

display contents in child window

Posted on 2013-05-21
2
208 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

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Connection String 16 61
free scanner TWAIN can be operated with a Web application 9 63
Page navigation in windows phone 8.1 application not working. 5 24
Coding C# in Linux 8 71
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…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
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.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

821 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