1
00:00:01,600 --> 00:00:02,520
Slowly from everyone.

2
00:00:02,520 --> 00:00:04,710
Welcome back to desktop application course.

3
00:00:04,710 --> 00:00:11,250
And in today's class we are going to study about rich text boxes and text of applications and we'll

4
00:00:11,250 --> 00:00:13,370
see tool tips as well.

5
00:00:13,380 --> 00:00:21,680
Basically when we already we have seen all we have experience in dealing with not packed like applications.

6
00:00:21,720 --> 00:00:23,090
We have seen notepad.

7
00:00:23,100 --> 00:00:29,280
We have worked on notepad and we have seen similar applications like Notepad.

8
00:00:29,310 --> 00:00:31,970
OK so what that text box is.

9
00:00:32,130 --> 00:00:33,800
Which textbooks basically.

10
00:00:33,810 --> 00:00:41,460
So if you wish to add that similar functionality inside your application desktop application so you

11
00:00:41,460 --> 00:00:44,500
can use rich textbooks instead of normal textbooks.

12
00:00:44,640 --> 00:00:52,050
And what are the tooltip are to live is basically a message or a pop up that appears when you will focus

13
00:00:52,050 --> 00:00:53,250
is a particular control.

14
00:00:53,300 --> 00:00:53,790
OK.

15
00:00:53,910 --> 00:00:57,770
So we'll see both of these in this lecture number nine.

16
00:00:57,780 --> 00:00:58,420
Let's start.

17
00:00:59,050 --> 00:00:59,320
OK.

18
00:00:59,340 --> 00:01:04,510
So I have created a new window with the name rich text box example.

19
00:01:04,710 --> 00:01:09,410
And in this particular window I am taking a little textbooks here.

20
00:01:09,450 --> 00:01:11,480
I have my rich textbooks look.

21
00:01:11,820 --> 00:01:16,280
This is a huge text box and you can work in like a notepad.

22
00:01:16,300 --> 00:01:16,930
OK.

23
00:01:16,980 --> 00:01:27,490
So if I docket in a parent container look and when I run this application from here from programmers.

24
00:01:27,510 --> 00:01:27,930
Yes.

25
00:01:28,020 --> 00:01:32,340
Right now for this example which text box example.

26
00:01:34,980 --> 00:01:36,520
OK save it.

27
00:01:36,540 --> 00:01:41,430
Let me zoom in so my first start up a screen will be my rich textbooks

28
00:01:46,610 --> 00:01:47,450
look.

29
00:01:47,580 --> 00:01:52,530
So it is very similar to my notepad application.

30
00:01:52,700 --> 00:01:53,090
OK.

31
00:01:53,090 --> 00:01:56,330
It is very similar to my notepad application.

32
00:01:56,330 --> 00:02:01,630
And you can then save this file to your hard drive.

33
00:02:01,880 --> 00:02:02,800
You can save this file.

34
00:02:03,390 --> 00:02:03,680
OK.

35
00:02:03,680 --> 00:02:06,770
You can open this file again inside this rich textbooks.

36
00:02:06,770 --> 00:02:10,280
So all these are the things that we can do in file handling as well.

37
00:02:10,370 --> 00:02:10,980
OK.

38
00:02:11,060 --> 00:02:16,460
So I'll introduce you in this lecture how to handle how to create a file.

39
00:02:16,610 --> 00:02:17,010
OK.

40
00:02:17,030 --> 00:02:18,240
How to save this file.

41
00:02:18,500 --> 00:02:20,330
So let's see and work in IT

42
00:02:23,590 --> 00:02:24,000
OK.

43
00:02:24,150 --> 00:02:32,880
So first thing I wanted to do is let me open this window and let me talk it out or make it OK.

44
00:02:32,910 --> 00:02:33,600
None.

45
00:02:33,660 --> 00:02:37,980
We'll get this as marriage textbooks and right.

46
00:02:38,070 --> 00:02:49,320
Let me take a label and give it a name and your text.

47
00:02:49,320 --> 00:02:50,320
OK.

48
00:02:50,430 --> 00:02:57,960
And then I'm creating some buttons one is for save then

49
00:03:00,510 --> 00:03:01,170
another button.

50
00:03:01,170 --> 00:03:04,440
But first of all I am taking this button as save.

51
00:03:05,250 --> 00:03:06,270
OK.

52
00:03:06,270 --> 00:03:10,650
Save and then open.

53
00:03:12,120 --> 00:03:12,430
OK.

54
00:03:13,260 --> 00:03:17,710
So these are my two buttons.

55
00:03:17,970 --> 00:03:19,380
This is massive buttons.

56
00:03:19,670 --> 00:03:23,100
Give it a name as save button.

57
00:03:23,100 --> 00:03:24,860
And this is my open button.

58
00:03:24,870 --> 00:03:29,820
So give it name as open button Ok open and button.

59
00:03:31,440 --> 00:03:32,170
OK.

60
00:03:32,460 --> 00:03:38,550
So what ever you wrote inside this rich textbooks should be saved to a file for.

61
00:03:38,600 --> 00:03:40,830
For using file handling.

62
00:03:40,830 --> 00:03:45,790
You have to come here inside your code and you have to import using System Dot.

63
00:03:45,820 --> 00:03:49,610
Are your input output without this file you cannot be.

64
00:03:49,620 --> 00:03:53,130
You are unable to open file handling controls and classes.

65
00:03:53,130 --> 00:03:53,700
OK.

66
00:03:53,760 --> 00:04:01,380
So first of all I'm checking a condition if my textbooks my name off my textbooks is this is my rich

67
00:04:01,500 --> 00:04:01,980
textbooks.

68
00:04:01,980 --> 00:04:06,400
Let me close other windows so that I can get my textbooks to design.

69
00:04:06,420 --> 00:04:13,350
This is my list textbooks so name it as bad our text let me use paragraph text.

70
00:04:13,350 --> 00:04:13,590
OK.

71
00:04:13,620 --> 00:04:20,880
So if I write here about our text that text is not equal to empty.

72
00:04:20,880 --> 00:04:23,320
That means you should have some text.

73
00:04:23,370 --> 00:04:23,680
OK.

74
00:04:24,120 --> 00:04:27,260
So if you're a paragraph text is not equal to empty.

75
00:04:27,270 --> 00:04:28,940
Then do what file.

76
00:04:28,980 --> 00:04:32,520
This is a class for using file handling file.

77
00:04:32,610 --> 00:04:37,480
Dot write all text write or text.

78
00:04:37,530 --> 00:04:38,700
What does this method do.

79
00:04:38,700 --> 00:04:40,230
This method creates a new file.

80
00:04:40,880 --> 00:04:41,900
OK.

81
00:04:41,910 --> 00:04:50,790
This method creates a new file and write a specified string to the file you think is specified encoding

82
00:04:50,790 --> 00:04:57,390
and then it closes the file in the target file already exists then it will be overridden if the target

83
00:04:57,390 --> 00:04:59,880
file already exists then it will be overridden.

84
00:04:59,910 --> 00:05:07,950
So you have to mention the file name and you have to if the file already exists then you can this file

85
00:05:07,950 --> 00:05:09,430
will be that file will be audited.

86
00:05:09,450 --> 00:05:09,870
OK.

87
00:05:09,960 --> 00:05:12,810
So write or text right or lines look.

88
00:05:12,860 --> 00:05:13,840
Right.

89
00:05:13,950 --> 00:05:19,260
A new file create a new file by using a specified encoding with a with the collected data collection

90
00:05:19,260 --> 00:05:21,900
of the strings to the file and then closes the file.

91
00:05:21,930 --> 00:05:22,640
Right all right.

92
00:05:22,650 --> 00:05:25,130
If you have bytes if you have a bite at it.

93
00:05:25,400 --> 00:05:25,820
OK.

94
00:05:26,010 --> 00:05:32,930
So said creation times at loss X this time read all text read lines replace.

95
00:05:32,940 --> 00:05:40,740
You have many options in the file class so that you can use you look open read Open Text open move you

96
00:05:40,740 --> 00:05:45,900
can do whatever you wish to do with your file you can delete your file you can encrypt and decrypt your

97
00:05:45,900 --> 00:05:53,700
file and you can create or you can do anything copy append text if you wish to add existing text to

98
00:05:53,700 --> 00:05:54,750
your New You.

99
00:05:54,770 --> 00:05:56,970
It's very new text to your existing file.

100
00:05:57,090 --> 00:06:03,880
You can use all these functions so right now I am creating what I am creating right.

101
00:06:03,930 --> 00:06:11,130
All text I'm doing this one right all text it is asking me the part of my file where should I save my

102
00:06:11,130 --> 00:06:11,580
file.

103
00:06:11,970 --> 00:06:17,240
So I giving a part to my documents window so for documents window.

104
00:06:17,250 --> 00:06:26,750
Let me take apart from this string s all you can write apart equal to environment.

105
00:06:26,760 --> 00:06:31,580
We have another class environment that get special folder.

106
00:06:31,580 --> 00:06:36,750
Get folder part and open this bracket and it is asking me to give my special folder.

107
00:06:37,020 --> 00:06:41,340
So environment our special folder docked my documents.

108
00:06:42,340 --> 00:06:43,540
OK.

109
00:06:44,160 --> 00:06:51,480
So this is the way to go through your mind documents but every P.C. had a by default my documents folder

110
00:06:52,020 --> 00:06:58,110
so you can access that my documents folder by using the environment class and then using the get folder

111
00:06:58,110 --> 00:07:04,020
path method and it is accepting environment our special folder so that you can access my documents all

112
00:07:04,020 --> 00:07:07,850
your Downloads folder or your pictures folder or videos for the next day.

113
00:07:08,590 --> 00:07:09,220
Is that clear.

114
00:07:09,880 --> 00:07:10,190
OK.

115
00:07:10,380 --> 00:07:12,680
So this is all you can get your My Documents.

116
00:07:12,690 --> 00:07:15,320
But then you reach to your My Documents.

117
00:07:15,330 --> 00:07:22,390
But inside that part you are trying to save your file so you you will give the a name you will give

118
00:07:22,390 --> 00:07:23,200
a name to your file.

119
00:07:23,220 --> 00:07:23,560
Okay.

120
00:07:23,770 --> 00:07:30,910
So how can you take the name you can take the name from here from your text box.

121
00:07:30,990 --> 00:07:35,330
Okay Lexi I'm taking a text box here.

122
00:07:35,970 --> 00:07:43,890
Text box and here you are specifying that Please enter your file link.

123
00:07:44,020 --> 00:07:46,720
Okay let me make it a little bit down.

124
00:07:47,650 --> 00:08:02,940
Okay now copy this label and paste it here and save now file limb by limb by limb and this is file Lim

125
00:08:02,950 --> 00:08:03,430
text

126
00:08:06,270 --> 00:08:08,620
file name text.

127
00:08:08,840 --> 00:08:10,830
Okay now what.

128
00:08:10,830 --> 00:08:12,120
Come in your save button.

129
00:08:12,120 --> 00:08:23,790
If this bed is not empty and and file name text dark text is not equal to empty.

130
00:08:23,790 --> 00:08:25,290
I hope it is cleared now.

131
00:08:25,290 --> 00:08:32,560
So if both the file name and this the better text are not blank then this code will be executed.

132
00:08:32,610 --> 00:08:41,060
So when I wanted to save my file here in the path that I have taken of my documents inside this path

133
00:08:41,100 --> 00:08:44,180
document I am entering file.

134
00:08:44,190 --> 00:08:52,490
That is my file name text or text so why I have use this thing.

135
00:08:53,040 --> 00:09:01,660
I used this thing because I have used this thing because let me show you the path look.

136
00:09:02,460 --> 00:09:04,820
So you leave your documents.

137
00:09:04,880 --> 00:09:05,780
Okay.

138
00:09:05,940 --> 00:09:12,360
When you click here look and when you apply a backslash you'll get all the files so you are creating

139
00:09:12,360 --> 00:09:15,280
your file you are saving your file inside your documents.

140
00:09:15,300 --> 00:09:19,230
So this is your documents by then when I applied backslash buttons encoding.

141
00:09:19,350 --> 00:09:26,360
You have to apply a double backslash so that it can be understood by a C sharp combined.

