|
Hello Friends,
I am developing a MDI application.
In my application i dont want the control box of all the child forms and
also i want that all the forms should be opened maximize in parent.
i have set the property controlbox=false, maximizebox=false,minimizebox=false,
form borderstyle=fixedsingle .
but when i run the application control box automatically appears.
i really stuck into this,
please help me!
any kind of help is appreciable
thanks in advance
Irfan kothari
|
|
|
|
|
Hi
For opening child forms as maximaized in mdi parent window set WindowState = FormWindowState.Maximized; in resize event.
void ChildForm_Resize(object sender, EventArgs e)
{ this.WindowState = FormWindowState.Maximized;}
Me also set the control box to false in child form. But it still appears. I am looking it now...
~KD
If u can Dream... U can do it
|
|
|
|
|
Hi Irfan Kothari
Just got an another !dea.
Consider you have a mdi parent window. you can create your child window by deriving it from a Control class. Then it don't have control boxes. . For making it maximaize put the dock style to DockStyle.Fill.
This time u will get a child window with no control box , and also it is maximaized.
Hopes this helps
~KD
If u can Dream... U can do it
|
|
|
|
|
Hi,
Rather than setting the WindowState property of the child window to Maximized, try setting the dock property of the child form to DockStyle.fill jsut before calling the child form.
I hope this would help..
Cheers!!!!
|
|
|
|
|
But this time if you double click on the child window title bar , you can see control box(maximaize,mini,close) enabled.
If u can Dream... U can do it
|
|
|
|
|
hi friends ,
i am having class which contains 5 functions in a web application. what i need is , i want to get the status of each functions while debugging (say : function1 is successfully completed, function2 is started debugging ). is it possible if i use a debugger window. can anyone know about any debugger components availabe for the same. im using visual 2005 with ajax.
thanks in advance
|
|
|
|
|
put Break point in functions.
If u can Dream... U can do it
|
|
|
|
|
man, dont be oversmart....!!!!
|
|
|
|
|
Does anyone have any good examples of toast notifications written in c#?
kwickster
|
|
|
|
|
void Main()
{
Console.WriteLine("Your toast is burnt!");
}
only two letters away from being an asset
|
|
|
|
|
Mark Nischalke wrote: void Main()
{
Console.WriteLine("Your toast is burnt!");
}
________________________________
Success is not something to wait for, its something to work for.
|
|
|
|
|
Or in OOP:
class Bread
{
...
}
class Toast:Bread
{
...
}
void Main()
{
Bread toast = Factory("Toast");
}
private Bread Factory(string sType)
{
if( sType.ToUpper() == "TOAST" )
return new Toast();
else
return new Bread();
}
|
|
|
|
|
|
Does anyone have any good examples of toast notifications written in c#?
kwickster
|
|
|
|
|
Hi,
Iam currently using Infragistics grid for a Windows Form based project.
On a Cell Update event, i want to set the focus back on the cell that was updated after making some changes to the updated cell based on some condition.
Iam able to change the value but unable to set the focus.
Can anyone share their inputs ?
|
|
|
|
|
You first option would be to seek assistance from the vendor since your question pertains to usage of their controls, not C#.
only two letters away from being an asset
|
|
|
|
|
Hi, I'm working in windows form, and i have set a container which the windows inside can move around. I would like to move only in the area that i have desing, the scrolls do not appear, The problem is that even if i diseable the scroll property in the container, still can moving and the scroll appears. how can i desable the scrolls so my windows inside the container only move in my design area??
La Light
|
|
|
|
|
i tried your question with split container in a form. i set the AllowScroll property of containter to false. Then moved a button inside in the container. For me there is no scrolls..
Am i misunderstood your problem ?
If u can Dream... U can do it
|
|
|
|
|
Hi, I Think no, But, actually i cant see that property, the only properties that i can see with scrolls are:
Autoscrolls = false
autoscrollsmargin = 0,0
autoscrollsminsize = 0,0
so i dont see, that or any other that allow me to desable the scrolls, My cointainer is with other windows inside... so the windows are the one movin...
Thank you... for everthing, Do you have another suggestion...
La Light
|
|
|
|
|
i have a strange problem.i would be glad if any one can help me here.
the problem is like I am using two webforms,on the first one a textbox with browse bution is used to select a file and when i click ok, the sencond weform with another similar browse button and textbox is present. when i clik ok the file that i selected in the first form should be copied here. i hope you understand me.
But the problem is
i am not able to select a folder in the second webform for coping the file that is selected in the first form.
How to solve this problem?
thanks
tirumal
|
|
|
|
|
is there any property or method to populate the windows directory into the ListView using c#
thanks
|
|
|
|
|
this is where i really like that "my" thingy in vb.net
accessing folders and special directories is so easy with the my.computer.filesystem
but "yay" u can use the my namespace in c# by adding a refrence to your C# project for Microsoft.VisualBasic and this code :
<br />
using Microsoft.VisualBasic.Devices;<br />
and then use it like this:
<br />
foreach(string file in Microsoft.VisualBasic.FileIO.FileSystem.GetFiles("C:/myfolder")<br />
{<br />
}<br />
of cource this is not at all the best way to do it, just i'm vb.net user mostly
|
|
|
|
|
hi to all,
i have a c# application on a server and i want to call it from a php page and i have to pass to it a parameter, how can i do it?
thanks a lot
Teo
|
|
|
|
|
Running an application on the server from a webpage would be a major security breach. You should find another way.
only two letters away from being an asset
|
|
|
|
|
i don't think that's a problem, it's a very simple console application that's do few operation.
Do u know how to pass and how to return parameters?
thanks
Teo
|
|
|
|