|
|
Hi Maciej Los,
Thank u so much.
|
|
|
|
|
You're very welcome
|
|
|
|
|
|
What kind of answer will you get when the question is "My Web browser is slow to watch a movie.., Please help me out".
To get answer, be specific with your question.
What kind of form exe it is?
What it does?
Why or how you say it is slow?
etc
|
|
|
|
|
hello sivaraman,
i made the windows forms application in c#. and crate the setup file and run the setup, then files related to application are goes down to c:\program files.... by default and create the desktop icon.
but when run the application it take more time to open forms.
but when setup run and change his destination other than C:\Program files to other drive it works fine.
then please help me about this problem.
thanks.
|
|
|
|
|
Make sure C:\Drive has More than 1 GB disc Space. Sometimes this will slow down the performance.
|
|
|
|
|
|
With the complete lack of information you've given so far, it's IMPOSSSIBLE to answer your question.
Without seeing your code and a description of how the app works and how it's designed, there's really nothing anyone can say that will be helpful.
|
|
|
|
|
We cannot create instance of an abstract class as abstract keyword is an indication to compiler not to consider the abstract class as a type.
If any it is just for initialization of properties/variables of abstract class then that can be achieved by private or protected constructor.
If you declare a public constructor in an abstract class then compiler will not give any errors.
|
|
|
|
|
First off, you can't use a private constructor in an abstract class, as you cannot create a derived class from it: the derived class cannot access the private constructor so you get a "is inaccessible due to its protection level" error from the compiler.
And that's kind of the clue as to why you can declare a public constructor: so that derived examples can be used in any assembly or class. Yes, you could use protected instead, and that would work - but it's not so obvious that it's allowed when you quickly read it!
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952)
Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
|
|
|
|
|
Varun Thakur wrote: abstract keyword is an indication to compiler not to consider the abstract class as a type. Incorrect; an abstract class is also a type.
Varun Thakur wrote: If any it is just for initialization of properties/variables of abstract class then that can be achieved by private or protected constructor. Only members need be initialized, and one doesn't need a constructor for that either.
Varun Thakur wrote: If you declare a public constructor in an abstract class then compiler will not give any errors. Sound correct. Same does not apply to private methods btw.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
I have a form in which i an using tab control.
There are three tabs and in each tab there are textboxes.
What i want to achieve is that when i switch from tab 1 to tab 2. All the textboxes of tab 1 should be cleared.
Is it possible???
I am using Visual studio 2013, .NET 4.5, C#
|
|
|
|
|
Check the active index of tab on tab click and set the text box blank.
|
|
|
|
|
Thnx... I did consider your suggestion and used tab Deselecting event....
Thnx again...
|
|
|
|
|
Why the following code gives me this:
1000000000000000019884624838656
instead of
1000000000000000000000000000000
BigInteger result = new BigInteger(Math.Pow(1000, 10));
|
|
|
|
|
|
|
excuse me are you from iran
|
|
|
|
|
|
I am trying to use Lognormal distribution in one of my projects and require the inverse Cumulative distribution function.
Any help would really be appreciated
|
|
|
|
|
|
Thank you Richard, I was not looking for a code. using lognormal means that I need to use the inverse of an ERF or ERFC. I know that both are implemented in c#, and was merely looking for some help in directing my search.
|
|
|
|
|
|
This form search in one table (Name,Address,Age)
Name| operate | value
Address| operate | value
Age | operate | value
Ex:
Name | = | JON
Address| like | New
Age | between | 18 50
Please help me the best solution for this problem
|
|
|
|