Exemple #1
0
 /// <summary>
 /// Constructeur privé du singleton.
 /// </summary>
 private FormManager()
 {
     notItApplication       = null;
     formClosedEventHandler = new FormClosedEventHandler(formClosed);
     listBarVisible         = false;
     toolBarVisible         = false;
     listBarTopMost         = false;
 }
 /// <summary>
 /// Constructeur par défaut.
 /// </summary>
 public NotItToolBar()
 {
     notItApplication = null;
     InitializeComponent();
     FormManager.Instance.ListBarVisibleChanged += new FormManager.ListBarVisibleChangedEventHandler(Instance_ListBarVisibleChanged);
     showListToolStripButton.Checked             = FormManager.Instance.ListBarVisible;
     if (SettingManager.Instance.Settings.VerticalToolBar)
     {
         SetVerticalLayout();
     }
 }