예제 #1
0
        public SyncerForm()
        {
            InitializeComponent();
            m_syncer        = Syncer.Instance;
            m_multiThreaded = Settings.Default.MultiThreaded;
#if DEBUG
            button1.Visible = true;
#endif
        }
        public InitialLoadForm()
        {
            InitializeComponent();
            m_step = 0;

            m_nonBold       = new Font(Connect_LBL.Font, FontStyle.Regular);
            m_bolded        = new Font(Connect_LBL.Font, FontStyle.Bold);
            m_syncer        = Syncer.Instance;
            m_multiThreaded = Settings.Default.MultiThreaded;
        }
예제 #3
0
        private void ThisAddIn_Startup(object sender, System.EventArgs e)
        {
            OutlookSync.Syncer.Init(Application);
            ((Outlook.ApplicationEvents_11_Event)Application).Quit += ThisAddIn_Quit;

            m_syncer    = Syncer.Instance;
            m_scheduler = Scheduler.Scheduler.Instance;

            m_items   = new List <Outlook.Items>();
            m_folders = new List <Outlook.Folder>();

            foreach (Outlook.Folder folder in Application.Session.Folders)
            {
                GetFolders(folder);
            }
        }