Ejemplo n.º 1
0
 private void btnProfile_Click(object sender, RoutedEventArgs e)
 {
     ProfileWindow profile = new ProfileWindow(_profile);
     profile.ShowDialog();
 }
Ejemplo n.º 2
0
        private void Window_Loaded(object sender, RoutedEventArgs e)
        {
            _profile = new Profile("", null);
            ProfileWindow profile = new ProfileWindow(_profile);
            profile.ShowDialog();

            _lfnet = new LFNet(_profile);
            _lfnet.NetClientEvent += NetClientEventHandler;
            _lfnet.NetError += NetCoreEventHandler;
            _lfnet.ReceiveObservers += NetPackageReceiveHandler;
        }