What is Shadowing?
In C# what does the term shadowing mean? I have read this link but didn't fully understand it. ...
In C# what does the term shadowing mean? I have read this link but didn't fully understand it. ...
I'm looking for the simplest CMS that supports the ability to show different content depending on whether you are or are not logged in. Simplest because the school users are not the most sophisticated or tech-savvy users. The CMS is for a school site, which is not permitted to show some content (because of copyright etc.) to any users ...
Hello, i'm trying to hide window after its startup. I have own window-class wich is inherited from QMainWindow. I rewrited showEvent like this: void showEvent (QShowEvent *evt) { if (firstShow) { hide(); firstShow = false; } else { QMainWindow::showEvent(evt); } } But it doesn't work. firstShow is a ...
I'm trying to fix a design flaw that I recently ran across in some of our software without re-writing the entire thing. There is a .exe which has a message listener thread that is receiving data from some server, and then writing it to a class in a seperate DLL (we'll call it StaticDataClass) that is storing all of the data it receives ...
hi, in the following master.cs code..... public partial class Default : System.Web.UI.MasterPage { protected void Page_Load(object sender, EventArgs e) { BasePage page = (BasePage)Page; if (page.CurrentUser != null) { lblCurrentUser.Text = "<strong>" + page.CurrentUser.FullName + "</strong> ...
Hi, I have a custom user control. Normally it inherites the UserControl class. But by this way it inherites all the public methods and properties of UserControl. But I want to hide all these and implement my own few methods and properties. Say that I have a custom control named CustomControl. public class CustomControl : UserControl ...
Is there a way of hiding a tooltip for a asp.net checkbox ...
Hi, I have a .NET webservice, and derived versions of it. My question is, in the derived versions, I have a method I want to hide(from WSDL and front page). I have tried overriding, marking it as obsolete, setting it as private and overriding, but still, the webservice attribute is still "having its way". Is there any way to remove a ...
Hi, I have made a very quick jquery slideshow, and i'm using this to hide the DIV's which shouldn't be shown until it's their turn obviously: $(document).ready(function() { //Hide All Div's Apart From First $('div#gall2').hide(); $('div#gall3').hide(); $('div#gall4').hide(); But on loading the page you can see DIV's gal...
I have problem hiding certain popup wich are based on divs. when i click out side those divs they dont hid. Here is the sample code what i m doing.. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title...
Hi, in the below example, what would happen? class Base { public int abc = 3; } Class Derived : Base { public int abc = 2; } static void Main() { Derived blah = new Derived(); Console.WriteLine(blah.abc); } I'm sure you would see '2' on your console, but what I'm reading (and seeing) opposes that... Why would you see...
Hi all, i looking for your help please i use simple php code like: $file = $_SERVER["SCRIPT_NAME"]; //echo $file; $break = Explode('/', $file); $pfile = $break[count($break) - 1]; echo $pfile; than output $pfile e.g. fileforme.php but that i want is output of $pfile become fileforme because i want use it to: $txt['fl']= $pfile ; ...
In C++, will a member function of a base class be overridden by its derived class function of the same name, even if its prototype (parameters' count, type and constness) is different? I guess this a silly question, since many websites says that the function prototype should be the same for that to happen; but why doesn't the below code...
I would like to know how to programmatically hide a file but making the file or folder still hidden with Show hidden files and folders enabled from the Tools->Folder options of Explorer. I hope I am not confusing anyone and if I might be please just ask. ...
Is there a shortcut for this code? -(IBAction)reset{ button1.hidden=NO; button2.hidden=NO; button3.hidden=NO; button4.hidden=NO; button5.hidden=NO; button6.hidden=NO; button7.hidden=NO; button8.hidden=NO; button9.hidden=NO; button10.hidden=NO; button11.hidden=NO; button12.hidden=NO; bu...
Hi, Why do two different instances of the same class are using their variables as if they where static variables? I do not want to synthesize those variables. But without synthesizing- both instances refer to their variables as if they where the same one. Any way to go around it? Why is that so? Thanks- Nir. ...
I have this drop-down menu made with jQuery (EDITED with first answer and still not working :( ) var currentDrop = null; var dropTimer; $(document).ready(function() { $("ul#menu > li").mouseenter(function(){ if(currentDrop) hideDrops(); currentDrop = $(this).children("ul"); currentDrop.show(); }).mouseleave(functio...
I am looking for a MDI manager solution that allows documents to be grouped and show/hidden programmaticly. Example, 3 document types, red, yellow and green. When you click a button the MDI manager shows only the red documents by hiding the other 2 types tabs. None of the MDI managers (Actipro, Infragistics, etx) I have looked at can ...
I'm learning C# and I encountered the following problem. I have two classes: base and derived: class MyBase { public void MyMethod() { Console.WriteLine("MyBase::MyMethod()"); } } class MyDerived: MyBase { public void MyMethod() { Console.WriteLine("MyDerived::MyMethod()"); } } For now, withou...
Hi, i have an abstract class BaseClass with a public insert() method: public abstract class BaseClass { public void insert(Object object) { // Do something } } which is extended by many other classes. For some of those classes, however, the insert() method must have additional parameters, so that they instead of overriding it I...