public ResourceWindow()
 {
     this.parent = null;
     InitializeComponent();
     currentInstance = this;
     SetResourceWindowInstance();
 }
 public ResourceWindow(OperatingSystemMainWindow parent)
 {
     this.parent = parent;
     InitializeComponent();
     currentInstance = this;
     SetResourceWindowInstance();
 }
        private void btn_ViewResources_Click(object sender, RoutedEventArgs e)
        {
            ResourceWindow window = new ResourceWindow(this);

            window.Show();
        }