示例#1
0
        public MainWindow()
        {
            InitializeComponent();
            Page1 p1 = new Page1();

            myframe.NavigationService.Navigate(p1);
            this.WindowStartupLocation = WindowStartupLocation.CenterScreen;
            this._server  = Server.GetInstance();
            this.newTable = new NewTable(this);
            DobbleServerCallback.GetInstance().VisitMainWindow(this);
            DobbleServerCallback.GetInstance().VisitNewTable(newTable);
        }
 public void VisitNewTable(NewTable table)
 {
     this.newTable = table;
 }