private void btnEditEditExt_Click(object sender, EventArgs e) { if (lvImageEditing.CheckedItems.Count == 0) { return; } //Get select Association item var assoc = GlobalSetting.GetImageEditingAssociationFromList(lvImageEditing.CheckedItems[0].Text); if (assoc == null) { return; } frmEditEditingAssocisation f = new frmEditEditingAssocisation() { FileExtension = assoc.Extension, AppName = assoc.AppName, AppPath = assoc.AppPath, AppArguments = assoc.AppArguments, TopMost = this.TopMost }; if (f.ShowDialog() == DialogResult.OK) { assoc.AppName = f.AppName; assoc.AppPath = f.AppPath; assoc.AppArguments = f.AppArguments; LoadImageEditingAssociationList(); } f.Dispose(); }