Exemple #1
0
        void MainWindow_Closed(object sender, EventArgs e)
        {
            searchHistoryWindow.ForceClose();
            searchHistoryWindow = null;

            folderHistoryWindow.ForceClose();
            folderHistoryWindow = null;

            SnarlConnector.RevokeConfig((IntPtr) snarlHandle);
        }
Exemple #2
0
        /// <summary>
        /// Creates instances of the search history windows
        /// </summary>
        private void createHistoryWindows()
        {
            searchHistoryWindow = new HistoryPopup(Application.Current.MainWindow.GetType().Assembly.FullName + "." + "searchHistoryWindow");

            folderHistoryWindow = new HistoryPopup(Application.Current.MainWindow.GetType().Assembly.FullName + "." + "folderHistoryWindow");
        }