示例#1
0
 public PhysicalMemoryWindow(UtilisationWindow utilisationParent)
 {
     this.osParent          = null;
     this.mainParent        = null;
     this.utilisationParent = utilisationParent;
     InitializeComponent();
     currentInstance = this;
     SetPhysicalMemoryWindowInstance();
 }
示例#2
0
 public PhysicalMemoryWindow(OperatingSystemMainWindow osParent)
 {
     this.osParent          = osParent;
     this.mainParent        = null;
     this.utilisationParent = null;
     InitializeComponent();
     currentInstance = this;
     SetPhysicalMemoryWindowInstance();
 }
示例#3
0
 public MemoryWindow(PhysicalMemoryWindow parentWindow, MemoryPage currentPage)
     : this()
 {
     this.mainParentWindow           = null;
     this.physicalMemoryParentWindow = parentWindow;
     this.currentPage = currentPage;
     currentInstance  = this;
     SetMemoryWindowInstance();
     PopulateDataView();
 }
        private void btn_ViewMemory_Click(object sender, RoutedEventArgs e)
        {
            PhysicalMemoryWindow wind = new PhysicalMemoryWindow(this);

            wind.Show();
        }