Ejemplo n.º 1
0
        private void select_PushPanel(object sender, SelectionChangedEventArgs e)
        {
            PanelPush     panel = _PushPanels_.SelectedItem as PanelPush;
            PushDataEntry data  = new PushDataEntry(panel.panel_id, this.selected_batch);

            this.Frame.Navigate(typeof(PushDataPage), data);
        }
Ejemplo n.º 2
0
        protected override void OnNavigatedTo(NavigationEventArgs e)
        {
            // write push title
            string field_date = DateTime.Today.ToString("MM.dd.yyyy");

            if (e.Parameter != null)
            {
                this.data_entry = (PushDataEntry)e.Parameter;
                string title = $"{this.data_entry.batch.batch_name} {field_date} - Push Panel {this.data_entry.panel_id}";
                PushDataTitle.Text = title;
            }

            base.OnNavigatedTo(e);
        }
Ejemplo n.º 3
0
        private void specify_panel(object sender, RoutedEventArgs e)
        {
            string panel_id = panel.Text;

            if (string.IsNullOrEmpty(panel_id))
            {
                return;
            }

            PanelPush     p    = new PanelPush(panel_id);
            PushDataEntry data = new PushDataEntry(p.panel_id, this.selected_batch);

            this.Frame.Navigate(typeof(PushDataPage), data);
        }