How to modify Window Size ?

  • Автор темы Автор темы MarioBros
  • Дата начала Дата начала

MarioBros

Client
Регистрация
19.03.2013
Сообщения
55
Реакции
6
Баллы
8
Hello Zenno Guys !

Since youtube do some updates, my clicks by coordinates or pictures dont work good because Youtube put new header toolbar when we are connected ... (i think it's that but maybe not)

Anyway, i found a simple trick to solve my problem, i would like change the size to the windows instance but i dont know how to do.

I read this post : http://zennolab.com/discussion/threads/start-the-instance-maximized.10793/

But i dont know where i must write that and i must change the values "Width" and "height" by the number of pixels i want?

Please, someone can tell me more details about that?

Thant you so much :-)
 
C#

Код:
Развернуть Свернуть Копировать
instance.SetWindowSize(1680,1050);
 
  • Спасибо
Реакции: SHILY и MarioBros
C#

Код:
Развернуть Свернуть Копировать
instance.SetWindowSize(1680,1050);

Thank you for your fast replay :)

So i add new bloc with "C# code" to my project and i put this part of code in
But after i must put a variable in the bloc and where i call this variable?

Sorry if my questions look like stupid but i never used "C# Code" bloc.

Thanks you :)
 
You just add C# action and put this code there.
1680 - width
1050 - height
 
  • Спасибо
Реакции: MarioBros
Yep)
 

Кто просматривает тему: (Всего: 0, Пользователи: 0, Гости: 0)