User is continuously entering some in GUI and it is doing some background processing and updating in GUI. How to do it without flickering the GUI using MFC?Thanks,Raja Gregory
Latest Answer: this.SetStyle(ControlStyles.DoubleBuffer, true); this.SetStyle(ControlStyles.UserPaint, true); ...
Explain how many classes can an interface inherit?
Latest Answer: Interface cannot inherit classes.Interfaces are used to define the methods and properties and the implementation is provided in the class that inherites interface ...
What kind of design patterns can be used for C# development projects?
Latest Answer: A design pattern can solve many problems by providing a framework for building an application. Existing design patterns make good templates for your objects, allowing you to build software faster. There are several popular design patterns used ...
What is the advantage of using delegates and Generics in c# .
Latest Answer: Advantage of Generic:-1. Generics provide type safety without the overhead of multiple implementations.Ex. We can create a linked list of string. LinkedListlinkList=new LinkedList();There is no need to inherit ...
Explain the Generations Algorithm used in the context of Garbage Collector
Latest Answer: * The (original) copying collector (Enabled by default). When this collector kicks in, all application threads are stopped, and the copying collection proceeds using one thread (which means only one CPU even if on a multi-CPU machine). This is known ...
Explain about 'this' and where and when it should be used?
Latest Answer: The 'this' keyword in C# is used to reference the current class instance.It can be optionally used as a qualifier in referencing the fields, properties or methods of the current instance of the class. ...
What is a delegate in C# and when are they commonly used in Windows Forms programming?
Latest Answer: Delegeates are reference to methods Delegates are most commonly used in event handling. ...
Write a very simple multi threaded program in C#. 1. The program should create two threads that each add data to the same list at the same time. Then after they are both done, print out the entire list.
Latest Answer: See code below. In practice, the Thread.Sleep() is required - otherwise each thread will complete its work in a single time-slice before the other gets a chance to start. An improvement would be to create a "work item" class for the that would ...
The following code illustrates a situation where a boss wants to keep track of the work progress of its subordinates: using System;namespace BigCompany { public class Boss { public void WorkerPercentageDone(int
Latest Answer: using System;namespace BigCompany{ public class Boss : System.EventArgs { public delegate void WorkerUpdateDelegate(int progress); ...
. Below is a set of birds and movements they can perform. Birds:Penguin:• hopping: moves 2 ft• flying: can't flyHawk:• hopping: can't hop• flying: moves 100 ft; won't
Latest Answer: using System;using System.Collections.Generic;namespace PCD{ public class World { public static int temperature = 0; // celcius public ...
View page << Previous 1 [2] 3 4 5 6 7 8 9 10 Next >>

Go Top