private void btnUpdateMaterial_Click(object sender, RoutedEventArgs e) { if (searchMaterial == null) { searchMaterial = new SearchMaterialWindow(); } frmAdministratorContent.Content = new UpdateMaterialWindow(searchMaterial); }
public AddMaterialWindow(SearchMaterialWindow searchMaterial) { InitializeComponent(); materialDescription = new MaterialDescriptionWindow(); this.searchMaterial = searchMaterial; frmSearchMaterial.Content = this.searchMaterial; frmMaterialInformation.Content = materialDescription; }
public DeleteMaterialWindow(SearchMaterialWindow searchMaterial) { InitializeComponent(); this.searchMaterial = searchMaterial; frmSearchMaterial.Content = this.searchMaterial; this.searchMaterial.SelectedMaterialChanged += this.SelectedMaterialChange; materialDescrpition = new MaterialDescriptionWindow(); frmShowMaterial.Content = materialDescrpition; }
public GiveMaterialWindow(SearchMaterialWindow searchMaterial) { InitializeComponent(); this.searchMaterial = searchMaterial; frmSearchMaterial.Content = this.searchMaterial; }
public TeacherMaterialWindow() { InitializeComponent(); materialWindow = new SearchMaterialWindow(); frmSearchMaterial.Content = materialWindow; }
public StudentMaterialWindow() { InitializeComponent(); searchWindow = new SearchMaterialWindow(); frmSearchWindow.Content = searchWindow; }