示例#1
0
        void thisBox_Click(object sender, EventArgs e)
        {
            EAD_Form showForm = new EAD_Form();

            showForm.Add_Data(ead_name, ead_url);
            showForm.Read_Only = read_only;
            showForm.ShowDialog();
            showForm.Save_Data(ref ead_name, ref ead_url);

            if (showForm.Changed)
            {
                OnDataChanged();
            }

            show_ead_info();
        }
示例#2
0
        void thisBox_KeyDown(object sender, KeyEventArgs e)
        {
            if ((e.KeyCode != Keys.Control) && (e.KeyCode != Keys.PrintScreen) && (e.KeyCode != Keys.Down))
            {
                EAD_Form showForm = new EAD_Form();
                showForm.Add_Data(ead_name, ead_url);
                showForm.Read_Only = read_only;
                showForm.ShowDialog();
                showForm.Save_Data(ref ead_name, ref ead_url);

                if (showForm.Changed)
                {
                    OnDataChanged();
                }

                show_ead_info();
            }
        }