/// <summary>
        /// Handles the event launched when the database properties' edit button
        /// is clicked.
        /// </summary>
        /// <param name="sender">
        /// A <see cref="System.Object"/>
        /// </param>
        /// <param name="arg">
        /// A <see cref="EventArgs"/>
        /// </param>
        private void OnEditPropertiesBtnClicked(object sender, EventArgs arg)
        {
            DatabaseDescritpionEditorDialog dialog =
                new DatabaseDescritpionEditorDialog(this.mainWindow);

            dialog.ShortDescription = database.ShortDescription;
            dialog.LongDescription  = database.Description;

            ResponseType res = dialog.Show();

            if (res == ResponseType.Ok)
            {
                database.ShortDescription = dialog.ShortDescription;
                database.Description      = dialog.LongDescription;

                SetModified(true);

                SetDatabaseInfo();
            }

            dialog.Destroy();
        }
		/// <summary>
		/// Handles the event launched when the database properties' edit button
		/// is clicked.
		/// </summary>
		/// <param name="sender">
		/// A <see cref="System.Object"/>
		/// </param>
		/// <param name="arg">
		/// A <see cref="EventArgs"/>
		/// </param>
		private void OnEditPropertiesBtnClicked(object sender, EventArgs arg)
		{
			DatabaseDescritpionEditorDialog dialog = 
				new DatabaseDescritpionEditorDialog(this.mainWindow);
			
			dialog.ShortDescription = database.ShortDescription;
			dialog.LongDescription = database.Description;
			
			ResponseType res = dialog.Show();
			
			if(res == ResponseType.Ok)
			{
				database.ShortDescription = dialog.ShortDescription;
				database.Description = dialog.LongDescription;
				
				SetModified(true);
				
				SetDatabaseInfo();
			}
			
			dialog.Destroy();
		}