- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi All,
This is how I created the Method. There is no source when using it on Form1. in the center..
But it works when I use it on Mycommands.cs. But it appears on the right and above the autoCAD screen.
How can I center it on the Screen?
public string GirisKutusu(string mesajYaz, string baslik)
{
int x = Left + (this.Width / 2) - 200;
int y = Top + (this.Height / 2) - 100;
string deger1=Interaction.InputBox(mesajYaz, baslik, "25", x, y);
return deger1;
}
Solved! Go to Solution.
Link copied