예제 #1
0
        private void Note_Click(object sender, RoutedEventArgs e)
        {
            GetNote popup = new GetNote();

            popup.ShowDialog();
            vm.AddNote(Barcode.Text, vm.Note);
            NoteText.Text      = vm.Note;
            NoteBox.Visibility = Visibility.Visible;
        }
예제 #2
0
        private void Note_Click(object sender, RoutedEventArgs e)
        {
            GetNote popup = new GetNote(vm);

            popup.ShowDialog();
            if (vm.Note == null || vm.Note.Count() == 0)
            {
                return;
            }
            vm.AddNote(Barcode.Text, vm.Note);
            NoteText.Text      = vm.Note;
            NoteBox.Visibility = Visibility.Visible;
        }