Skip to content

Instantly share code, notes, and snippets.

@rmarinho
Created July 31, 2014 17:06
Show Gist options
  • Save rmarinho/4e412c83f958317e6697 to your computer and use it in GitHub Desktop.
Save rmarinho/4e412c83f958317e6697 to your computer and use it in GitHub Desktop.
OCR to document
// CAR$ERS AT CON SO - p /, TITLE. Punch Card Puzzle // AUTEOR Vogel // DESCRIPTION Send screens et of s .:.:essful output tc dcontosoisn-ring RX99RTOOUKL = new Systmm Collecrions-Generic.Diction ary () . RXS9RT00DRL.Add(0, Color.FromRgb(0. 0 0)):RK99RT URL.Add(1, Color,Fro2Rgb(255, 255, 255)); RX99RTOOUKL.Addi2 Coloi FromRgb(224. 64. 64)) RX99T.OOUKI. Adci 3, Color.FromRgbl96, 255, 255)) RX99RTdOUKL.Add(4 . Copt Fro gc(224. 96 224)):RX99)T00UKL.Add(5, Color.FiomRgb(64, 2 4, 64)). RX99RT00VKL.Add(6, Coior Fromitgbi64 64, 224));RX99BTODUKL.Add(7. Color.FromRgb(255. w, 55, 64))• RX99RTOOOKL.Add(9, Color FromItgb(224 160. 64));RX99RTOOUKL.Add(9, Color.FromRgb(156, 116, 72)) RK99RTOOUKL.Add(10|, coloi.Fro#gb(255 160, 160));RX99RTOOUKL.Add(ll, Colcr.FromRgb(Bq g4 g4)) RX99RTOOUKL.Add(12!, Color.FroznRgb(136 136, 136)) RX99RTOOUKL.Add(13, Colcr.FromRgb(160, 255. 160)); RX99RTOOUKL.Add(ld, Color.FrognRgb(160 , 160 255));RX99RTOOUKL.Add(15, Coldr.FromRgb(192, 192, 192))- StackPanel RGfoiEhn88 = new SpackPane 1() ( Width = 320. Height = 216, Orientation = Orientation.Vertical System.Collections.Generic Lift 1mkhHHHSonrnh987 = new System.Collect-lons.Generic-List.{) stri ng sDw1HNNJKN = string Empty for (ir.t i = 0; i < 16 1++)1.LmkhHHHS oninh987 Add(lOOjkhhsn()) RGfoiE B8.Childre Add(new u -Id() i Wi t do 1 NaN, Heigat = 12, Borizo alAlignmen = system. fandows. IlorizontalAligament.Stretch, Backgr d = new SplidColorBr tah(RX99 RTCOURL[lmkhEHESonrnh997[i]]) }}. 15) ••l IMHSonrn h947[i].ToStriag() + ";* . 1mirhuungonrnh987[i] ToString() )Tex tBbek TB1 = new TextBlock() ( Seight = 12. HorizontalAlignment = SYstem. indows. HO4xontalallgspent,Center., Text = sDwI3nRIJ5N );TextBlock = n ew TextBlock() i Height = -1 IIorizontalAlignment = System.Windows-HorizontalAl t. Center, Text = teTime.Now.ticks.ÈoString()- ); -' RGfoiEhn88.Children, ) i tRoot.Children.Add(RGfcWhene) ) int ICOikhhan(){zet .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment