i have tow projects:
1. my ControlLib where i define a Base Window
2. A Project where i want to use my Base as the main Window
My Base Window looks like the following:
<Window x:Class="BaseWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Icon="GeoAS.ico"
Title="BaseWindow" Height="300" Width="300"
Background="black">
<Grid>
</Grid>
</Window>
This in the Namespace MyControllLib.
I've added this Lib as a reference to my Project where i want to use this Window as my Main Window.
I expected to put somthing like this is my Codebehind from the new Window:
Class Window1
Inherits MyControlLib.BaseWindow
End Class
But the compiler put out an error (i have to translate, because the error is in german):
The Baseclass of the Window1-Class has not to be different from the myControlLib.BaseWindow-Baseclass.
I have no idea whats to do