private void Tile_Click_1(object sender, RoutedEventArgs e) { apps.indelivery delv = new apps.indelivery(); delv.WindowState = WindowState.Maximized; delv.ShowDialog(); }