settings.jsl

来自「vs 2005 中 用的 vb 示例 程序,测试运行良好,对初学者有一定参考价值」· JSL 代码 · 共 36 行

JSL
36
字号
package Microsoft.Samples.Windows.Forms.EventBasedAsync; 

//------------------------------------------------------------------------------
// <autogenerated>
//     This code was generated by a tool.
//     Runtime Version:2.0.40323.0
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </autogenerated>
//------------------------------------------------------------------------------
class Settings extends System.Configuration.ApplicationSettingsBase
{
    private static Settings m_DefaultInstance;
    private static Object m_SyncObject = new Object();

    /** @property 
     */
    private static Settings get_DefaultInstance()
    {
        if (Settings.m_DefaultInstance == null) {
            System.Threading.Monitor.Enter(Settings.m_SyncObject);
            if (Settings.m_DefaultInstance == null) {
                try {
                    Settings.m_DefaultInstance = new Settings();
                }
                finally {
                    System.Threading.Monitor.Exit(Settings.m_SyncObject);
                }
            }
        }
        return Settings.m_DefaultInstance;

    } //get_DefaultInstance
} //Settings

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?