Asenna Steam
kirjaudu sisään
|
kieli
简体中文 (yksinkertaistettu kiina)
繁體中文 (perinteinen kiina)
日本語 (japani)
한국어 (korea)
ไทย (thai)
български (bulgaria)
Čeština (tšekki)
Dansk (tanska)
Deutsch (saksa)
English (englanti)
Español – España (espanja – Espanja)
Español – Latinoamérica (espanja – Lat. Am.)
Ελληνικά (kreikka)
Français (ranska)
Italiano (italia)
Bahasa Indonesia (indonesia)
Magyar (unkari)
Nederlands (hollanti)
Norsk (norja)
Polski (puola)
Português (portugali – Portugali)
Português – Brasil (portugali – Brasilia)
Română (romania)
Русский (venäjä)
Svenska (ruotsi)
Türkçe (turkki)
Tiếng Việt (vietnam)
Українська (ukraina)
Ilmoita käännösongelmasta
If you post your code maybe I can help sir, but I can't promise anything.
stackoverflow suck man go try it
https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.form.startposition?view=netframework-4.7.2
You can set a position for your form with the Location property like this:
this.Location = new Point(100, 100);
And if you also set the StartPosition property to FormStartPosition.Manual, then your form will move to the coordinates you gave:
this.StartPosition = FormStartPosition.Manual;
Is this a RTL reading-order margin or are you trying to ensure the width of the form?
"From the right" of what? Screen edge? Client coords or ?
Is this a raw C# application or is it within a specific IDE for a specific deployment target?
You need to be a little mroe specific about the issue you experience.
I have no experience with modding GTA or the requirements for its systems so there may be easier ways to achieve this or this may not be applicable in context.
Typcially, though, one would use DesktopLocation property and if there is a StartPosition property, this must be set to manual to allow change.
For example (in a method of "this" form)
this.StartPosition = FormStartPosition.Manual;
this.DesktopLocation = new Point(Screen.PrimaryScreen.Bounds.Width - (this.Width + 40), 40);
private void nyyppaMenu_Load(object sender, EventArgs e)
{
int x = Screen.PrimaryScreen.WorkingArea.Width;
this.Location = new System.Drawing.Point(x-340, 40);
}
and damn im going to find offsets which means things in memory that control like health and armor in GTA V... I found yesterday healt and if I locked it my health was locked into full example but obviosly if some1 takes all health from you you die and get hp back but anyways you die