About StatusBar in C#
------ form load statusbarpanel statuspanel = new statusbarpanel(); statusbarpanel recordcount = new statusbarpanel();
statusbar mainstatusbar = new statusbar(); int countvalue = 0; recordcount.borderstyle = statusbarpanelborderstyle.raised; recordcount.width = 100; countvalue = program.getnumericvalue("select count(*) knt <table name>"); recordcount.text = "total record : " + countvalue.tostring(); recordcount.tooltiptext = "total record"; recordcount.autosize = statusbarpanelautosize.spring; mainstatusbar.panels.add(recordcount); mainstatusbar.showpanels = true; this.controls.add(mainstatusbar); ------ insert block countvalue = program.getnumericvalue("select count(*) knt <table name>");
recordcount.text = "total record : " + countvalue.tostring(); <n.b : program.getnumericvalue : counting records connected
database, nothing else>
hi prasantabangla,
would mind clarify issue more please? thanks.
bob shen
msdn community support | feedback us
develop , promote apps in windows store
please remember mark replies answers if , unmark them if provide no help.
Visual Studio Languages , .NET Framework > Visual C#
Comments
Post a Comment