Beispiel #1
0
        // 属性
        private void MenuItem_properties_Click(object sender, EventArgs e)
        {
            if (this.ActiveMdiChild is DetailForm)
            {
                DetailForm detail = (DetailForm)this.ActiveMdiChild;

                RecordPropertiesDlg dlg = new RecordPropertiesDlg();
                MainForm.SetControlFont(dlg, this.DefaultFont);

                dlg.textBox_content.Text = detail.PropertiesText;
                dlg.ShowDialog(this);
            }
        }
Beispiel #2
0
        // 属性
        private void MenuItem_properties_Click(object sender, EventArgs e)
        {
            if (this.ActiveMdiChild is DetailForm)
            {
                DetailForm detail = (DetailForm)this.ActiveMdiChild;

                RecordPropertiesDlg dlg = new RecordPropertiesDlg();
                MainForm.SetControlFont(dlg, this.DefaultFont);

                dlg.textBox_content.Text = detail.PropertiesText;
                dlg.ShowDialog(this);
            }
        }