Beispiel #1
0
        public void Show_SearchWindow(int t_DiaryID)
        {
            //Create a from SearchWindow
            frmSearchWindow SearchWindow = new frmSearchWindow(t_DiaryID);

            SearchWindow.Show();
        }
Beispiel #2
0
        private void BntClose_Click(object sender, RoutedEventArgs e)
        {
            //Gets the user back to the search window without saving the current editing diary
            controlling     con          = new controlling();
            var             diary        = con.Get_DiaryFromEntry(EntryID);
            frmSearchWindow searchWindow = new frmSearchWindow(diary.DiaryID);

            searchWindow.Show();
            this.Close();
        }