I would like to create a sidebar type application that sits on the right side of the client area. This application will always be executing, and I want it to always be visible.
Is there any way of controlling _other_ windows so that the won't maximise or be resized over/under that application? Optimally I would like another window to maximize to the full screen _except_ for the right X pixels where my sidebar application is residing.
Always on top will fix the "always visible" parameter, but using this other windows will be hidden behind it..
Preferrably I would like to set a registry value or such setting max size, but the next best case is to do this programmatically in my app.
I have an issue that hopefully has a quick answer (dont we always...)
I have some code that uses this as an identifying tag:
So i would mark something as [::Text_In_Here::], and I would identify that there was a tag with this expression: \[:: (.|\n)+?::\]
this works fantastically. But, in some cases, i need to be able to identify the tag, and replace the outer portion with another tag. SO what I need is to able to find [::Text_In_Here::] and turn it into <input type='hidden' value= 'Text_In_Here'/>
any ideas? i am using Regex.Replace in other areas, but it doesnt appear to have an overload that will do what I need.
______________________ Mr Griffin, eleventy billion is not a number...
row adding (after adding + saving, reloading the form) is OK to 1 of my table but delete is not... Here's what I've done:
since DeleteCommand didn't exist to that table I defined a simple one (at dataset designer mode to the tableadapter):
DELETE FROM Felhaszn_Egyeb
WHERE (TetelArId = @TetelArId) AND (EgyebId = @EgyebId) AND (Mennyiseg = @Mennyiseg)
similarly UpdateCommand is defined as follows:
SET TetelArId = @TetelArId, EgyebId = @EgyebId, Mennyiseg = @Mennyiseg
WHERE (TetelArId = @Original_TetelArId) AND (EgyebId = @Original_EgyebId)
upon the user clicks the delete button, the bindingsource.removecurrent() & bindinsource.endedit()
& [dataset].acceptchanges() are invoked row is deleted from the datagridview
upon user clicks save the well known invoked (thistableadapter.update(thisdataset.thisdatatable)
upon reloading the form it still fills the table with 1 row, which shouldn't be there
thx for your thread...g
I like the way menus can be slid in and out of view in Visual Studio (such as solution explorer and the properties window) and would like to use something similar for a project I am working on.
I assume this is a control you can drag onto a form in visual studio that when the mouse moves over shows panels in a specific position. Does any one know which control I should use?
Also If i want to make the menus slightly transparent is it a case of inheriting from say a panel then overriding its draw command using GDI? I may be way off the mark with this one as I have not done this before (only made my own items using GDI)
I am new to C#the problem is this that i m making an employee database for a firm the informATION will be filled in three forms serial vise for example
1 Employee personal
2 Service history
when i fill the first form then when i click next i want to fill the second service history form in the same window so how it could be possible i dont want a separate window to be opened as many softwares do the same procedure by pressing next and going on filling the information in same window in different criterias
Please give me an idea how to change the layout of an excel file through c# coding.If i am opening the printer dialogue box the then change the layout, the printing layout is working fine but it doesnt the layout of the excel
Thanks in advance.