Beispiel #1
0
        public LoginElemtFlow()
        {
            LoadViewport();
            SetupEventHandlers();

            CurrentView = new VForm();
        }
Beispiel #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;
        }
Beispiel #3
0
        private void MainView_Load(object sender, EventArgs e)
        {
            //if(GLO == null)
            //{


            GLO.Resize += GLO_Resize;
            GLO.Paint  += GLO_Paint;
            Text        =
                GL.GetString(StringName.Vendor) + " " +
                GL.GetString(StringName.Renderer) + " " +
                GL.GetString(StringName.Version);
            VF = new VForm();
            VF.Set(Width, Height);
            Application.Idle += Application_Idle;
            //MessageBox.Show(Text);

            GLO.Invalidate();
        }