User can change zenno actions

aleksa77

Client
Регистрация
30.09.2011
Сообщения
914
Благодарностей
90
Баллы
28
Now we have only captcha option for connecting beetween user and zenno, user can put manualy captcha.

Option for user, user can see data ( in html or text), and have option yes no, if click yes, zenno go on some direction and if click no, go on other direction. Zenno wait action of user.
 

LexxWork

Client
Регистрация
31.10.2013
Сообщения
1 190
Благодарностей
786
Баллы
113
C#:
if(System.Windows.Forms.MessageBox.Show("Go on work?", "Stop the project or continue?", System.Windows.Forms.MessageBoxButtons.YesNo, System.Windows.Forms.MessageBoxIcon.Question) == System.Windows.Forms.DialogResult.No)
    throw new Exception("user have pressed \"no\", going to red branch");
 
  • Спасибо
Реакции: Tobbe и aleksa77

zenewbie

Client
Регистрация
25.12.2013
Сообщения
215
Благодарностей
17
Баллы
18
Works great, but is it possible to reposition the messagebox? Because it always pops up on top of the ZP window, and when you need to enter some data you always have to fetch the messagebox back in order to press a button.
 

LexxWork

Client
Регистрация
31.10.2013
Сообщения
1 190
Благодарностей
786
Баллы
113
just have tested with another method
System.Windows.Forms.MessageBox.Show(new System.Windows.Forms.Form() { TopMost = false }, "I'm free!!!");
and i think in pm it doesn't block the parent window but in zp - it does always.
 

zenewbie

Client
Регистрация
25.12.2013
Сообщения
215
Благодарностей
17
Баллы
18
Yes, I have tested this, too. And it seems there is no easy way to reposition the pop up window. :(
 

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