Пример #1
0
 public RecvWorker(Dispatcher dispatcher, TextBlock members_textBlock, TextBlock readMsg_textBlock, RemoteMethods remote, string login, ScrollViewer readMsg_scroller)
 {
     this.dispatcher        = dispatcher;
     this.members_textBlock = members_textBlock;
     this.readMsg_textBlock = readMsg_textBlock;
     this.remote            = remote;
     this.login             = login;
     this.readMsg_scroller  = readMsg_scroller;
 }
 public MainWindow()
 {
     InitializeComponent();
     isLogin = false;
     remoteMethods = (RemoteMethods)Activator.GetObject(typeof(RemoteMethods), "tcp://localhost:12345/Server");           
 }
 public RecvWorker(Dispatcher dispatcher, TextBlock members_textBlock, TextBlock readMsg_textBlock, RemoteMethods remote, string login, ScrollViewer readMsg_scroller) 
 {
     this.dispatcher = dispatcher;
     this.members_textBlock = members_textBlock;
     this.readMsg_textBlock = readMsg_textBlock;
     this.remote = remote;
     this.login = login;
     this.readMsg_scroller = readMsg_scroller;
 }
Пример #4
0
 public MainWindow()
 {
     InitializeComponent();
     isLogin       = false;
     remoteMethods = (RemoteMethods)Activator.GetObject(typeof(RemoteMethods), "tcp://localhost:12345/Server");
 }