private void frmMainRibon_Load(object sender, EventArgs e) { storage.Load(); if (storage.StorageObject == null) { storage.StorageObject = new ClientUserSettings(); storage.Save(); } LoadAuthenticationForm(); }
private void FRM_MainDevExpress_Load(object sender, EventArgs e) { storage.Load(); if (storage.StorageObject == null) { storage.InitObject(); } else { if (System.IO.File.Exists(storage.StorageObject.File)) { _CurrentFullFileName = storage.StorageObject.File; LoadMenuFile(); } } Refresh(); }
private void frmMainRibon_Load(object sender, EventArgs e) { storage.Load(); if (storage.StorageObject == null) { storage.StorageObject = new ClientUserSettings(); storage.Save(); } LoadAuthenticationForm(); foreach (BarItem barItem in this.ribbonControl1.Items) { CheckRule(barItem); } }
private void Main_Load(object sender, EventArgs e) { try { storage.Load(); if (storage.StorageObject == null) { storage.StorageObject = new UsersBE(); storage.Save(); } ShowAuthenticationForm(storage.StorageObject.UserNameLogin, storage.StorageObject.Password); this.AddContronToPannel(PanelEnum.LeftPanel_1, "Epiron.Front.Gestion.Sample1.UserControl1,Epiron.Front.Gestion.Sample1", 10); this.AddContronToPannel(PanelEnum.FootherPanel, "Meucci.Front.Alerts.MarqueeUC,Meucci.Front.Alerts", null); this.AdjustCulture(); } catch (Exception es) { MessageViewer.Show(es.Message); } }