public static ChangeButtonImage ( string filename, System image ) : void | ||
filename | string | |
image | System | |
Результат | void |
private void Minimize_MouseLeave(object sender, MouseEventArgs e) { StaticFunctions.ChangeButtonImage("minimize_button.png", MinimizeImage); }
private void Close_MouseLeave(object sender, MouseEventArgs e) { StaticFunctions.ChangeButtonImage("close_button.png", CloseImage); }
private void Maximize_MouseEnter(object sender, MouseEventArgs e) { StaticFunctions.ChangeButtonImage("maximize_button_hover.png", MaximizeImage); }
private void button_MouseEnter(object sender, MouseEventArgs e) { StaticFunctions.ChangeButtonImage("close_button_hover.png", CloseImage); }