1using System;
 2using System.Collections.Generic;
 3using System.ComponentModel;
 4using System.Data;
 5using System.Drawing;
 6using System.Text;
 7using System.Windows.Forms;
 8
 9namespace TextWriter
10{
11    public partial class Form2 : Form
12    {
13        public Form2()
14        {
15            InitializeComponent();
16        }

17
18
19        private void Form2_Enter(object sender, EventArgs e)
20        {
21            MainForm parent = (MainForm)this.MdiParent;
22            parent.menuWrap.Checked = !this.contents.WordWrap;
23        }

24    }
 
25}

posts - 46, comments - 16, trackbacks - 0, articles - 7

Copyright © 火山工作室