c # - diseño WPF de herencia - Ventana desde ventana

Tengo un problema con mi herencia de 'Ventana', ¿no entiendo cuál es el problema?

Creo que mi diseño (MediaLibrary.xaml) tiene que heredar de MainWindow ... Pero no sé cómo hacerlo:

Hay 2 clases:

MainWindow.xaml

<Window x:Class="WindowsMediaPlayerV2.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MyWindowsMediaPlayer v2" Height="350" Width="525" MinHeight="350" MinWidth="525">
    <Grid>
    </Grid>
</Window>

MainWindow.xaml.cs

namespace WindowsMediaPlayerV2
{
    public partial class MainWindow : Window
    {

        public MediaLibrary myMediaLibrary = new MediaLibrary();

        public MainWindow()
        {
            InitializeComponent();
        }
     }
}

MediaLibrary.xaml

<Window x:Class="WindowsMediaPlayerV2.MediaLibrary"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MediaLibrary" Height="350" Width="300" MinHeight="350" MinWidth="300" Closing="Window_Closing">
    <Grid>
    </Grid>
</Window>

MediaLibrary.xaml.cs

namespace WindowsMediaPlayerV2
{
    public partial class MediaLibrary : MainWindow //problem here when I run
    {
        public MediaLibrary()
        {
            InitializeComponent();

        }
     }
}

Error al ejecutar:

FR: Les déclarations partielles de 'WindowsMediaPlayerV2.MediaLibrary' ne doivent pas spécifier des classes de base différentes

ES: Las declaraciones parciales de 'WindowsMediaPlayerV2.MediaLibrary' no deben especificar clases base diferentes ¿Podemos ayudar a mi? Gracias

Respuestas a la pregunta(1)

Su respuesta a la pregunta