public RepoClientState(RepoServerCommService serverCommService)
        {
            connProps_             = new RepoServerConnProps {
            };
            clientActionTabsProps_ = new ClientActionTabsProps {
            };
            checkInProps_          = new CheckInProps {
            };
            checkOutProps_         = new CheckOutProps {
            };
            browseProps_           = new BrowseProps {
            };

            serverCommService_ = serverCommService;
        }
Exemple #2
0
        // ----< actions to be performed when the wpf app starts up >--------------------
        private void Application_Startup(object sender, StartupEventArgs e)
        {
            Dictionary <string, string> parsedArgs = CommandLineParser.parse(e.Args);
            int port = 7890;

            if (parsedArgs.ContainsKey("port"))
            {
                port = Int32.Parse(parsedArgs["port"]);
            }

            RepoServerCommService service = RepoServerCommService.GetInstance("localhost", port);
            RepoClientState       state   = new RepoClientState(service);

            MainWindow window = new MainWindow(state);

            window.Show();
        }