public UtilisationWindow(OperatingSystemMainWindow parent)
 {
     this.osParent = parent;
     InitializeComponent();
     currentInstance = this;
     SetUtilisationWindowInstance();
 }
Exemple #2
0
 public PhysicalMemoryWindow(UtilisationWindow utilisationParent)
 {
     this.osParent          = null;
     this.mainParent        = null;
     this.utilisationParent = utilisationParent;
     InitializeComponent();
     currentInstance = this;
     SetPhysicalMemoryWindowInstance();
 }
Exemple #3
0
 public PhysicalMemoryWindow(OperatingSystemMainWindow osParent)
 {
     this.osParent          = osParent;
     this.mainParent        = null;
     this.utilisationParent = null;
     InitializeComponent();
     currentInstance = this;
     SetPhysicalMemoryWindowInstance();
 }
 private void UtilisationWindow1_Closing(object sender, System.ComponentModel.CancelEventArgs e)
 {
     currentInstance = null;
     SetUtilisationWindowInstance();
 }
        private void btn_ViewUtilization_Click(object sender, RoutedEventArgs e)
        {
            UtilisationWindow window = new UtilisationWindow(this);

            window.Show();
        }