private void SyncRibbon_Load(object sender, RibbonUIEventArgs e) { m_syncerForm = new SyncerForm(); m_syncerForm.Ribbon = this; var path = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + "\\OutlookGoogleSync\\initialStartup.ini"; if (!File.Exists(path)) { var initial = new InitialLoadForm(); initial.Show(); Settings.Default.IsInitialLoad = false; Settings.Default.Save(); } #if DEBUG Debug_BTN.Visible = true; #endif }
public void SetParent(SyncerForm p) { m_parent = p; }