コード例 #1
0
 public static AppRegistry getInstance()
 {
     if (instance == null)
     {
         instance = new AppRegistry();
     }
     return(instance);
 }
コード例 #2
0
        public MainWindow()
        {
            InitializeComponent();
            row1width  = 752;
            row1height = 410;

            row2width  = 752;
            row2height = 30;

            Globals.getInstance().registry   = AppRegistry.getInstance();
            Globals.getInstance().connection = Globals.getInstance().registry.getDataBaseConnection();
        }