private void takeANoteClick(object sender, RoutedEventArgs e)
        {
            if ((string)TakeANoteMenu.Header == "Back")
            {
                ChangeColorMenu.Visibility = Visibility.Hidden;
                DeleteMenu.Visibility      = Visibility.Hidden;
                ColorPallete.Visibility    = Visibility.Hidden;
                TakeANoteMenu.Header       = "Take A Note..";
                return;
            }
            TakeANote tNoteDlg = new TakeANote(con);

            this.Visibility = Visibility.Collapsed;
            tNoteDlg.ShowDialog();
            this.Visibility = Visibility.Visible;

            Bind();
        }
        private void OnNoteClick(object sender, RoutedEventArgs e)
        {
            Button bt = sender as Button;

            con.Open();

            NoteworthyDataSet noteworthyDataSet = new NoteworthyDataSet();

            NoteworthyDataSetTableAdapters.MyNotesTableAdapter myNotesTldAdp = new NoteworthyDataSetTableAdapters.MyNotesTableAdapter();
            myNotesTldAdp.Connection.ConnectionString = con.ConnectionString;
            string path = myNotesTldAdp.GetPath((bt.Content as TextBlock).Text);

            con.Close();

            TakeANote tNoteDlg = new TakeANote((bt.Content as TextBlock).Text, path);

            this.Visibility = Visibility.Collapsed;
            tNoteDlg.ShowDialog();
            this.Visibility = Visibility.Visible;
            Bind();
        }