Ejemplo n.º 1
0
 private void Minimize_MouseLeave(object sender, MouseEventArgs e)
 {
     StaticFunctions.ChangeButtonImage("minimize_button.png", MinimizeImage);
 }
Ejemplo n.º 2
0
 private void container_PreviewMouseDown(object sender, MouseButtonEventArgs e)
 {
     StaticFunctions.AnimateScale(Menu.ActualWidth, Menu.ActualHeight, 0, 0, Menu, 0.2);
     StaticFunctions.AnimateFade(1, 0, Menu, 0.3);
 }
Ejemplo n.º 3
0
 private void Maximize_MouseEnter(object sender, MouseEventArgs e)
 {
     StaticFunctions.ChangeButtonImage("maximize_button_hover.png", MaximizeImage);
 }
Ejemplo n.º 4
0
 private void Close_MouseLeave(object sender, MouseEventArgs e)
 {
     StaticFunctions.ChangeButtonImage("close_button.png", CloseImage);
 }
Ejemplo n.º 5
0
 private void button_MouseEnter(object sender, MouseEventArgs e)
 {
     StaticFunctions.ChangeButtonImage("close_button_hover.png", CloseImage);
 }
Ejemplo n.º 6
0
 private void WebClient_DownloadProgressChanged(object sender, DownloadProgressChangedEventArgs e)
 {
     Size.Text         = StaticFunctions.ConvertBytesToMegabytes(e.BytesReceived) + "MB / " + StaticFunctions.ConvertBytesToMegabytes(e.TotalBytesToReceive);
     ProgressBar.Width = e.ProgressPercentage * (this.ActualWidth / 100);
 }
Ejemplo n.º 7
0
 private void button_Click(object sender, MouseButtonEventArgs e)
 {
     StaticFunctions.AnimateScale(ActualWidth, ActualHeight, 0, 0, this, 0.2);
 }