void Add_New_Node(object sender, EventArgs e)
        {
            var      selectedNode = this.treeView.SelectedNode;
            NodeForm nodeForm     = new NodeForm(mainForm, treeView, false, false);

            nodeForm.Show();
            nodeForm.Location       = Cursor.Position;
            fileState.IsFileChanged = true;
        }
        void Add_Top_Level_Node(object sender, EventArgs e)
        {
            NodeForm nodeForm = new NodeForm(mainForm, treeView, false, true);

            nodeForm.Show();
            Point newFormLocation = new Point(Cursor.Position.X - 100, Cursor.Position.Y - 100);

            nodeForm.Location       = newFormLocation;
            fileState.IsFileChanged = true;
        }
        void Edit_Node(object sender, EventArgs e)
        {
            var selectedNode = treeView.SelectedNode;

            if (selectedNode != null)
            {
                NodeForm nodeForm = new NodeForm(mainForm, treeView, true, false);
                nodeForm.Show();
                nodeForm.Location       = Cursor.Position;
                fileState.IsFileChanged = true;
            }
            else
            {
                MessageBox.Show("There are no nodes created yet ");
            }
        }