예제 #1
0
        public LoginElemtFlow()
        {
            LoadViewport();
            SetupEventHandlers();

            CurrentView = new VForm();
        }
예제 #2
0
        public override void OnLoad(object sender, RoutedEventArgs e)
        {
            base.FadeOut();
            // Get reference to ElementFlow

            FindElementFlow();
            elementFlow.SelectedIndex = 0;
            VForm view = new VForm();
            elementFlow.CurrentView = view;
            vrLoginList.ItemsSource = connectionList;
            if (connectionList.Count > 0)
                ((VForm)elementFlow.CurrentView).LoginGrid.CurrentConnection = currentConnection;

            string version = Assembly.GetExecutingAssembly().GetName().Version.ToString();
//            txtVersion.Text = "Version " + version;
        }