Friday, February 13, 2015

FlexUISettings


FlexUISettings class
It is a static class which stores all User Interface settings.
Examples
public App()
{
Assembly assem = Assembly.GetEntryAssembly();
string csAssemName = assem.Location;
string csProjectName = assem.GetName().Name;
string csAppDirectory = Path.GetDirectoryName(csAssemName);
int nIndex = csAppDirectory.LastIndexOf('\\');
string csHelpFilesDirectory = csAppDirectory.Remove(nIndex);
// Set the default path for storing the workspace layout file.
FlexUISettings.AppSettingPath = System.IO.Path.Combine(csAppDirectory, csProjectName);
// Set the default path for storing the help files.
FlexUISettings.DefaultHelpFilePath = System.IO.Path.Combine(csHelpFilesDirectory, "HelpFiles");
}

§  Members
1)  public static string AppSettingFile{ get; set; }       
Remarks
Get or set the default workspace layout file name
2)  public static string AppSettingPath{ get; set; }       
Remarks
Get or set the default path where stores the workspace layout file
3)  public static string DefaultHelpFilesPath{ get; set; }        
Remarks
Get or set the default path where stores the help files.
4)  public static string DefaultImagesPath{ get; set; }        
Remarks
Get or set the default path where stores the help files.


Reference:
Features,
How To,
Index,
Instruction,

No comments:

Post a Comment