예제 #1
0
        public MainWindow()
        {
            cac = ClientsAppContext.GetContextInstance();

            InitializeComponent();
            loadgrid();
        }
예제 #2
0
        public static ClientsAppContext GetContextInstance()
        {
            if (cac == null)
            {
                cac = new ClientsAppContext();
            }

            return(cac);
        }