-
We should remember that GC is called by CLR, so developer
has no control when GC is called. So, we shouldn’t rely on the code placed
inside destructors or finalizers. If we need to reclaim recourses urgently, we
can use dispose () method which can be called explicitly.
-
Form is the basic unit of user interface. We can add form in
the application at design time or run time. We can create one general parent
form and can inherit forms from parent form using visual inheritance. While
using visual inheritance, we ensures uniform look to all the forms of the
application.
-
Forms have various properties that control their appearance,
namely text, font, cursor, background Image, Opacity, backcolor and forecolor.
-
Forms have various intrinsic methods like Form.show,
form.showdialog, form.activate, form.hide and form.close.
-
Form’s intrinsic methods cause changes in the visual
interface and various events get raised like load, activated/deactivate,
visiblechanged, closing, closed.
Automatic memory management involves two major steps: Allocation of memory -
When a new process is initialized, runtime reserves address space in memory for
the process. This address space inside the memory is known as heap. At the very
initial stage, the pointer is at the base address of managed heap.............
To deploy the XML Web service, once can add a Web Setup project using project
templates or use xcopy to copy the files from the source to the destination
server..............
a. Create a windows form called the basewindow
b. Add a menu bar on this form
c. Right click on the solution explorer and select add new item................
Finally statement is executed always irrespective of any condition or error
occurring in a method. It is often used to cleanup code................
|