GetDescriptions() public static method

public static GetDescriptions ( List contents ) : string[]
contents List
return string[]
Exemplo n.º 1
0
 private void deleteDescriptions_Click(object sender, EventArgs e)
 {
     if (!descExists)
     {
         return;
     }
     if (MessageBox.Show(LanguageManager.Get("TilesetEditor", "sureDelDescriptions"), LanguageManager.Get("TilesetEditor", "titleDelDescriptions"), MessageBoxButtons.YesNo) == System.Windows.Forms.DialogResult.No)
     {
         return;
     }
     ROM.UserInfo.descriptions.Remove(TilesetID);
     createDescriptions.Visible           = true;
     deleteDescriptions.Visible           = false;
     tilesetObjectEditor1.descBox.Visible = false;
     tilesetObjectEditor1.descLbl.Visible = false;
     if (TilesetID != 65535) // The Jyotyu tileset
     {
         t.UseNotes = false;
     }
     else //Restore the original notes
     {
         t.ObjNotes = NSMBGraphics.GetDescriptions(LanguageManager.GetList("ObjNotes"));
     }
     descExists = false;
     objectPickerControl1.Invalidate(true);
 }