Made MainWindow referenceable from other windows.
This commit is contained in:
1 parent
8e6edbe6ed
commit
18833df637
1 file changed
+3
@@ -16,9 +16,12 @@ namespace osrs_toolbox
|
||||
/// </summary>
|
||||
public partial class MainWindow : Window
|
||||
{
|
||||
public static MainWindow Current;
|
||||
|
||||
public MainWindow()
|
||||
{
|
||||
InitializeComponent();
|
||||
Current = this;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user