CNode node = Image.Root.CreateNewFolder("New_folder"); if (node == null) { MessageBox.Show("Error creating node"); return; }