Программирование - это просто
Advertisement
arrow arrow ( ) arrow . 14. .
01.02.2023 .
1:
C#
Delphi
Web-
Excel-
.
. 14. . E-mail
megabax   
29.05.2021 .
unit AIObj

. 14. .

, .

.


. . , , , :

  .  14.   .

, ObjectProperty...

...

...

... tvProperties. ,   tsmiEditProperty_Click ( ),

        private void tsmiEditProperty_Click(object sender, EventArgs e)

        {

            // ,

            if (tvProperties.SelectedNode != null)

            {

                // , Tag

                ObjectProperty prop = tvProperties.SelectedNode.Tag as ObjectProperty;

 

                InputString form = new InputString();

                form.Text = " ()";

                form.tbEdit.Text = prop.name;

                if (form.ShowDialog() == DialogResult.OK)

                {

                    prop.name = form.tbEdit.Text;

                    Library.refresh_properties(tvProperties,data);

                }

 

            }

            else

            {

                MessageBox.Show(" ");

            }

        }

...

...

... , . :

  .  14.   .

. - , - ...

..

..

... :

        private void tsmiOptions_Click(object sender, EventArgs e)

        {

            OptionsForm form = new OptionsForm(data);

            form.ShowDialog();

        }

...

...

... , . . , (. ). .

 
« .   . »
 
© 2023 Программирование - это просто
Joomla! - , GNU/GPL.
© 2005-2008 Joom.Ru - Joomla!
Design by Mamboteam.com | Powered by Mambobanner.de
  .