private void Tile9_Click(object sender, RoutedEventArgs e) { apps.Supplier sreg = new apps.Supplier(); sreg.WindowState = WindowState.Maximized; sreg.ShowDialog(); }