ToolBarShortCutsControl.cs

Description du code

ToolBarShortCutsControl.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.view.controls;
  9.  
  10. namespace be.gaudry.bibliobrol.view.controls.toolBars
  11. {
  12. public partial class ToolBarShortCutsControl : UserControl, IToolBarControl
  13. {
  14. #region declarations and constructors
  15. public ToolBarShortCutsControl()
  16. {
  17. InitializeComponent();
  18. }
  19. #endregion
  20.  
  21. #region properties
  22.  
  23. [
  24. Category("Shortcuts"),
  25. Browsable(true),
  26. Description("Event called on click on the ManageActors button")
  27. ]
  28. public event System.EventHandler onManageActors_Click;
  29.  
  30. [
  31. Category("Shortcuts"),
  32. Browsable(true),
  33. Description("Event called on click on the ManageBrols button")
  34. ]
  35. public event System.EventHandler onManageBrols_Click;
  36.  
  37. [
  38. Category("Shortcuts"),
  39. Browsable(true),
  40. Description("Event called on click on the ManageMediaBrols button")
  41. ]
  42. public event System.EventHandler onManageMediaBrols_Click;
  43.  
  44. [
  45. Category("Shortcuts"),
  46. Browsable(true),
  47. Description("Event called on click on the ShowStats button")
  48. ]
  49. public event System.EventHandler onShowStats_Click;
  50.  
  51. [
  52. Category("Shortcuts"),
  53. Browsable(true),
  54. Description("Event called on click on the ShowExplorer button")
  55. ]
  56. public event System.EventHandler onShowExplorer_Click;
  57.  
  58. [
  59. Category("Shortcuts"),
  60. Browsable(true),
  61. Description("Event called on click on the ShowPhotobrol button")
  62. ]
  63. public event System.EventHandler onShowPhotobrol_Click;
  64.  
  65. [
  66. Category("Shortcuts"),
  67. Browsable(true),
  68. Description("Event called on click on the ShowWelcomeWizard button")
  69. ]
  70. public event System.EventHandler onShowWelcomeWizard_Click;
  71.  
  72. [
  73. Category("Shortcuts"),
  74. Browsable(true),
  75. Description("Event called on click on the CheckUpdate button")
  76. ]
  77. public event System.EventHandler onCheckUpdate_Click;
  78. #endregion
  79.  
  80. #region private methods
  81.  
  82. private void personsTSB_Click(object sender, EventArgs e)
  83. {
  84. if (onManageActors_Click != null)
  85. {
  86. onManageActors_Click(sender, e);
  87. }
  88. }
  89.  
  90. private void brolsTSB_Click(object sender, EventArgs e)
  91. {
  92. if (onManageBrols_Click != null)
  93. {
  94. onManageBrols_Click(sender, e);
  95. }
  96. }
  97.  
  98. private void mediabrolsTSB_Click(object sender, EventArgs e)
  99. {
  100. if (onManageMediaBrols_Click != null)
  101. {
  102. onManageMediaBrols_Click(sender, e);
  103. }
  104. }
  105.  
  106. private void statsTSB_Click(object sender, EventArgs e)
  107. {
  108. if (onShowStats_Click != null)
  109. {
  110. onShowStats_Click(sender, e);
  111. }
  112. }
  113.  
  114. private void brolXplorerTSB_Click(object sender, EventArgs e)
  115. {
  116. if (onShowExplorer_Click != null)
  117. {
  118. onShowExplorer_Click(sender, e);
  119. }
  120. }
  121.  
  122. private void showPhotobrolTSB_Click(object sender, EventArgs e)
  123. {
  124. if (onShowPhotobrol_Click != null)
  125. {
  126. onShowPhotobrol_Click(sender, e);
  127. }
  128. }
  129.  
  130. private void welcomeWizardTSB_Click(object sender, EventArgs e)
  131. {
  132. if (onShowWelcomeWizard_Click != null)
  133. {
  134. onShowWelcomeWizard_Click(sender, e);
  135. }
  136. }
  137.  
  138. private void updateTSB_Click(object sender, EventArgs e)
  139. {
  140. if (onCheckUpdate_Click != null)
  141. {
  142. onCheckUpdate_Click(sender, e);
  143. }
  144. }
  145. #endregion
  146.  
  147. #region IToolBarControl Members
  148.  
  149. public string ToolBarText
  150. {
  151. get
  152. {
  153. return "Raccourcis";
  154. }
  155. }
  156.  
  157. public Image ToolBarImage
  158. {
  159. get
  160. {
  161. Image img = global::be.gaudry.bibliobrol.Properties.Resources.brolWindows;
  162. return img;
  163. }
  164. }
  165.  
  166. #endregion
  167. }
  168. }

Structure et Fichiers du projet

Afficher/masquer...


Répertoires contenus dans /var/www/bin/sniplets/bibliobrol/src/view/controls/toolBars/ 
IcôneNomTailleModification
Pas de sous-répertoires.
IcôneNomTailleModification
| _ Répertoire parent0 octets1719426163 26/06/2024 20:22:43
Fichiers contenus dans /var/www/bin/sniplets/bibliobrol/src/view/controls/toolBars/ 
IcôneNomTailleModificationAction
IcôneNomTailleModificationAction
Afficher le fichier .cs|.csToolBarHelpStartControl.cs2.26 Ko31/10/2018 18:33:20-refusé-
Afficher le fichier .cs|.csToolBarConsoleControl.Designer.cs9.06 Ko31/10/2018 18:33:19-refusé-
Afficher le fichier .cs|.csToolBarHelpPersonControl.Designer.cs8.22 Ko31/10/2018 18:33:20-refusé-
Afficher le fichier .cs|.csToolBarHelpStartControl.Designer.cs9.63 Ko31/10/2018 18:33:20-refusé-
Afficher le fichier .resx|.resxToolBarHelpPersonControl.resx156.6 Ko31/10/2018 18:33:20-refusé-
Afficher le fichier .resx|.resxToolBarShortCutsControl.resx6.07 Ko31/10/2018 18:33:20-refusé-
Afficher le fichier .cs|.csToolBarShortCutsControl.Designer.cs11.97 Ko31/10/2018 18:33:20-refusé-
Afficher le fichier .resx|.resxToolBarConsoleControl.resx154.56 Ko31/10/2018 18:33:19-refusé-
Afficher le fichier .cs|.csToolBarHelpPersonControl.cs2.26 Ko31/10/2018 18:33:19-refusé-
Afficher le fichier .cs|.csToolBarShortCutsControl.cs4.5 Ko31/10/2018 18:33:20-refusé-
Afficher le fichier .cs|.csToolBarConsoleControl.cs2.69 Ko31/10/2018 18:33:19-refusé-
Afficher le fichier .resx|.resxToolBarHelpStartControl.resx76.95 Ko31/10/2018 18:33:20-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/toolBars/ToolBarShortCutsControl.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.