示例#1
0
 public AppShell(string nombre)
 {
     InitializeComponent();
     FlyoutHeaderTemplate = menuHeader;
     Inicio         = new InicioView(nombre);
     BindingContext = Inicio;
 }
示例#2
0
        private void pictureBox2_Click(object sender, EventArgs e)
        {
            this.Hide();

            InicioView frm = new InicioView();

            frm.Show();
        }
示例#3
0
 private void HalconWindow_HInitWindow(object sender, EventArgs e)
 {
     window     = HalconWindow.HalconID;
     InicioView = new InicioView(window); //Main Page View
     InicioView.ChangeLabelEvent += ConfigDispAquiView_ChangeLabelEvent;
     InicioView.AddMediator(concreteMediator);
     concreteMediator.AddParticipant(InicioView);
     configAcquisitionDevice.FireConfigurationChangedEvent();
     if (HalconAPI.isWindows) // Necessário para fazer o gerenciamento de threads das janelas
     {
         HOperatorSet.SetSystem("use_window_thread", "true");
     }
     Console.WriteLine("Halcon Window loaded");
     contentMain.Content = InicioView;
 }
示例#4
0
        public App()
        {
            InitializeComponent();

            MainPage = new InicioView();
        }