Discussion of article "Developing graphical interfaces based on .Net Framework and C# (part 2): Additional graphical elements" - page 3
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
You definitely have to google it, there's some kind of process going on.
Alternatively, you still need to call Form.Close() for Windows to close the application.
https://stackoverflow.com/questions/3097364/c-sharp-form-close-vs-form-dispose
when calling .dll I create 2 threads and run each form in them via ShowDialog(), I kill forms by trivial call of Close() method and free memory just in case - I don't know how the rubbish collector works there in .Net )))))
It's 100% a matter of threads or marshalling or interaction between these threads. In short, not all recipes are equally useful. You can play with threads, but I would not want to rewrite GuiController just because of this.
Can you tell me if it is possible to attach a C# window to a chart window?
So that it would not hang separately, but would be integrated similarly to the built-in trading panel?
Error in ClickOnElement;
'ClickOnElement' - undeclared identifier GuiMtController.mq5 57 16
Can you please tell me how to solve the error reported in the following code? Thanks !!!!!!!
GuiController::SendEvent("ButtonForm", MtGuiController .MessageBox,LockControl, YesNoCancel, msg);
thanks for the comprehensive info. Does this also work as a WPF class library in the new .NET Core?
Here are the links:
to the repo: https://github.com/5nail000/MtGui_ProfitCalculator/tree/master/mql5
mql5-script code: https://github.com/5nail000/MtGui_ProfitCalculator/raw/refs/heads/master/mql5/CalculateHistoryProfit.mq5
MtGuiController.dll : https://github.com/5nail000/MtGui_ProfitCalculator/raw/refs/heads/master/mql5/MtGuiController.dll
The library was a bit modified by me, and the panel was implemented not as a separate library, but integrated into the base library. In the repo the code of the library and the form is also available...