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