Reading from a String Resource : ResourceManager : GUI Windows Form C# Source Code


Custom Search

C# Source Code » GUI Windows Form » ResourceManager »

 

Reading from a String Resource









    

using System;
using System.Drawing;
using System.Windows.Forms;
using System.Resources;
using System.Reflection;
   
public class MainForm
{
    public static void Main()
    {
        ResourceManager FormResources = new ResourceManager("StringTable", Assembly.GetExecutingAssembly());
        string          Message;
        
        Message = FormResources.GetString("Message");
        MessageBox.Show(Message);
    }
}
           
       
    
   
  
   







HTML code for linking to this page:

Follow Navioo On Twitter

C# Source Code

 Navioo GUI Windows Form
» ResourceManager