142
00:09:26,370 --> 00:09:32,430
That is the single backslash whenever if you wish to apply a backslash you can not enter a single backslash

143
00:09:32,430 --> 00:09:39,690
you have to enter double backslash for part okay or you have to add editor symbol before you but otherwise

144
00:09:39,690 --> 00:09:40,800
it will not entertain you.

145
00:09:41,280 --> 00:09:43,280
Okay now the next thing is the content.

146
00:09:43,380 --> 00:09:46,610
Where is my content my content is in that text.

147
00:09:46,610 --> 00:09:47,280
Don't text.

148
00:09:47,310 --> 00:09:49,540
So I have given my content.

149
00:09:49,770 --> 00:09:54,860
After doing this write a message what it is returning it is returning nothing.

150
00:09:54,870 --> 00:09:56,330
So write a message.

151
00:09:56,580 --> 00:09:58,260
White sorry.

152
00:09:58,260 --> 00:10:00,830
Message box.

153
00:10:00,840 --> 00:10:05,160
Message box door to file created

154
00:10:08,050 --> 00:10:10,130
successfully.

155
00:10:10,230 --> 00:10:10,660
Okay.

156
00:10:11,710 --> 00:10:14,430
So Alexis started this program and checked what will happen.

157
00:10:19,600 --> 00:10:22,300
This is my application.

158
00:10:22,300 --> 00:10:24,820
Let me zoom it.

159
00:10:24,910 --> 00:10:27,380
I'm entering some text.

160
00:10:27,820 --> 00:10:30,100
Hi.

161
00:10:30,100 --> 00:10:36,170
Hope you are enjoying.

162
00:10:36,250 --> 00:10:36,610
OK.

163
00:10:37,840 --> 00:10:38,290
OK.

164
00:10:38,290 --> 00:10:39,400
Hope you are enjoying.

165
00:10:39,410 --> 00:10:43,720
I have skipped the space after this message.

166
00:10:43,780 --> 00:10:49,530
I have to give my file name and my filing will be welcome.

167
00:10:49,610 --> 00:10:51,100
Got the expertise.

168
00:10:51,520 --> 00:10:56,140
And when I press the save button is saying we file created successfully.

169
00:10:56,380 --> 00:10:58,770
And after creating this file let us stick.

170
00:10:58,810 --> 00:10:59,690
Is that is it.

171
00:10:59,700 --> 00:11:02,320
Is that file created or not.

172
00:11:02,320 --> 00:11:06,430
Yes I have created this file on my harddrive double click on it.

173
00:11:06,430 --> 00:11:07,890
Look.

174
00:11:08,160 --> 00:11:11,810
So this is how you can create a notepad like application in C sharp.

175
00:11:12,680 --> 00:11:15,180
OK moving forward.

176
00:11:15,580 --> 00:11:17,920
Let's check some more options.

177
00:11:17,920 --> 00:11:19,790
What if I wanted to.

178
00:11:19,870 --> 00:11:26,630
What will happen if I add a new texture new content.

179
00:11:26,980 --> 00:11:32,140
OK if I'm writing new content here and then saving the blessing to save.

180
00:11:32,140 --> 00:11:35,940
But then again then the file created successfully again.

181
00:11:35,950 --> 00:11:41,740
The method has been shown on the screen but this time this time what will happen.

182
00:11:41,890 --> 00:11:48,550
My this welcome file will be replaced with my new file the previous file has been replaced with my new

183
00:11:48,550 --> 00:11:55,360
file the text with the text will not be appended because I don't text method creates new file every

184
00:11:55,360 --> 00:12:00,400
time and replace the existing file so you can avoid this thing by using some different methods.

185
00:12:00,400 --> 00:12:00,990
How.

186
00:12:01,030 --> 00:12:09,600
Let us see now I am adding one more condition inside my C sharp code that if file not exists.

187
00:12:09,610 --> 00:12:14,700
This is my class and this is a method that exists file not exist.

188
00:12:14,890 --> 00:12:19,060
If my file exists this is a boolean method that means it will return true or false.

189
00:12:19,450 --> 00:12:23,130
Okay so file not exist will I should enter my path.

190
00:12:23,530 --> 00:12:31,500
So this bot should come before this if else so that I can get my bot and can idea bot concatenation

