|
by: C-Sharper or C-Hasher, one of the two |
last post by:
Hi Guys and Gals,
I have a small, two form, application. Form1 is the main window and Form2 is
a small window that has a label and a progress bar on it. I wish to display
form2 whilst doing some processing in Form1 and update Form2 as the
processing is being completed. I have the update functionality working
properly, what I can't seem to get working is the functionality of being
able to position Form2 in the centre of Form1. I have set...
|
by: DotNetMania |
last post by:
How do you specify the startPosition of common dialog boxes in C#?
such as OpenFileDialog
there is not Position or Location method....
best regards...
charles
|
by: cider123 |
last post by:
Everything I've read so far states you can't inherit or extend these
dialogs because they're "sealed".
I considered building my own custom control, but I haven't been able to
find:
1) How to add a "Places Bar" to a form
2) How to hook a Combo Box into System locations like the existing
OpenFileDialog / SaveFileDialog offer (ie. "My Recent Documents",
"Desktop", etc.)
|
by: Richard Loupatty |
last post by:
Does anyone know how to control windows mediaplayer?
I would like to give the user the possibility to skip in the player by
setting a new startposition.
tia
Richard
|
by: Stephen Costanzo |
last post by:
I have a blank form and my Sub New is as follows:
Public Sub New()
MyBase.New()
'This call is required by the Windows Form Designer.
InitializeComponent()
|
|
by: sklett |
last post by:
I thought this would be easy. I want to position a login form based on
whether or not it has a parent form, so I tried this:
<code>
if (ParentForm == null)
{
StartPosition = FormStartPosition.CenterScreen;
}
else
{
|
by: smellican |
last post by:
Is there an easy way to set the starting position of a common dialog
such as savefiledialog, printdialog, fontdialog, etc.?
There doesn't seem to be a StartPosition property for common dialogs.
|
by: Phillip Ross Taylor |
last post by:
I have configured a few of the windows I am working on to have the
form value "Start Position" to be "CenterParent" but some of them
don't.
Does Center Parent only work when the dialog is modal? I'm not writing
an MDI application so I other posts I've read just don't seem very
relevent.
Do I have to explicitly set the parent??? What if I don't know it is?
|
by: Eric B. |
last post by:
I posted about this before but it is still bugging me.
I am creating an instance of form2 from my form1, and although I have the
StartPosition set to CenterParent for the form2 it is not appearing there.
private void preferencesToolStripMenuItem_Click(object sender,
EventArgs e)
{
Form_Preferences Preferences = new Form_Preferences();
this.AddOwnedForm(Preferences);
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|