Esempio n. 1
0
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                self = null;

                DatatreeDotNet.dt_unload_datatree(datatree);
                DatatreeDotNet.dt_destroy_datatree(datatree);

                DatatreeDotNet.dt_destroy_command(command);

                components.Dispose();
            }
            base.Dispose(disposing);
        }
Esempio n. 2
0
        private void Constructor()
        {
            self = this;

            InitializeComponent();

            ctrlValue.ValueChanged += ctrlValue_ValueChanged;

            treeView.NodeMouseClick += treeView_NodeMouseClick;

            txtCmd.KeyDown += txtCmd_KeyDown;

            DatatreeDotNet.dt_create_datatree(ref datatree, OnError);
            DatatreeDotNet.dt_create_command(ref command);

            Text = FORM_TITLE;

            New();

            EditState = EditStates.Closed;
        }