BrolEditControl.cs

Description du code

BrolEditControl.cs est un fichier du projet BiblioBrol.
Ce fichier est situé dans /var/www/bin/sniplets/bibliobrol/src/.

Projet BiblioBrol :

Gestion de media en CSharp.

Pour plus d'infos, vous pouvez consulter la brève analyse.

Code source ou contenu du fichier

  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Drawing;
  5. using System.Data;
  6. using System.Text;
  7. using System.Windows.Forms;
  8. using be.gaudry.bibliobrol.model;
  9. using be.gaudry.observer;
  10. using be.gaudry.bibliobrol.view.dialogs;
  11. using be.gaudry.bibliobrol.view.utils;
  12. using be.gaudry.events;
  13. using be.gaudry.model.drawing;
  14. using be.gaudry.bibliobrol.config;
  15.  
  16. namespace be.gaudry.bibliobrol.view.controls
  17. {
  18. public partial class BrolEditControl : UserControl
  19. {
  20. #region declarations and constructors
  21. private DiaSetActorRole diaSetActorRole;
  22. private SelectSerieItemDialog selectSerieItemDialog;
  23. private SelectCategoryDialog selectCategoryDialog;
  24. private bool imageEditable;
  25. /// <summary>
  26. /// to detect type modification (film, book, etc.)
  27. /// in case of modification, reload categories from persistant layer
  28. /// </summary>
  29. private BrolType type = null;
  30. private bool pictureModified;
  31. public BrolEditControl()
  32. {
  33. pictureModified = false;
  34. imageEditable = true;
  35. InitializeComponent();
  36. for (int i = 0; i < 11; i++) editCotationCB.Items.Add(i);
  37. brolTypeCB.Items.AddRange(ModelAdapter.getBrolTypes().ToArray());
  38. brolTypeCB.DisplayMember = "Name";
  39.  
  40. //editActorsLB.UseCustomTabOffsets = true;
  41. //editActorsLB.CustomTabOffsets.Add(50);
  42. //editActorsLB.DisplayMember = "Display";
  43. //editCategoriesLB.DisplayMember = "Name";
  44. }
  45. #endregion
  46.  
  47. #region properties
  48. /// <summary>
  49. /// Show or hide the image edition buttons
  50. /// </summary>
  51. [
  52. Category("Image"),
  53. DefaultValue(true),
  54. Description("Show or hide the image edition buttons")
  55. ]
  56. public bool ImageEditable
  57. {
  58. get { return imageEditable; }
  59. set
  60. {
  61. imageEditable = value;
  62. delImageBtn.Visible = imageEditable;
  63. selectImageBtn.Visible = imageEditable;
  64. }
  65. }
  66. #endregion
  67.  
  68. #region public methods
  69. public void setCover(string path)
  70. {
  71. editSpImgPictureBox.ImageLocation = path;
  72. }
  73. /// <summary>
  74. /// Save the cover image for a brol
  75. /// </summary>
  76. /// <remarks>Don't save a cover for a unsaved brol!!!</remarks>
  77. /// <returns>true if saved</returns>
  78. public bool saveCover(Brol brol)
  79. {
  80. if (brol.Id < 0)
  81. {
  82. MessageBox.Show(
  83. this,
  84. "Impossible de sauver l'image pour un ouvrage qui n'est pas encore enregistré.",
  85. "Sauvegarde de l'image",
  86. MessageBoxButtons.YesNo,
  87. MessageBoxIcon.Error,
  88. MessageBoxDefaultButton.Button1
  89. );
  90. return false;
  91. }
  92.  
  93. bool saved = false;
  94. if(pictureModified)
  95. //if (!editSpImgPictureBox.Image.Equals(editSpImgPictureBox.InitialImage))
  96. {
  97. if (editSpImgPictureBox.Image == null)
  98. {
  99. /*MessageBox.Show(
  100.   this,
  101.   "ERREUR interne.\nImpossible de lire l'image depuis le formulaire.",
  102.   "Sauvegarde de l'image",
  103.   MessageBoxButtons.OK,
  104.   MessageBoxIcon.Error,
  105.   MessageBoxDefaultButton.Button1
  106.   );*/
  107. return false;
  108. }
  109. string newImgPath = Img.getBrolImgPath(brol);
  110. bool newImage = true;
  111. if (System.IO.File.Exists(newImgPath))
  112. {
  113. DialogResult r = MessageBox.Show(
  114. this,
  115. "Une image était déjà présente pour cet ouvrage.\r\nDésirez-vous écraser l'ancien fichier par cette nouvelle image ?",
  116. "Sauvegarde de l'image",
  117. MessageBoxButtons.YesNo,
  118. MessageBoxIcon.Question,
  119. MessageBoxDefaultButton.Button1
  120. );
  121. newImage = (r == DialogResult.Yes);
  122. }
  123. if (newImage)
  124. {
  125. editSpImgPictureBox.Image.Save(newImgPath, System.Drawing.Imaging.ImageFormat.Jpeg);
  126. saved = true;
  127. }
  128. }
  129. return saved;
  130. }
  131.  
  132. public Brol getBrol()
  133. {
  134. Brol brol = brolBindingSource.DataSource as Brol;
  135. if (brol != null)
  136. {
  137. brol.Categories.Clear();
  138. foreach (Object oCategory in editCategoriesLB.Items)
  139. {
  140. try
  141. {
  142. brol.Categories.Add((BrolCategory)oCategory);
  143. }
  144. catch (Exception cce)
  145. {
  146. StaticObservable.notify(new Notification(Notification.VERBOSE.lowError, "Edition d'un ouvrage", "Impossible de charger les catégories depuis le formulaire", cce, this));
  147. }
  148. }
  149.  
  150.  
  151. brol.SerieItems.Clear();
  152. foreach (Object oSerie in editSeriesLB.Items)
  153. {
  154. try
  155. {
  156. brol.SerieItems.Add((SerieItem)oSerie);
  157. }
  158. catch (Exception cce)
  159. {
  160. StaticObservable.notify(new Notification(Notification.VERBOSE.lowError, "Edition d'un ouvrage", "Impossible de charger les séries depuis le formulaire", cce, this));
  161. }
  162. }
  163.  
  164. brol.Actors.Clear();
  165. foreach (Object oActor in editActorsLB.Items)
  166. {
  167. try
  168. {
  169. brol.Actors.Add((Actor)oActor);
  170. }
  171. catch (Exception ace)
  172. {
  173. StaticObservable.notify(new Notification(Notification.VERBOSE.lowError, "Edition d'un ouvrage", "Impossible de charger les acteurs depuis le formulaire", ace, this));
  174. }
  175. }
  176. /*if (!dateTimePicker.Value.ToShortDateString().Equals(DateTime.Now.ToShortDateString()))
  177.   brol.Date = dateTimePicker.Value;
  178.   else
  179.   StaticObservable.notify(new Notification(Notification.VERBOSE.lowError, "Edition d'un ouvrage", "La date de publication de l'ouvrage ne peut être égale à la date actuelle. Elle ne sera donc pas prise en compte.", this));
  180.   */if (editCotationCB.SelectedIndex != -1)
  181. brol.Cotation = (int)editCotationCB.SelectedItem;
  182. }
  183. return brol;
  184. }
  185. public void setBrol(Brol brol)
  186. {
  187. setBrol(brol, brol.BrolType);
  188. }
  189. public void setBrol(Brol brol, BrolType brolType)
  190. {
  191. if (brol != null)
  192. {
  193. if (brol.BrolType == null)
  194. {
  195. brol.BrolType = brolType;
  196. }
  197. diaSetActorRole = new DiaSetActorRole(brol.BrolType, editActorsLB.Items);
  198.  
  199. brolBindingSource.DataSource = brol;
  200. showPublicationDate(!brol.Date.Equals(new DateTime(0L)));
  201. editSpImgPictureBox.ImageLocation = Img.getBrolImgPath(brol);
  202.  
  203. editCategoriesLB.Items.Clear();
  204. editCategoriesLB.Items.AddRange(brol.Categories.ToArray());
  205.  
  206. editSeriesLB.Items.Clear();
  207. editSeriesLB.Items.AddRange(brol.SerieItems.ToArray());
  208.  
  209. editActorsLB.Items.Clear();
  210. editActorsLB.Items.AddRange(brol.Actors.ToArray());
  211.  
  212. //if (!brol.BrolType.Equals(type))
  213. //{
  214. type = brol.BrolType;
  215. //}
  216.  
  217. delImageBtn.Enabled = brol.Id >= 0;
  218. }
  219. else
  220. {
  221. delImageBtn.Enabled = false;
  222. }
  223. personControl.setPerson(new Person());
  224. }
  225.  
  226. public Brol saveBrol(bool refresh)
  227. {
  228. Brol brol = getBrol();
  229. bool newBrol = brol.Id < 0;
  230. if (newBrol)
  231. {
  232. brol.Id = ModelAdapter.insertBrol(brol);
  233. }
  234. else
  235. {
  236. ModelAdapter.updateBrol(brol);
  237. }
  238. saveCover(brol);
  239. if (refresh)
  240. {
  241. //refresh display
  242. //editBrolControl.setBrol(brol, brol.BrolType);
  243.  
  244. foreach (BrolCategory cat in brol.Categories)
  245. {
  246. cat.Status = STATUS.none;
  247. }
  248. editCategoriesLB.Items.Clear();
  249. editCategoriesLB.Items.AddRange(brol.Categories.ToArray());
  250.  
  251. foreach (SerieItem serieItem in brol.SerieItems)
  252. {
  253. serieItem.getSerie().Status = STATUS.none;
  254. }
  255. editSeriesLB.Items.Clear();
  256. editSeriesLB.Items.AddRange(brol.SerieItems.ToArray());
  257.  
  258.  
  259. foreach (Actor actor in brol.Actors)
  260. {
  261. actor.Status = STATUS.none;
  262. }
  263. editActorsLB.Items.Clear();
  264. editActorsLB.Items.AddRange(brol.Actors.ToArray());
  265. //end of refresh
  266. }
  267. if (newBrol)
  268. {
  269. promptInsertMediabrol(brol);
  270. }
  271. return brol;
  272. }
  273. internal void promptInsertMediabrol(Brol brol)
  274. {
  275. DialogResult r = MessageBox.Show(
  276. this,
  277. "Ajouter un exemplaire de l'ouvrage \"" + brol.Title + "\" dans BiblioBrol ?",
  278. "Ajout de " + brol.BrolType.Name,
  279. MessageBoxButtons.YesNo,
  280. MessageBoxIcon.Question,
  281. MessageBoxDefaultButton.Button1);
  282. if (r == DialogResult.Yes)
  283. {
  284. MediaBrol mediabrol = new MediaBrol(-1, brol, "Ajout automatique " + brol.Id);
  285. mediabrol.InsertionDate = DateTime.Now;
  286. mediabrol.Owner = Config.Owner;
  287. ModelAdapter.insertMediaBrol(mediabrol);
  288. }
  289. }
  290. public bool isPictureModified()
  291. {
  292. return pictureModified;
  293. }
  294. #endregion
  295.  
  296. #region private methods
  297.  
  298. #region publication date
  299. private void onAddPublicationDate_Click(object sender, EventArgs e)
  300. {
  301. showPublicationDate(true);
  302. }
  303.  
  304. private void showPublicationDate(bool show)
  305. {
  306. setPublicationDateBtn.Visible = !show;
  307. dateTimePicker.Visible = show;
  308. }
  309. #endregion
  310.  
  311. #region cover
  312. /*private void onSaveCover_Click(object sender, EventArgs e)
  313.   {
  314.   Brol brol = brolBindingSource.Current as Brol;
  315.   if (brol != null)
  316.   {
  317.   ImageUtils.copy(editSpImgPictureBox.ImageLocation, Img.getBrolImgPath(brol));
  318.   }
  319.   }*/
  320.  
  321. private void onSelectCover_Click(object sender, EventArgs e)
  322. {
  323. ImageHelper.setImageLocation(this.ParentForm, editSpImgPictureBox);
  324. pictureModified = true;
  325. }
  326.  
  327. private void onDeleteCover_Click(object sender, EventArgs e)
  328. {
  329. deleteCover();
  330. }
  331. private void deleteCover()
  332. {
  333. Brol brol = brolBindingSource.Current as Brol;
  334. if (brol != null)
  335. {
  336. String path = Img.getBrolImgPath(brol);
  337. try
  338. {
  339. System.IO.File.Delete(path);
  340. StaticObservable.notify(new Notification(Notification.VERBOSE.opsResult, "Affiche supprimée : " + path, this));
  341. }
  342. catch (Exception e)
  343. {
  344. StaticObservable.notify(new Notification(Notification.VERBOSE.lowError, "Suppression de l'affiche", e, this));
  345. }
  346. }
  347. }
  348. #endregion
  349.  
  350. #region edit categories
  351. private void editCategoryAddBtn_Click(object sender, EventArgs e)
  352. {
  353. //if (selectSerieItemDialog == null)
  354. //{
  355. selectCategoryDialog = new SelectCategoryDialog();
  356. //}
  357. selectCategoryDialog.setBrolType(this.type);
  358. DialogResult dr = selectCategoryDialog.ShowDialog(this);
  359. if (DialogResult.OK == dr)
  360. {
  361. List<BrolCategory> categories = selectCategoryDialog.getCategories();
  362. StringBuilder duplicates = new StringBuilder();
  363. foreach (BrolCategory category in categories)
  364. {
  365. if (category != null)
  366. {
  367. if (!editCategoriesLB.Items.Contains(category))
  368. {
  369. category.Status = STATUS.toAdd;
  370. editCategoriesLB.Items.Add(category);
  371. }
  372. else
  373. {
  374. duplicates.Append(category.ToString()+", ");
  375. }
  376. }
  377. else
  378. {
  379. StaticObservable.notify(
  380. new Notification(
  381. Notification.VERBOSE.lowError,
  382. "Ajout d'une catégorie",
  383. "Aucune catégorie sélectionnée",
  384. this
  385. )
  386. );
  387. }
  388. }
  389. if (duplicates.Length > 0)
  390. {
  391. StaticObservable.notify(
  392. new Notification(
  393. Notification.VERBOSE.lowError,
  394. duplicates + "sont déjà présentes dans la liste",
  395. this
  396. )
  397. );
  398. }
  399. }
  400. }
  401.  
  402. private void editCategoriesLB_SelectedIndexChanged(object sender, EventArgs e)
  403. {
  404. if (editCategoriesLB.SelectedIndex >= 0)
  405. editCategoryRemBtn.Enabled = true;
  406. }
  407.  
  408. private void editCategoryRemBtn_Click(object sender, EventArgs e)
  409. {
  410. BrolCategory category = (BrolCategory)editCategoriesLB.SelectedItem;
  411. if (category != null)
  412. {
  413. Brol brol = brolBindingSource.Current as Brol;
  414. if (brol != null && brol.Id >= 0)
  415. {
  416. category.Status = STATUS.toDelete;
  417. editCategoriesLB.Refresh();
  418. }
  419. else
  420. editCategoriesLB.Items.Remove(category);
  421. }
  422. editCategoryRemBtn.Enabled = false;
  423. }
  424. #endregion
  425.  
  426. #region edit serie
  427. private void editSerieAddBtn_Click(object sender, EventArgs e)
  428. {
  429. //if (selectSerieItemDialog == null)
  430. //{
  431. selectSerieItemDialog = new SelectSerieItemDialog();
  432. //}
  433. DialogResult dr = selectSerieItemDialog.ShowDialog(this);
  434. if (DialogResult.OK == dr)
  435. {
  436. SerieItem serieItem = selectSerieItemDialog.getSerieItem();
  437. if (serieItem != null)
  438. {
  439. if (!editSeriesLB.Items.Contains(serieItem))
  440. {
  441. serieItem.getSerie().Status = STATUS.toAdd;
  442. editSeriesLB.Items.Add(serieItem);
  443. }
  444. else
  445. {
  446. StaticObservable.notify(
  447. new Notification(
  448. Notification.VERBOSE.lowError,
  449. String.Format("La série {0} est déjà présente dans la liste", serieItem.getSerie().ToString()),
  450. this
  451. )
  452. );
  453. }
  454. }
  455. else
  456. {
  457. StaticObservable.notify(
  458. new Notification(
  459. Notification.VERBOSE.lowError,
  460. "Ajout d'une série",
  461. "Aucune série sélectionnée",
  462. this
  463. )
  464. );
  465. }
  466. }
  467.  
  468. }
  469.  
  470. private void editSeriesLB_SelectedIndexChanged(object sender, EventArgs e)
  471. {
  472. if (editSeriesLB.SelectedIndex >= 0)
  473. editSerieRemBtn.Enabled = true;
  474. }
  475.  
  476. private void editSerieRemBtn_Click(object sender, EventArgs e)
  477. {
  478. SerieItem serieItem = (SerieItem)editSeriesLB.SelectedItem;
  479. if (serieItem != null)
  480. {
  481. Brol brol = brolBindingSource.Current as Brol;
  482. if (brol != null && brol.Id >= 0)
  483. {
  484. serieItem.getSerie().Status = STATUS.toDelete;
  485. editSeriesLB.Refresh();
  486. }
  487. else
  488. editSeriesLB.Items.Remove(serieItem);
  489. }
  490. editSerieRemBtn.Enabled = false;
  491. }
  492.  
  493. private void editSeriesLB_DrawItem(object sender, DrawItemEventArgs e)
  494. {
  495. if (e.Index >= 0)
  496. {
  497. ListBox listBox = (ListBox)sender;
  498. SerieItem serieItem = listBox.Items[e.Index] as SerieItem;
  499. if (serieItem != null && serieItem.getSerie() != null)
  500. {
  501. drawGenericStateContainer(serieItem.getSerie().Status,serieItem.ToString(),listBox.Font,e);
  502. }
  503. }
  504. }
  505.  
  506. private void genericStateContainerLB_DrawItem(object sender, DrawItemEventArgs e)
  507. {
  508. if (e.Index >= 0)
  509. {
  510. ListBox listBox = (ListBox)sender;
  511. GenericStateContainer item = (GenericStateContainer)listBox.Items[e.Index];
  512. drawGenericStateContainer(item.Status,item.Name,listBox.Font,e);
  513. }
  514. }
  515. private void drawGenericStateContainer(STATUS status, string display, Font font, DrawItemEventArgs e)
  516. {
  517. Brush brush;//forecolor
  518. Brush selBrushBkgnd;//background color
  519. switch (status)
  520. {
  521. case STATUS.toAdd:
  522. brush = Brushes.ForestGreen;
  523. selBrushBkgnd = Brushes.LightGray;
  524. break;
  525. case STATUS.toDelete:
  526. brush = Brushes.Crimson;
  527. selBrushBkgnd = Brushes.Beige;
  528. break;
  529. case STATUS.toUpdate:
  530. brush = Brushes.BlueViolet;
  531. selBrushBkgnd = Brushes.Beige;
  532. break;
  533. default:
  534. brush = Brushes.Black;
  535. selBrushBkgnd = Brushes.White;
  536. break;
  537. }
  538. //selected item drawing : invert colors
  539. if (((e.State & DrawItemState.Selected) == DrawItemState.Selected))
  540. {
  541. Brush temp = (brush.Equals(Brushes.Black)) ? Brushes.SteelBlue : brush;
  542. brush = selBrushBkgnd;
  543. selBrushBkgnd = temp;
  544. }
  545. else
  546. selBrushBkgnd = Brushes.White;
  547. e.Graphics.FillRectangle(selBrushBkgnd, e.Bounds);
  548. e.Graphics.DrawString(display, font, brush, e.Bounds.X, e.Bounds.Y);
  549. }
  550. #endregion
  551.  
  552. #region edit actors
  553.  
  554. private void editPersBtn_Click(object sender, EventArgs e)
  555. {
  556. Actor actor = (Actor)editActorsLB.SelectedItem;
  557. EditRoleForm form = new EditRoleForm(actor);
  558. form.ShowDialog(this.ParentForm);
  559. }
  560.  
  561. /// <summary>
  562. /// Allow to add a person with a role into the listbox
  563. /// </summary>
  564. /// <param name="sender"></param>
  565. /// <param name="e"></param>
  566. private void editActorsAddBtn_Click(object sender, EventArgs e)
  567. {
  568. Brol brol = brolBindingSource.DataSource as Brol;
  569. if (brol != null)
  570. {
  571. diaSetActorRole.Type = brol.BrolType;
  572. }
  573. diaSetActorRole.ShowDialog(this.ParentForm);
  574. }
  575. /// <summary>
  576. /// Select a person to delete or to display image
  577. /// </summary>
  578. /// <param name="sender"></param>
  579. /// <param name="e"></param>
  580. private void editActorsLB_SelectedIndexChanged(object sender, EventArgs e)
  581. {
  582. if (editActorsLB.SelectedIndex >= 0)
  583. {
  584. editActorsRemBtn.Enabled = true;
  585. editPersBtn.Enabled = true;
  586. }
  587. personInfoGB.Visible = true;
  588. personControl.setPerson((Actor)editActorsLB.SelectedItem);
  589.  
  590. }
  591.  
  592. private void editActorsRemBtn_Click(object sender, EventArgs e)
  593. {
  594. Actor actor = (Actor)editActorsLB.SelectedItem;
  595. Brol brol = brolBindingSource.Current as Brol;
  596. if (brol != null && brol.Id >= 0)
  597. {
  598. actor.Status = STATUS.toDelete;
  599. StaticObservable.notify(new Notification(Notification.VERBOSE.debug, "Modification du status de l'acteur vers la valeur \"to delete\"", this));
  600. editActorsLB.Refresh();
  601. }
  602. else
  603. {
  604. editActorsLB.Items.Remove(actor);
  605. }
  606. StaticObservable.notify(new Notification(Notification.VERBOSE.debug, "Suppression d'un acteur", editActorsLB.Items.Count + " acteurs pour ce media", this));
  607. editActorsRemBtn.Enabled = false;
  608. }
  609. private void editActorsLB_DrawItem(object sender, DrawItemEventArgs e)
  610. {
  611. if (e.Index >= 0)
  612. {
  613. ListBox listBox = (ListBox)sender;
  614. //listBox.UseCustomTabOffsets = true;
  615. //listBox.CustomTabOffsets.Add(50);
  616. Actor item = (Actor)listBox.Items[e.Index];
  617. drawGenericStateContainer(item.Status, item.Display, listBox.Font, e);
  618. }
  619. }
  620. #endregion
  621.  
  622. private void editCotationCB_Click(object sender, EventArgs e)
  623. {
  624. Brol brol = brolBindingSource.DataSource as Brol;
  625. if (brol != null && editCotationCB.SelectedIndex != -1)
  626. {
  627. brol.Cotation = (int)editCotationCB.SelectedItem;
  628. }
  629. }
  630.  
  631. private void brolTypeCB_Click(object sender, EventArgs e)
  632. {
  633. Brol brol = brolBindingSource.DataSource as Brol;
  634. if (brol != null && brolTypeCB.SelectedIndex > -1)
  635. {
  636. BrolType brolType = brolTypeCB.SelectedItem as BrolType;
  637. if (brolType != null)
  638. {
  639. brol.BrolType = brolType;
  640. type = brolType;
  641. //System.Console.WriteLine("brol : "+brolType.Name);
  642. }
  643. //else
  644. //{
  645. // System.Console.WriteLine("new brol");
  646. //}
  647. }
  648. //lse
  649. // System.Console.WriteLine("erreur : brol null");
  650. }
  651. #endregion
  652.  
  653. #region drop image
  654. private void EditBrolControl_DragDrop(object sender, DragEventArgs e)
  655. {
  656. if (EventMethods.imageDragDrop(sender, e, editSpImgPictureBox))
  657. {
  658. editSpecificTC.SelectedTab = editSpImgTP;
  659. pictureModified = true;
  660. }
  661. }
  662.  
  663. private void EditBrolControl_DragEnter(object sender, DragEventArgs e)
  664. {
  665. if(imageEditable) e.Effect = DragDropEffects.All;
  666. }
  667. #endregion
  668.  
  669. private void showImagePropertiesBtn_Click(object sender, EventArgs e)
  670. {
  671. if (editSpImgPictureBox.ImageLocation != string.Empty)
  672. {
  673. be.gaudry.model.win32.Shell32Helper.ShowFileProperties(editSpImgPictureBox.ImageLocation);
  674. }
  675. else
  676. {
  677. MessageBox.Show(
  678. this,
  679. "Impossible de déterminer les propriétés de cette image.",
  680. "Propriétés de l'image",
  681. MessageBoxButtons.OK,
  682. MessageBoxIcon.Information
  683. );
  684. }
  685. }
  686. }
  687. }

