All language subtitles for 001 Periodic Table Example - TDrawGrid_en

af Afrikaans
sq Albanian
am Amharic
ar Arabic Download
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bn Bengali
bs Bosnian
bg Bulgarian
ca Catalan
ceb Cebuano
ny Chichewa
zh-CN Chinese (Simplified)
zh-TW Chinese (Traditional)
co Corsican
hr Croatian
cs Czech
da Danish
nl Dutch
en English
eo Esperanto
et Estonian
tl Filipino
fi Finnish
fr French
fy Frisian
gl Galician
ka Georgian
de German
el Greek
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian
is Icelandic
ig Igbo
id Indonesian
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
km Khmer
ko Korean
ku Kurdish (Kurmanji)
ky Kyrgyz
lo Lao
la Latin
lv Latvian
lt Lithuanian
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mn Mongolian
my Myanmar (Burmese)
ne Nepali
no Norwegian
ps Pashto
fa Persian
pl Polish
pt Portuguese
pa Punjabi
ro Romanian
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
st Sesotho
sn Shona
sd Sindhi
si Sinhala
sk Slovak
sl Slovenian
so Somali
es Spanish
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
te Telugu
th Thai
tr Turkish
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu
or Odia (Oriya)
rw Kinyarwanda
tk Turkmen
tt Tatar
ug Uyghur
Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated: WEBVTT 00:08.740 --> 00:13.000 So we're going to be continuing periodic table example. 00:13.050 --> 00:13.990 It's not what happens. 00:13.990 --> 00:15.540 We can make. 00:15.820 --> 00:23.500 There is the first thing I want to do is replace the string grid with a draw grid. 00:23.560 --> 00:31.060 Now if I press if one on the string grid it will bring help and we'll see that string grid actually 00:31.060 --> 00:32.590 descends from Piedro grid. 00:33.070 --> 00:45.400 Now string grid introduces the cells property which if we look at the on create create event we can 00:45.400 --> 00:55.300 see that basically we are storing the structure of the pivot table in the cells property which is less 00:55.300 --> 01:00.790 than ideal it would be nice to have this in a separate class which would make it far more usable so 01:00.790 --> 01:08.680 that we could have you know the monkey version or a web based version or we might have 01:11.530 --> 01:18.490 a different version which uses a different control altogether. 01:18.540 --> 01:25.810 So basically the first thing going to do is create a new class and we get to do that in the elements. 01:25.810 --> 01:27.730 So let's let's do that. 01:29.120 --> 01:32.550 So let's create a new periodic table class 01:36.810 --> 01:37.690 chicken and 01:40.570 --> 01:41.450 t elements 01:53.590 --> 02:05.500 of public and private sections and selects So we're going to need to create here 02:11.150 --> 02:13.030 and we're going to need to create apps 02:16.430 --> 02:18.050 on the table. 02:23.370 --> 02:24.900 And in the form create 02:31.070 --> 02:34.950 you need to create a periodic table whatever that entails. 02:35.400 --> 02:35.970 And 02:40.070 --> 02:44.400 to create. 02:44.820 --> 02:50.030 So basically we want to store the structure of the table. 02:51.240 --> 02:51.510 So 02:57.210 --> 02:59.170 I make it as an array of 03:02.380 --> 03:03.850 number of columns. 03:05.780 --> 03:10.720 Times the number of rows and we make it of element 03:14.750 --> 03:19.050 and of course we need some way of getting that out. 03:19.120 --> 03:19.990 So we have a 03:23.060 --> 03:27.350 function called element which takes a 03:30.500 --> 03:33.610 a column in a row with integers 03:42.840 --> 03:43.290 into Juda 03:45.930 --> 03:47.440 and returns and the element 03:54.200 --> 04:09.970 to be lazy or doing any range checking. 04:10.350 --> 04:14.280 So that's fairly simple. 04:14.520 --> 04:22.420 Now we also want to load elements and build it from the CSC for 04:31.400 --> 04:36.440 farming strength and when you see the elements from somewhere so 04:46.650 --> 04:51.080 OK so Bankia 04:59.090 --> 04:59.260 and 05:02.320 --> 05:03.960 I just copy and paste all that 05:10.010 --> 05:10.610 OK. 05:11.080 --> 05:15.910 And basically I'm going to copy this for now rather than rather than shifting it 05:22.280 --> 05:26.050 to show that there aren't any directory. 05:26.070 --> 05:26.890 But we need everything else 05:34.180 --> 05:35.140 this becomes 05:38.220 --> 05:39.160 a file name 05:51.730 --> 05:52.500 call the grove 05:55.440 --> 05:59.230 and installed element 06:02.930 --> 06:04.880 and the top number. 06:05.750 --> 06:11.450 So it shouldn't theory be a periodic table constructed. 06:12.320 --> 06:18.410 So we were just doing the same as before except we're getting from a specified filename and we're filling 06:18.650 --> 06:20.930 in a an array. 06:20.930 --> 06:24.950 Now the array is initialized will be NULL to begin with. 06:24.950 --> 06:27.680 When the class is created. 06:28.230 --> 06:35.240 So anything to the complete code will be full array. 06:36.780 --> 06:37.250 OK. 06:37.370 --> 06:47.480 So the next step will be to start using our pivot table rather than the 06:51.690 --> 06:53.700 than having had coded. 06:54.160 --> 06:56.500 This is run and confirm 06:59.940 --> 07:02.070 Privett is just true. 07:05.500 --> 07:10.270 Strike appalling that again and compiles doesn't run. 07:10.280 --> 07:10.740 It runs 07:15.050 --> 07:15.500 OK. 07:15.620 --> 07:25.620 So if we scroll down the easiest thing to replace will be the silica cell which fills when it runs fills 07:25.860 --> 07:30.740 a little what is it called Peenemunde details. 07:31.310 --> 07:36.830 So rather than getting the element from the string grid. 07:42.830 --> 07:49.360 So period table dot elements and 07:52.650 --> 08:07.100 to go plus one because the strict grid is zero based and here table class is the array start at one 08:07.350 --> 08:16.520 Ravinder. 08:17.250 --> 08:25.000 That's the top number to all. 08:26.150 --> 08:28.040 So it is not. 08:29.180 --> 08:30.990 And that line. 08:31.160 --> 08:41.450 So that should be select cell code so let's run that and see if that still works. 08:41.570 --> 08:42.140 Yes it does. 08:42.140 --> 08:48.170 So we're now getting details from the perfect table glass 08:52.050 --> 09:05.680 and next thing we want to update is this string grid draw a cell so what I'm going to do is I'm going 09:05.680 --> 09:08.790 to get rid of simple and Tullock number 09:11.690 --> 09:13.140 have an e. 09:13.320 --> 09:14.330 And I love it. 09:25.990 --> 09:27.590 So elements 09:35.730 --> 09:36.830 like OK. 09:36.890 --> 09:45.490 So now it's going to use the details from E rather than. 09:46.370 --> 09:48.600 So got know 09:52.460 --> 09:53.270 in fact we don't even 09:56.170 --> 10:00.020 at all surfie. 10:00.690 --> 10:01.620 But he will tell. 10:01.660 --> 10:02.080 There 10:06.230 --> 10:06.760 is no 10:09.770 --> 10:12.560 and take that and extend it down to the bottom 10:19.200 --> 10:26.220 so if it isn't all that is to say in the given Zelle there is no element or we're going to be doing 10:26.280 --> 10:31.650 is drawing a white background. 10:32.690 --> 10:34.070 Very exciting. 10:35.230 --> 10:43.770 But if it contains an element we're either going to highlight it or have so many green cell Kellow 10:46.590 --> 10:58.360 and dot number you know simple simple simple. 10:59.280 --> 11:00.080 Okey dokey. 11:00.090 --> 11:09.120 So basically it was pretty much the same as before except when they're now getting stuff from the elements 11:11.190 --> 11:12.750 and making sure it's not nil. 11:12.870 --> 11:22.320 And if we run that it looks exactly the same as pretty impressive. 11:22.330 --> 11:27.440 But anyway now what we can do is we can get rid of all that code 11:34.130 --> 11:37.170 for the directory that needs nothing else. 11:42.660 --> 11:47.110 And if we run this it still works. 11:47.490 --> 11:53.420 And the next thing we want to do is change our strength grid to a T Droguet. 11:53.490 --> 12:00.780 So what I'm going to do is I'm going to personally have 12 or Ashokan and reichlich and go viewas takes 12:01.100 --> 12:08.630 only 12 and I'm going to change our street grid to a draw grid. 12:12.350 --> 12:12.830 OK. 12:12.930 --> 12:16.770 So we need to fix a declaration and 12:21.550 --> 12:29.390 and it looks like symbols not quite wide enough let's make it at what. 12:29.670 --> 12:30.290 OK. 12:33.420 --> 12:41.910 So that's pretty much every working of the periodic table and using the grid and eliminating the cells 12:41.910 --> 12:42.270 properly. 12:42.310 --> 12:48.300 So using the cells property any way any more which allows us to use the strenger sorry the drill grid 12:50.000 --> 12:53.500 and the last thing we might want to do is 12:58.030 --> 13:02.950 rename our last string grid to 13:06.040 --> 13:11.610 a court to agree to a periodic table grid. 13:15.920 --> 13:18.250 And that compiles indeed. 13:18.300 --> 13:18.860 OK. 13:19.430 --> 13:23.120 So that's a little bit tidy. 13:24.050 --> 13:25.100 So let's say all that. 7851

Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.