void LoadFile(string path) { lst_layers.Items.Clear(); pic.Image = null; toolStripStatus.Text = string.Empty; context.Load(path); foreach (var layer in context.Layers) { lst_layers.Items.Add(layer); } }