191
00:12:31,840 --> 00:12:37,060
and you have to enter the file name when you you have already.

192
00:12:37,300 --> 00:12:39,790
When you press the button the file name should also be there.

193
00:12:39,820 --> 00:12:45,890
OK so same file lame file name text not text.

194
00:12:46,150 --> 00:12:51,310
If this file exists OK in this but then what to do.

195
00:12:51,490 --> 00:12:59,950
You can show a message which message lacks a message box starts to file

196
00:13:02,620 --> 00:13:05,110
already exists.

197
00:13:05,620 --> 00:13:06,210
OK.

198
00:13:06,220 --> 00:13:07,810
File already exist.

199
00:13:07,930 --> 00:13:08,560
Else

200
00:13:11,130 --> 00:13:15,470
as do this in the file already exist.

201
00:13:15,480 --> 00:13:17,750
It will not carry it will not right.

202
00:13:17,760 --> 00:13:22,310
OK now a file already exists then what to do file.

203
00:13:23,010 --> 00:13:31,950
But you can ask the user at runtime that do you want to add or replace or do you do you want to open

204
00:13:31,980 --> 00:13:34,570
the new content into your existing file.

205
00:13:34,710 --> 00:13:35,970
Then what will you do.

206
00:13:36,000 --> 00:13:40,100
So let me take a new class that is.

207
00:13:40,380 --> 00:13:48,310
This is a property basically and it belongs to some class of dialog reserved dialog result.

208
00:13:48,410 --> 00:13:55,490
The what this class will do this class will get the response off your message box.

209
00:13:55,740 --> 00:13:58,960
You might have seen when your message box appears on the screen.

210
00:13:59,070 --> 00:14:02,970
The key button is coming by default in the message box.

211
00:14:03,030 --> 00:14:03,420
Okay.

212
00:14:03,720 --> 00:14:08,930
But I wanted to display yes and no inside my message box.

213
00:14:08,970 --> 00:14:10,980
Do you want to open your file or no.

214
00:14:11,010 --> 00:14:11,960
Yes or no.

215
00:14:11,970 --> 00:14:18,570
So I wanted to get that yes and no and place are stored inside a container and that is my container

216
00:14:18,570 --> 00:14:20,410
that is accepting my message box reserved.

217
00:14:21,530 --> 00:14:29,590
OK so how can I show yes no buttons message boards don't show has some more properties and that I mean

218
00:14:29,590 --> 00:14:30,550
just as well.

219
00:14:30,570 --> 00:14:36,780
The first thing I have to give you the message that means question file already exist.

220
00:14:36,810 --> 00:14:42,340
Then the heading of the message and then message box buttons dot.

221
00:14:42,420 --> 00:14:42,740
Yes.

222
00:14:42,750 --> 00:14:44,820
No look you have many buttons.

223
00:14:44,850 --> 00:14:47,370
Okay cancel retract cancel yes no cancel.

224
00:14:47,670 --> 00:14:48,810
So yes no.

225
00:14:48,900 --> 00:14:53,870
And then what it is leaving a message box I message box.

226
00:14:53,940 --> 00:15:00,450
I can talk to cushion if you wanted to apply I can only your message box so these all out of my icons

227
00:15:00,650 --> 00:15:04,950
so push in because I am asking a question and what is my question.

228
00:15:04,950 --> 00:15:06,350
File already exist.

229
00:15:06,540 --> 00:15:15,990
Do you want to add current data to this file.

230
00:15:17,130 --> 00:15:18,100
Okay and question mark.

231
00:15:18,990 --> 00:15:24,480
So when you press yes or when you press no the result will be stored in this data.

232
00:15:24,690 --> 00:15:32,480
OK now you can check if the R is equal to equal to dialog result.

233
00:15:32,490 --> 00:15:37,200
That's the property that yes if yes has been the.

234
00:15:37,520 --> 00:15:39,800
That is all that is stored in the art.

235
00:15:39,880 --> 00:15:52,030
Then what you can do you can do file for the file but append all lines append or text and append text.

236
00:15:53,000 --> 00:16:00,000
OK so I am taking this append all text and it is asking me the same thing append means to add to join

