Categories > Coding > C# >
XAML/C# How would i make a page slide in
Posted
how would i make a page slide in without having to make a new xaml window? like comet ware the script list opens like that
Exploits I own: Synapse, Comet, Surefire I made Surefire
Exploits I want: Scriptware, sentinel
Surefires discord: discord.gg/kyH7vEE8
Replied
Its quite complicated to explain how, If you know how to work with WPF uis n stuff, you'll probably will know.
Well you're quite lucky(I guess) I think Comet its not obfuscated, you can always look at Comet source code using tools like Dnspy, Dotpeek, others to see how comet dev made it.
Cancel
Post
Replied
Cancel
Post
professional exploiter
Replied
use storyboard, just google or chatgpt
Cancel
Post
https://cdn.discordapp.com/attachments/1136067487847415848/1146449877660872785/image.png
https://cdn.discordapp.com/attachments/1098921594249814066/1112144294007029932/WRDBanner_Alawapr_1.png
Replied
use storyboards. heres a documentation - https://learn.microsoft.com/en-us/dotnet/desktop/wpf/graphics-multimedia/storyboards-overview?view=netframeworkdesktop-4.8
Cancel
Post
Try the cheat launcher verve today ⬇
https://i.imgur.com/QdS8sQ5.png
Join Neuron Discord Server - https://discord.gg/harAKHv32K
Replied
Comet uses storyboard, but we do it both in c# and by making the animation in blend. The Script List Animation is done in C#.
Cancel
Post
<3 N4ri
---
Exploits i use: Comet
Scripts i use: anything cool
Replied
N4ri how would i do that
Cancel
Post
Exploits I own: Synapse, Comet, Surefire I made Surefire
Exploits I want: Scriptware, sentinel
Surefires discord: discord.gg/kyH7vEE8
Replied
I also just learned storyboards. Its pretty fun to do experiments with https://streamable.com/jv6omv
Cancel
Post
Try the cheat launcher verve today ⬇
https://i.imgur.com/QdS8sQ5.png
Join Neuron Discord Server - https://discord.gg/harAKHv32K
Replied
Animations and precise timing between the animations on when switch the pages out
Cancel
Post
nltr | Xaml & C# Developer | Former Fluxus Administrator
------------------------------------------------------------------------------------
💜 Developer of Kronos 💜
Senior Dev of Orbit
Replied
you can use a Frame
control and set the Content
property to the desired page. You can then animate the Frame
control to slide in and out of view
<Window x:Class="PageSlideInExample.MainWindow"
...
Title="MainWindow" Height="450" Width="800">
<Grid>
<Frame Name="ContentFrame" NavigationUIVisibility="Hidden" />
</Grid>
</Window>
private void NavigateToPage(Page page)
{
// set the content of the frame to the specified page
ContentFrame.Content = page;
// create the animation
var sb = new Storyboard();
var marginAnimation = new ThicknessAnimation
{
From = new Thickness(ContentFrame.ActualWidth, 0, -ContentFrame.ActualWidth, 0),
To = new Thickness(0),
Duration = new Duration(TimeSpan.FromMilliseconds(500))
};
Storyboard.SetTarget(marginAnimation, ContentFrame);
Storyboard.SetTargetProperty(marginAnimation, new PropertyPath(FrameworkElement.MarginProperty));
// add the animation to the storyboard and start it
sb.Children.Add(marginAnimation);
sb.Begin();
}
private void HomeButton_Click(object sender, RoutedEventArgs e)
{
NavigateToPage(new HomePage());
}
private void AboutButton_Click(object sender, RoutedEventArgs e)
{
NavigateToPage(new AboutPage());
}
Cancel
Post
https://media.discordapp.net/attachments/979069297374671018/1078367228593971362/VelvetSiggy.png
Users viewing this thread:
( Members: 0, Guests: 1, Total: 1 )
Cancel
Post