コード例 #1
0
 private void FlexImageSelect_ButtonSelectImage()
 {
     tovarItemZona = new TovarItemZona();
     localDocument = DataGrid.SelectedItem as Tovar.LocalRow;
     if (localDocument != null)
     {
         EditRow(localDocument);
         if (localDocument != null)
         {
             tovarItemZona.ListImage     = localDocument.ListImage;
             tovarItemZonaWindow         = new FlexWindows(Properties.Resources.ProductItemScreenTitle);
             tovarItemZonaWindow.Content = tovarItemZona;
             tovarItemZonaWindow.ShowDialog();
         }
     }
 }
コード例 #2
0
 private void ImageListPage_ButtonSearchOpen()
 {
     tovarItemZona = new TovarItemZona();
     tovarItemZona.Imagelist.ListImageControl.Clear();
     localDocument = DataGrid.SelectedItem as Tovar.LocalRow;
     if (localDocument != null)
     {
         EditRow(localDocument);
         if (localDocument.ListImage.Count > 0)
         {
             tovarItemZona.ListImage     = localDocument.ListImage;
             tovarItemZonaWindow         = new FlexWindows(Properties.Resources.ProductItemScreenTitle);
             tovarItemZonaWindow.Content = tovarItemZona;
             tovarItemZonaWindow.ShowDialog();
         }
     }
 }