Structure et Fichiers du projet

Afficher/masquer...


Répertoires contenus dans /var/www/bin/sniplets/bibliobrol/src/view/controls/ 
IcôneNomTailleModification
IcôneNomTailleModification
| _ Répertoire parent0 octets1718696900 18/06/2024 09:48:20
| _dao0 octets1541007199 31/10/2018 18:33:19
| _toolBars0 octets1541007200 31/10/2018 18:33:20
| _webInfo0 octets1541007201 31/10/2018 18:33:21
Fichiers contenus dans /var/www/bin/sniplets/bibliobrol/src/view/controls/ 
IcôneNomTailleModificationAction
IcôneNomTailleModificationAction
Afficher le fichier .cs|.csPersonSelectControl.cs4.89 Ko31/10/2018 18:32:57-refusé-
Afficher le fichier .cs|.csCreateStructureControl.cs7.49 Ko31/10/2018 18:32:56-refusé-
Afficher le fichier .cs|.csDBSelectControl.cs3.23 Ko31/10/2018 18:32:56-refusé-
Afficher le fichier .cs|.csPersonInfoControl.Designer.cs13.13 Ko31/10/2018 18:32:57-refusé-
Afficher le fichier .resx|.resxDirControl.resx5.68 Ko31/10/2018 18:32:56-refusé-
Afficher le fichier .resx|.resxBrolInfoControl.resx6.06 Ko31/10/2018 18:32:56-refusé-
Afficher le fichier .cs|.csBrolEditControl.cs25.36 Ko31/10/2018 18:32:55-refusé-
Afficher le fichier .cs|.csPersonEditControl.cs15.67 Ko31/10/2018 18:32:57-refusé-
Afficher le fichier .cs|.csSearchControl.cs18.88 Ko31/10/2018 18:32:57-refusé-
Afficher le fichier .resx|.resxDBSelectControl.resx5.88 Ko31/10/2018 18:32:56-refusé-
Afficher le fichier .cs|.csBrolInfoControl.Designer.cs22.81 Ko31/10/2018 18:32:56-refusé-
Afficher le fichier .cs|.csInfoControl.cs2.04 Ko31/10/2018 18:32:56-refusé-
Afficher le fichier .cs|.csDirControl.Designer.cs5.83 Ko31/10/2018 18:32:56-refusé-
Afficher le fichier .cs|.csSelectConsoleVerboseControl.cs5.49 Ko31/10/2018 18:32:57-refusé-
Afficher le fichier .cs|.csPersonSelectedEventArgs.cs779 octets31/10/2018 18:32:57-refusé-
Afficher le fichier .resx|.resxSelectConsoleVerboseControl.resx5.68 Ko31/10/2018 18:32:57-refusé-
Afficher le fichier .cs|.csTodoControl.cs13.73 Ko31/10/2018 18:32:58-refusé-
Afficher le fichier .cs|.csSelectConsoleVerboseControl.Designer.cs45.29 Ko31/10/2018 18:32:57-refusé-
Afficher le fichier .cs|.csBrolEditControl.Designer.cs40.09 Ko31/10/2018 18:32:56-refusé-
Afficher le fichier .cs|.csDBSelectControl.Designer.cs6.71 Ko31/10/2018 18:32:56-refusé-
Afficher le fichier .cs|.csPersonEditControl.Designer.cs27.54 Ko31/10/2018 18:32:57-refusé-
Afficher le fichier .resx|.resxPersonInfoControl.resx6.42 Ko31/10/2018 18:32:57-refusé-
Afficher le fichier .cs|.csCreateStructureControl.Designer.cs5 Ko31/10/2018 18:32:56-refusé-
Afficher le fichier .cs|.csDirPathModifiedEventArgs.cs871 octets31/10/2018 18:32:56-refusé-
Afficher le fichier .cs|.csInfoControl.Designer.cs3.18 Ko31/10/2018 18:32:56-refusé-
Afficher le fichier .cs|.csBrolInfoControl.cs5.14 Ko31/10/2018 18:32:56-refusé-
Afficher le fichier .resx|.resxBrolEditControl.resx6.04 Ko31/10/2018 18:32:56-refusé-
Afficher le fichier .cs|.csPersonInfoControl.cs2.22 Ko31/10/2018 18:32:57-refusé-
Afficher le fichier .resx|.resxInfoControl.resx5.68 Ko31/10/2018 18:32:56-refusé-
Afficher le fichier .cs|.csDirControl.cs4.51 Ko31/10/2018 18:32:56-refusé-
Afficher le fichier .resx|.resxCreateStructureControl.resx6.44 Ko31/10/2018 18:32:56-refusé-
Afficher le fichier .cs|.csSerieEditControl.cs2.58 Ko31/10/2018 18:32:58-refusé-
Afficher le fichier .resx|.resxSerieEditControl.resx7.45 Ko31/10/2018 18:32:58-refusé-
Afficher le fichier .resx|.resxTodoControl.resx6.76 Ko31/10/2018 18:32:58-refusé-
Afficher le fichier .cs|.csTodoControl.Designer.cs28.27 Ko31/10/2018 18:32:58-refusé-
Afficher le fichier .resx|.resxSearchControl.resx6.43 Ko31/10/2018 18:32:57-refusé-
Afficher le fichier .cs|.csPersonSelectControl.Designer.cs14.74 Ko31/10/2018 18:32:57-refusé-
Afficher le fichier .cs|.csSearchControl.Designer.cs25.75 Ko31/10/2018 18:32:57-refusé-
Afficher le fichier .resx|.resxPersonEditControl.resx7.96 Ko31/10/2018 18:32:57-refusé-
Afficher le fichier .cs|.csSerieEditControl.Designer.cs6.65 Ko31/10/2018 18:32:58-refusé-
Afficher le fichier .resx|.resxPersonSelectControl.resx5.68 Ko31/10/2018 18:32:57-refusé-

Utilisation de l'explorateur de code

  • Navigation :
    • Un clic sur une icône de répertoire ouvre ce répertoire pour en afficher les fichiers.
    • Lorsque le répertoire en cours ne contient pas de sous-répertoires il est possible de remonter vers le répertoire parent.
    • La structure de répertoires en treetable (tableau en forme d'arborescence) n'est plus possibledans cette version.
    • Un clic sur une icône de fichier ouvre ce fichier pour en afficher le code avec la coloration syntaxique adaptée en fonction du langage principal utilisé dans le fichier.
  • Affichage :
    • Il est possible de trier les répertoires ou les fichiers selon certains critères (nom, taille, date).
  • Actions :
    • Les actions possible sur les fichiers dépendent de vos droits d'utilisateur sur le site. Veuillez activer le mode utilisateur pour activer les actions.

Document créé le 16/10/2009, dernière modification le 26/10/2018
Source du document imprimé : https://www.gaudry.be/cs-bibliobrol-source-rf-view/controls/BrolEditControl.cs.html

L'infobrol est un site personnel dont le contenu n'engage que moi. Le texte est mis à disposition sous licence CreativeCommons(BY-NC-SA). Plus d'info sur les conditions d'utilisation et sur l'auteur.