Hello there. I started learning new c #. I'm doing a project. Similar to devexpress windowsmail. But the designs in my project didn't interfere with the truth. colors, dynamic designs, background colors etc .... How can I design a design like devexpress? it is an eye-catching design wowwwww ..... Please help me please.
I have two forms called form1 and form2 . In form2 I have 10 trackbar . I want to change values in form1 when I change form2 trackbars . How can i do this ? can i select a void in form1 for form2 trackbars ?
Assuming Form1 creates and displays the Form2 instance, the simplest option would be for Form2 to raise a custom event when the values change. Form1 would subscribe to that event, and update its own values accordingly.
Alternatively, Form2 would need a reference to the instance of Form1, and would call a public method on the form to update the values. You'll probably want to use an interface for the reference so that the implementation isn't tied to a single concrete class.
Or you could use the Mediator pattern. Form2 would publish a message when its values changed. Form1 would subscribe to that message and update its values accordingly.
I recently installed DNN v9.x on a VM with about 250GB RAM, 36vCPU with Windows 2012 R2 OS. Database is installed on a separate VM with 320 GB RAM, 42vCPU and same OS.
At first when the site was lunched, everything works ok but as the number of users accessing the site increases, the site begin to throw this error "500 - Internal Server Error". This only last for about 5mins after which when the user freshes the site some couple of times, the error disappears.
While this error lasted, utilization across CPU and Memory was around 4%.
I have 3 DNN webservers behind a Citrix Load Balancer, the load balancer is configured for SSL Offloading.
I discovered that the login link doesn't work anymore. It just refreshes whenever it is clicked. The URL of the login link is: https://test.abc.net/User-Login?returnurl=%2f. The link when clicked supposed to take users to the page where they will login.
When I changed d Citrix load balancer to HTTP, everything works normal. I.e http://test.abc.net/User-Login?returnurl=%2f takes the users to the Login Page.
Any suggestion on how to resolve this issue will be appreciated.
Hello all, new here. I am trying to learn how to build a Windows GUI program for a few .exe and cmd scripts I have. I started out with WPF but learned I cannot use performance counters with it so I moved on to WinForms. There are alot of video's out there on creating a WinForm for CPU and RAM but I need to create one for a specific NIC with receive bytes, more specifically I would like it to read in Mb. Any help would be greatly appreciated!
I started out with WPF but learned I cannot use performance counters with it
That comment makes no sense. The PerformanceCounter[^] class is not tied to any UI framework. You can use it from WPF, Windows Forms, or console applications. You can even use it from ASP.NET to read the server's performance counters.
What makes you think you can't use it with WPF?
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
Just about everything in the toolbox in VS community 2015 is grayed out except all the WPF stuff when i select a WPF project. I have looked up the issues on google and tried everything that I could find to see if I could fix it. Nothing helped, it all came down to the performance counter was not available when I selected a new WPF project but was available when I selected a WinForms project.
You need to do form reset programatically per your need because the form will not get reset/reloaded as it run first time with blank inputs. It will happen in ASP.net with post back concept which is not applicable in forms application. So you can either make form reset when you move next or come back on first form.
I am building a C# windows app using SQLite database. I built the database in DB Browser SQLite. I used the built in SQLcipher that comes with the new version of SQLite and added a password (testing123). Once I created a datasource in VS 2015 Community I used the wizard to browse to the database and supplied the password to add the database to my project. When I click the Test Connection it says everything is fine. However, when I expand the database in the datasource pane of VS I get an error that says something about File is encrypted or is not a database, even though the password is in the connection string in the Apps settings of the VS project. If I do not encrypt the database in DB Browser SQLite everything works fine. Also, if I create the database file as a new database in VS and put in the password upon creation VS allows the file to be encrypted and opening up in SQLite I must supply the PW to connect, however, after I build the database tables and put back in VS it does connect any more. Does anyone have any advise and do I need SQLcipher in my project to decrypt the database? If so, where would I get this and how do I use it?
I do not have code since this is design time and I haven't even started to code since all I am doing is attaching the database and trying to navigate in the datasource to see my tables.
Last Visit: 31-Dec-99 18:00 Last Update: 19-Jun-21 15:16