Search results for query: *

  • Users: dv2020
  • Content: Threads
  • Order by date
  1. dv2020

    Resolved Refresh Winform Crystal Report Simultaneously

    Hi All, I'm trying to have all three of my crystal reports refresh at the same time. I am using the code below but receiving an error. //Allowing three task to execute at a time ParallelOptions parallelOptions = new ParallelOptions {...
  2. dv2020

    Slow Formatting of Cells DataGridView

    Hi All, Trying to understand why formatting my datagridview is so slow with the code below. Is there a more optimize way to perform the below? var currentFont = datagridProSpeedMap.DefaultCellStyle.Font; string speedcol = "Speed"; decimal speedavg = 10; decimal speedmax = 18; for (int i =...
  3. dv2020

    Resolved Datagridview Lookup value from one cell in specific column and display in another?

    Hi All, Trying to adjust my code to a) When a user selects a value from the combo box in the data grid, it copies a value from a different column into another b) When the data grid refreshes, looks up each value and copies the look up values from a different column into another (for each row)...
  4. dv2020

    Question Simulating Screen Resolutions - Testing Application

    Hi All, Interesting one here. Background: Have a Winform application which works on all standard screen resolutions. Came across a laptop (new model DELL) which was is a high end model and is able to set to a super high resolution (3840 x 2160), which by default windows sets the zoom/DPi to...
  5. dv2020

    Resolved Add item inside a Split container and fill

    Hi, I'm trying to add an item inside a split panel, then set the dock to fill. I have tried both methods below but not having any luck. Tried setting the dock to fill, the moving it into the container panel. crystalReportViewer1.Dock = DockStyle.Fill...
  6. dv2020

    Bold Cell based on value in data grid

    Hi All, I have this code below which works well. I'm trying to modify the code so it only bolds the value, and not change the font to "Arial" or the size. if (cellVal > 0 && e.ColumnIndex > 15 && e.ColumnIndex < 27) { row.Cells[e.ColumnIndex].Style.BackColor =...
  7. dv2020

    Question GetDirectories Sort by Filename

    Hi All I'm using Directory.GetFiles to get a list of files, and populate the datagrid. Code is below. Everything is working, but I'm having trouble trying to get Directory.GetFiles to retrieve the list in filename or descending. How anyone any idea if its possible, and if not via...
  8. dv2020

    Resolved How to change currency,format of a column/cell in dynamically changing data grid

    Hi All, I'm trying to work out the best way to change a columns/cell to local currency on a dynamic data grid populated from MySQL The current data grid is populated dynamically from a MySQL query, where the headings and data can change. I would like the code, to check if the Heading of a...
  9. dv2020

    Combine all *.dll into a folder instead of main directory of program

    Hello, I'm trying to work out how to get my application to store all the *.dll files that were installed using NuGet into a folder "lib" inside the application root directory automatically when I complete a build? If anyone has any ideas, that would be great. Thanks David
  10. dv2020

    Winform Front end SQL/Query Builder for end user options

    Hi All, I'm currently exploring options to provide a front end user to query a database tables by selection which items/filters they want. I came across this product EasyQuery which looks promising. My initial though was simply to use a data grid/or traditional report and then have the user...
  11. dv2020

    Resolved Best way to get second and third monitor screen resolution?

    Hi All, Have been trying to work out the best way to obtain the active screen resolution for my application, as I am trying to resize some fonts and buttons if the user moves the application over to there 2nd or 3rd monitor. Currently using the code below when seems to only obtain the screen...
  12. dv2020

    Question Dispose Objects inside win form within selected tab when closed

    Hi All, Found this forum recently which looks great. This is my first post. I have an application I'm working on which loads a new tab within a tab control when a user selects a date from a data grid. When they select a date, e.g 1/1/2020 a new tab opens within the tabcontrol and the text for...
Back
Top Bottom