237
00:16:00,530 --> 00:16:07,920
to do to concatenate your existing or your new text with your existing text OK or your new string with

238
00:16:07,920 --> 00:16:13,230
your existing string so append or text what it is asking me without asking me the part.

239
00:16:13,500 --> 00:16:23,210
So part is my this one and the file name is file name text dot text.

240
00:16:23,370 --> 00:16:29,680
This is my complete path off my file and the contents will be better.

241
00:16:29,790 --> 00:16:31,870
Text don't text.

242
00:16:32,180 --> 00:16:39,340
OK so what would have been let's have a look again if my book text books are not empty.

243
00:16:39,480 --> 00:16:44,910
Then it will come in and then I'll get the part of my documents folder from this particular line of

244
00:16:44,910 --> 00:16:48,150
code and then I have checked that is the file exists.

245
00:16:48,210 --> 00:16:54,030
If the file exists then this message box will be appeared on the screen and it ask you whether to continue

246
00:16:54,060 --> 00:16:56,040
appending the text or not.

247
00:16:56,370 --> 00:17:02,820
When you press yes then this is really validated and you'll append your text inside your existing text

248
00:17:02,820 --> 00:17:03,690
in the file.

249
00:17:03,690 --> 00:17:05,420
But what if if you press no.

250
00:17:05,490 --> 00:17:08,580
If you press no then something should happen.

251
00:17:08,580 --> 00:17:09,820
Nothing should happen.

252
00:17:09,860 --> 00:17:10,380
OK.

253
00:17:10,390 --> 00:17:14,050
Actually nothing should happen then let's stick it.

254
00:17:14,130 --> 00:17:16,110
What will happen.

255
00:17:16,110 --> 00:17:19,920
Start let me write something.

256
00:17:19,920 --> 00:17:24,450
Today is redness day OK.

257
00:17:24,450 --> 00:17:29,680
Today is Wednesday and the filing is what was my filing there.

258
00:17:29,730 --> 00:17:31,110
Welcome back to the 60s.

259
00:17:31,140 --> 00:17:31,920
So can I right here.

260
00:17:31,920 --> 00:17:32,280
Welcome.

261
00:17:32,280 --> 00:17:33,420
Good to see you again.

262
00:17:33,450 --> 00:17:41,460
Welcome dot the 60s and then save it is seeing me that file is created successfully right.

263
00:17:41,820 --> 00:17:44,690
Let me check.

264
00:17:45,210 --> 00:17:50,340
Let me forget why it is not running.

265
00:17:50,660 --> 00:17:56,280
Put a brake point here inside your code and then save it again and come inside.

266
00:17:56,280 --> 00:17:58,040
Yes we have text in this.

267
00:17:58,050 --> 00:18:04,420
We have text in this welcome text that I've got the part I've got the whole documents but then find

268
00:18:04,420 --> 00:18:08,860
it exists but plus file welcome Dirty Sexy.

269
00:18:09,050 --> 00:18:10,380
I have done a mistake.

270
00:18:10,400 --> 00:18:11,170
That's the mistake.

271
00:18:11,180 --> 00:18:14,300
The mistake is this one.

272
00:18:14,620 --> 00:18:15,790
That's the mistake.

273
00:18:15,890 --> 00:18:19,860
I haven't applied the backlash for accepting my fight.

274
00:18:19,880 --> 00:18:23,520
Now if I take this look file exists.

275
00:18:24,680 --> 00:18:25,490
Okay.

276
00:18:25,550 --> 00:18:29,120
When I come next I am pressing F eleven key to move forward.

277
00:18:29,150 --> 00:18:33,250
Now it is doing me that I logbooks look file already exists.

278
00:18:33,320 --> 00:18:36,770
Do you want to append current data to this file.

279
00:18:36,770 --> 00:18:37,250
Yes.

280
00:18:38,120 --> 00:18:38,940
Okay.

281
00:18:39,020 --> 00:18:41,150
If I press yes then I'm coming.

282
00:18:41,300 --> 00:18:46,160
And then the text will be appended to my new file.

283
00:18:47,000 --> 00:18:51,170
Let's check go through your documents.

