CRUD with MVP pattern, C#, WinForms and SQL Server - Part 2/3

  Рет қаралды 40,569

RJ Code Advance EN

RJ Code Advance EN

Күн бұрын

Пікірлер: 40
@dcp15121980
@dcp15121980 2 жыл бұрын
I wish this guy came like few years ago with this video. Nowadays it very hard to get windows developers. All look into web development. Anyways excellent work RJ
@RJCodeAdvanceEN
@RJCodeAdvanceEN 2 жыл бұрын
Thank @Deepchand P Best regards :)
@karobatti
@karobatti Жыл бұрын
Köszönjük!
@johnlauro6498
@johnlauro6498 2 жыл бұрын
why this kind of code is so satisfying?
@exogendesign4582
@exogendesign4582 2 жыл бұрын
It's Official You're the god of Winforms.
@fbsouza
@fbsouza 2 жыл бұрын
I agree.
@jessicawong1536
@jessicawong1536 2 жыл бұрын
Great! looking forward to section 3/3
@RJCodeAdvanceEN
@RJCodeAdvanceEN 2 жыл бұрын
Thanks :)
@YuraD95
@YuraD95 2 жыл бұрын
this code is so clean, hopefully one day ill get there
@NTDairy
@NTDairy 2 жыл бұрын
part 3/3 soon. thank sir.
@kanifflin
@kanifflin 2 жыл бұрын
Clear explanation
@RJCodeAdvanceEN
@RJCodeAdvanceEN 2 жыл бұрын
Thanks ;)
@blackcamce6566
@blackcamce6566 2 жыл бұрын
Me perdi en el otro aver que sigue soy el primero :3
@RJCodeAdvanceEN
@RJCodeAdvanceEN 2 жыл бұрын
😂, bueno gracias, y felicidades por ser el primero 😎
@AhmadElkhouly
@AhmadElkhouly Жыл бұрын
I have a question: when the view (IPetView) is closed, will its presenter be garbage collected or it will be present in the memory and needs to be disposed?
@abmtechnologies
@abmtechnologies 2 жыл бұрын
thank you sir i still request you sir how to print data into crystal report from local database and set Company name and logo dynamically
@joaopedromarques8232
@joaopedromarques8232 2 жыл бұрын
Waiting for part 3 :D when does it come out?
@RJCodeAdvanceEN
@RJCodeAdvanceEN 2 жыл бұрын
Soon....Maybe in about 3 days 👍
@joaopedromarques8232
@joaopedromarques8232 2 жыл бұрын
@@RJCodeAdvanceEN Sweet! I tried to adapt a CRUD project I made recently and am having trouble capturing the user input in the presenter class, can't wait to see your solution.
@魔獸-h3d
@魔獸-h3d 2 жыл бұрын
Does the Gridview ScrollBar use any components? Thank sir.
@RJCodeAdvanceEN
@RJCodeAdvanceEN 2 жыл бұрын
Sorry, I'm afraid I didn't understand your question.
@assortedgoods7204
@assortedgoods7204 Жыл бұрын
Hello I am having problem with your singleton. It does the job that only 1 instance can show. but it reassigns the events making the event triggers twice or more. is there any suggestion to prevent this? I use another form as modal to launch the add new pet.
@earthlingz
@earthlingz Жыл бұрын
I am experiencing this too. I think its "new PetPresenter(....)" keeps creating new instance and invoking it in an old instance of view. making it keeps duplicating the events and firing it multiple times. I wonder if there is a solution for this singleton without reassigning the events in the constructor of the Presenter...@RJ Code Advance EN any advise?
@ChrisKuizon-r8v
@ChrisKuizon-r8v Жыл бұрын
i wish you can make a tutorial using c# mvp with unity container for the views
@tdtidpeek
@tdtidpeek 2 жыл бұрын
How to change from Form_PetView to UserControl_PetView and show to add to panel?
@blackcamce6566
@blackcamce6566 2 жыл бұрын
Bueno después de verlo a detalle no me da eso de la cadena de conexión así que le di directo la cadena y recién me dio XD PD: buenardo a ver como funcionara con una base de datos casera :3
@RJCodeAdvanceEN
@RJCodeAdvanceEN 2 жыл бұрын
Que extraño, talvez no cambiaste el nombre como lo hice. Bueno, no hay problema como lo hiciste, al menos funciona :v
@christopherkuizon6381
@christopherkuizon6381 2 жыл бұрын
I tried creating an MVP following the same logic with two form views. However when the button for each correponding view is clicked only one view will be displayed on the mainview and the other view won't.
@kwstaslalaounis3212
@kwstaslalaounis3212 Жыл бұрын
My friend do this and will run for example we have this.Put this code into the method where you want to show the form . CustomerView customerView = new CustomerView(); ICustomerView view = customerView; ICustomerRepository repository = new CustomerRepository(sqlConnectionString); new CustomerPresenter(view, repository); customerView.Show();
@khanguyenviet6821
@khanguyenviet6821 Жыл бұрын
how to I can display PetView in a panel of MainView
@fbsouza
@fbsouza 2 жыл бұрын
Muito bom!
@TuanTran-persistTuan
@TuanTran-persistTuan 6 ай бұрын
I am not understand, why in method showPetView of Mainview, you do not use function show to display form, please i need help🥺🥺
@naedlorenzo3848
@naedlorenzo3848 2 жыл бұрын
I tried this and my datagridview not doing filter while I am typing in my searchbar LOL, cant figure it out.
@naedlorenzo3848
@naedlorenzo3848 2 жыл бұрын
it is doing the search now, but the keydown on search bar is not working I have to press the enter. Crazy, LOL
@exogendesign4582
@exogendesign4582 2 жыл бұрын
It so hard to find problem with this type of pattern, When doing method directly its easier, I also don't get how each methods, interfaces and repositories tangled together. I have created a lot of POS but this is the first Time I encountered this kind of coding. Its so clean but so hard to debug. I re read everything about this stuff through kudvenkat videos it helps a bit :-).
@naedlorenzo3848
@naedlorenzo3848 2 жыл бұрын
@@exogendesign4582 as I was typing it I don't get it but as soon I am debugging it or decide to add something I am slowly learning it.
@exogendesign4582
@exogendesign4582 2 жыл бұрын
@@naedlorenzo3848 yep, now I finally figured out interfaces, and how to implement orm, I also finally get how to effectively write mvp, but I am now on Wpf and doing mvvm, wpf is way easier than winforms man and you can create beautiful ui using xaml, its way faster to make.
@naedlorenzo3848
@naedlorenzo3848 2 жыл бұрын
@@exogendesign4582 Oh that is nice. I never been into wpf. Looks like you are trying to introduce me to wpf might as well share your code :)
CRUD with MVP pattern, C#, WinForms and SQL Server - Part 3/3 (Final)
17:49
RJ Code Advance EN
Рет қаралды 28 М.
CRUD with MVP pattern, C#, WinForms and SQL Server
23:35
RJ Code Advance EN
Рет қаралды 122 М.
I thought one thing and the truth is something else 😂
00:34
عائلة ابو رعد Abo Raad family
Рет қаралды 17 МЛН
How Much Tape To Stop A Lamborghini?
00:15
MrBeast
Рет қаралды 263 МЛН
Lazy days…
00:24
Anwar Jibawi
Рет қаралды 8 МЛН
Streamlining Your Microsoft Access VBA Code with the With Keyword
11:10
Computer Learning Zone
Рет қаралды 1 М.
9 UI Frameworks for .NET Desktop App Development [2024]
16:13
Claudio Bernasconi
Рет қаралды 39 М.
Microservices with Databases can be challenging...
20:52
Software Developer Diaries
Рет қаралды 102 М.
Everything You NEED to Know About Client Architecture Patterns
5:51
DevExpress WinForms: MVVM Scaffolding Wizard
5:01
DevExpress
Рет қаралды 26 М.
Final Modern UI - Aero Snap Window, Resizing, Sliding Menu - C#, WinForms
21:36
Why aren't you using Fastify? Or Koa? Or NestJS?
9:58
Maximilian Schwarzmüller
Рет қаралды 67 М.