This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| private void CreateSymbolO(Grid board) | |
| { | |
| var O = new Ellipse(); | |
| O.Width = 70; | |
| O.Height = 70; | |
| O.Fill = new SolidColorBrush(new Color() { A = 255, R = 0, G = 255, B = 4 }); | |
| Grid.SetRow(O, 0); | |
| Grid.SetColumn(O, 1); | |
| board.Children.Add(O); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| private void CreateSymbolX(Grid board) | |
| { | |
| var geometry = new PathGeometry { Figures = new PathFigureCollection() }; | |
| var line1 = new PathFigure | |
| { | |
| Segments = new PathSegmentCollection { new LineSegment { Point = new Point(25, 25) } }, | |
| StartPoint = new Point(0, 0) | |
| }; | |
| var line2 = new PathFigure | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public event PropertyChangedEventHandler PropertyChanged; | |
| protected virtual void OnPropertyChanged(string propertyName) | |
| { | |
| PropertyChangedEventHandler tempEvent = PropertyChanged; | |
| if (tempEvent != null) | |
| { | |
| tempEvent(this, new PropertyChangedEventArgs(propertyName)); | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .tile-wrapper { | |
| position : relative; | |
| display : inline-block; | |
| } | |
| .tile-wrapper .image-options { | |
| position : absolute; | |
| top : 0; | |
| right : 0; | |
| left : 0; | |
| height : 25px; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .tile-wrapper { | |
| position : relative; | |
| display : inline-block; | |
| } | |
| .tile-wrapper img { | |
| position : relative; | |
| } | |
| .tile-wrapper .image-options { | |
| position : absolute; | |
| top : 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .tile-wrapper a | |
| { | |
| border: 0px solid red; | |
| margin: 0px; | |
| width: 128px; | |
| height:128px; | |
| display:block; | |
| } | |
| .tile-wrapper a:hover |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class StaticSpeedDecrease | |
| { | |
| static final int ITERATIONS = 100; | |
| static final long MAX_VALUE = 100000; | |
| public static void main(final String[] args) | |
| { | |
| int maxThreads = 100; | |
| boolean isStatic = args.length > 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| alter database DBReport set single_user with rollback immediate | |
| DROP Database DBReport |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0"?> | |
| <!-- | |
| Note: As an alternative to hand editing this file you can use the | |
| web admin tool to configure settings for your application. Use | |
| the Website->Asp.Net Configuration option in Visual Studio. | |
| A full list of settings and comments can be found in | |
| machine.config.comments usually located in | |
| \Windows\Microsoft.Net\Framework\v2.x\Config | |
| --> | |
| <configuration> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /*var SocketRouter = function() { | |
| console.log('Socket Router initialization'); | |
| SocketRouter = function() { | |
| console.log('But I already did something!'); | |
| }; | |
| }; | |
| var x1 = new SocketRouter(); |
OlderNewer