284
00:18:51,170 --> 00:18:52,590
Double click on it.

285
00:18:52,660 --> 00:18:57,680
Days because in the previous example I have created again the new file.

286
00:18:57,680 --> 00:19:05,570
So let me add once more save and step out step out.

287
00:19:05,570 --> 00:19:08,870
Yes I wanted to append and see what will happen.

288
00:19:12,160 --> 00:19:15,710
Still it is not appending it is not appending y.

289
00:19:15,940 --> 00:19:16,620
Let me check.

290
00:19:17,470 --> 00:19:23,340
Okay so the problem is here also we have to say double backslash.

291
00:19:23,900 --> 00:19:24,800
OK.

292
00:19:24,820 --> 00:19:30,570
After that after my documents but look double back let's keep it updating after each directory see.

293
00:19:30,610 --> 00:19:34,140
Then double backslash users and double backslash and then only then documents.

294
00:19:34,180 --> 00:19:37,570
So after documents I have skipped this double backslash for my file.

295
00:19:37,570 --> 00:19:43,360
So I have applied this double backslash here and now I'll check what will happen append IFRS def 11

296
00:19:43,360 --> 00:19:45,310
key so to move forward.

297
00:19:45,370 --> 00:19:46,660
Now what will happen next.

298
00:19:50,400 --> 00:19:59,570
Close this file and come here Open this file look the new data has been up and it will file.

299
00:19:59,580 --> 00:20:06,010
You can apply a line break speech breaks and you can do everything whatever you can do in your notepad.

300
00:20:06,030 --> 00:20:08,670
So this is all you can use the rich textbooks.

301
00:20:08,730 --> 00:20:11,160
This is the example of your rich textbooks.

302
00:20:11,160 --> 00:20:15,720
So I am not going to cover all the expense of a notepad right now.

303
00:20:15,760 --> 00:20:21,850
OK so now let's go to our next topic that is are toolbar tooltip.

304
00:20:21,890 --> 00:20:25,470
How can I apply tooltip inside this this text box.

305
00:20:25,470 --> 00:20:27,520
Let us select tooltip.

306
00:20:27,520 --> 00:20:28,560
Where is my tooltip.

307
00:20:28,560 --> 00:20:34,940
Here is my tooltip drag and drop it here tooltip has no physical appearance on your screen.

308
00:20:34,980 --> 00:20:35,530
OK.

309
00:20:35,550 --> 00:20:39,810
In fact it shows in the bottom of your visual studio.

310
00:20:40,140 --> 00:20:47,940
So when you select you or you apply a tooltip inside your application its properties are these OK so

311
00:20:47,940 --> 00:20:54,960
tooltip will appear or it will stay for almost half seconds and popup delay order probably is almost

312
00:20:54,960 --> 00:21:00,810
five seconds and then these are the properties the four color the back color the initial delay is balloon

313
00:21:00,810 --> 00:21:02,820
tooltip visual delay.

314
00:21:03,000 --> 00:21:08,490
So these are the timings that you can configure with your tooltip by default I am not changing anything

315
00:21:08,770 --> 00:21:09,490
on this show.

316
00:21:09,490 --> 00:21:16,180
The tooltip will appear anytime if you will if you select this particular property to do then you're

317
00:21:16,200 --> 00:21:18,050
to issuing any every name.

318
00:21:18,270 --> 00:21:18,870
Okay.

319
00:21:19,110 --> 00:21:25,910
And then tooltip I can tooltip title to use animation use fading.

320
00:21:25,920 --> 00:21:28,360
So all these are properties of your tooltip.

321
00:21:28,380 --> 00:21:29,190
Let me show you.

322
00:21:29,190 --> 00:21:32,040
I can hear in full.

323
00:21:32,060 --> 00:21:32,900
Let's see.

324
00:21:32,970 --> 00:21:37,540
Message data is in full and the icon is let's say in full.

325
00:21:37,560 --> 00:21:39,300
And that's it.

326
00:21:39,300 --> 00:21:41,890
Right now we leave it to these two properties.

327
00:21:41,890 --> 00:21:51,260
And now when you come here on your filing that Paul give should appear so select your file name text

