Esempio n. 1
0
        //
        // Branch Editor
        //
        void loadEditorData(CategoryNode node)
        {
            try
            {
                //check if this is already opened
                if (editingNode == node) return;

                //close previously opened node
                closeEditing();

                editingNode = node;
                loadBranchWizard();
                loadBranchEditor();

                //set the current node
                pathLabel.Text = node.getPath();
                backTableLayout.ColumnStyles[0].Width = node.isTop() ? 0 : 100;

                tabControl1.Enabled = true;
            }
            catch (Exception ex)
            {
                Console.Write(ex.Message + "\r\n" + ex.StackTrace);
            }
        }