328
00:21:51,260 --> 00:22:02,690
box come bottom and look for tooltip look you'll see this particular tooltip on every control.

329
00:22:03,330 --> 00:22:11,460
Once you have applied a tooltip inside your application so select your tooltip tooltip on tooltip one

330
00:22:12,750 --> 00:22:16,260
determine the tooltip shown whether when the mouse who was under control.

331
00:22:16,290 --> 00:22:22,010
OK so presenter to begin a new line give you a message.

332
00:22:22,020 --> 00:22:25,780
What what do you wanted to display please.

333
00:22:25,980 --> 00:22:26,320
And

334
00:22:28,950 --> 00:22:34,800
file name with extension.

335
00:22:35,210 --> 00:22:41,520
OK so that no one can get a mistake without file extension.

336
00:22:41,580 --> 00:22:42,000
OK.

337
00:22:42,120 --> 00:22:44,940
So let's check this whether the tooltip appears or not.

338
00:22:46,020 --> 00:22:50,190
So when our focus is here look this is my tooltip.

339
00:22:50,190 --> 00:22:51,970
If I if I zoom in.

340
00:22:51,990 --> 00:22:56,190
This is my tooltip and I've come out are going to come in again.

341
00:22:56,190 --> 00:22:57,170
Look.

342
00:22:57,510 --> 00:23:03,750
So you can increase the appearance of your tooltip with respect to seconds and degrees as well.

343
00:23:03,750 --> 00:23:08,370
Let me show select your tooltip again.

344
00:23:08,370 --> 00:23:10,140
Look all they show.

345
00:23:10,200 --> 00:23:12,490
Where was that all this show.

346
00:23:12,570 --> 00:23:14,210
This one double click.

347
00:23:14,370 --> 00:23:17,400
Stuck on racial

348
00:23:22,200 --> 00:23:33,510
so it will any time you come here on your textbooks look it is showing again and again in a more faster

349
00:23:33,510 --> 00:23:43,680
manner you can increase delay you can make it's delayed to zero let's say there is no delay next week

350
00:23:44,740 --> 00:23:48,210
then you come up it is coming

351
00:23:51,130 --> 00:24:00,700
look and if you remove this delay to two thousand or two possibly to two thousand two thousand means

352
00:24:00,700 --> 00:24:06,010
two seconds you have to enter time in milliseconds and your windows C sharp.

353
00:24:06,610 --> 00:24:07,420
So let's stick

354
00:24:10,360 --> 00:24:13,120
OK so that's all for today.

355
00:24:13,150 --> 00:24:15,510
Hope you have understood how can you apply to.

356
00:24:15,820 --> 00:24:18,220
And how can you use this textbooks.

357
00:24:18,220 --> 00:24:20,940
One more thing I can show you.

358
00:24:20,950 --> 00:24:24,030
Let us select this rich textbooks.

359
00:24:24,130 --> 00:24:25,270
Then you go downwards.

360
00:24:25,270 --> 00:24:27,730
Look you have to live here as well.

361
00:24:27,730 --> 00:24:29,550
You have only select one tooltip.

362
00:24:29,560 --> 00:24:38,090
But let me add some text into Zurich textbooks and your paragraph lets you enter your paragraph.

363
00:24:39,150 --> 00:24:40,640
OK.

364
00:24:41,170 --> 00:24:42,580
Save stuck

365
00:24:45,770 --> 00:24:52,700
look and come when you come into it all displaying the different tooltip.

366
00:24:52,700 --> 00:24:57,400
So you have selected only one tooltip or on your application.

367
00:24:57,500 --> 00:25:01,880
But this to live works differently on different controls based on the different message you have provided.

368
00:25:02,990 --> 00:25:12,150
OK so this is all you can guide your user or your application customer whatever you have you can do

369
00:25:12,150 --> 00:25:17,000
them and guide him with respect to an application what to do with this control or how to do with this

370
00:25:17,000 --> 00:25:17,400
control.

371
00:25:17,720 --> 00:25:18,140
OK.

372
00:25:18,260 --> 00:25:19,880
So hope you have understood everything.

373
00:25:19,880 --> 00:25:20,590
Thank you so much.

374
00:25:20,680 --> 00:25:21,020
Text.

