csharp winforms

  1. codify

    Resolved SqlException: 'Invalid column name 'id'.

    I am making a window form database management system. When I click on the "Add staff" option, this error occurs System.Data.SqlClient.SqlException: 'Invalid column name 'id'.' on line number : 20 private void StaffInformation_Load(object sender, EventArgs e) { // TODO: This...
  2. rog_rickert

    Object array question

    hello, I'm still pretty new to C# and teaching myself. I've searched around and haven't found an answer, so I'm wondering if anyone can let me know if this is possible. I need to have multiple instances of an object that can be accessed by multiple forms. I know I can do this with static...
  3. D

    Resolved Control.Scale() and Control.UnScale()

    I have a panel where I draw some squares, simulating street objects on a map. I use Scale (float f1, float f2) to enlarge the panel and the paintings. I have a ComboBox with 50%, 75%, 100%, 125%, 150%, and 200% items. The user can go from 50% to 200%, and return to 50%, if necessary. I need to...
  4. shawnhee

    Resolved Minimize Windows Form when Clicked Outside the Application

    I want to minimize my windows form when i clicked anywhere outside it.... But this code will just close the whole program, can anyone help? I want to hide the app to taskbar, and when i press it from taskbar it shows up again....... Here is the code: protected override void...
  5. shawnhee

    Resolved Windows Forms Application overlayed other Application

    My WFA has overlayed other application since i added this code unto it. But i need this code to lock other users from repositioning the form. Please help ? protected override void WndProc(ref Message m) { const int WM_NCLBUTTONDOWN = 161; const int WM_SYSCOMMAND = 274; const int...
  6. A

    Question What is wrong on function ExecuteNonQuery to work as Best Practise ?

    I work on c# app I need to make function make insert data or update or delete dynamically so that I do function below for insert or update or delete but I don't know what must added or remove from function below to make function work as best practice . public static async Task<int>...
  7. F

    Question Parallel class to modify flickrviewer app

    You are asked to use Parallel class to modify FlickrViewer app by adding image resizing functionality. More specifically, resize found image(s) and save these resized image locally. You can find the details about how to resize the image from Basic Image Manipulation in C# Here is the link to...
  8. The Techie

    export datagridview using office.word.interop.dll instead of Spire.Doc.dll ?

    How to implement the logic of the below code using Microsoft.Office.Interop.Word.dll? Now iam using third party dll(Spire.Doc.dll), instead of Spire.Doc.dll i want to use Microsoft.Office.Interop.Word.dll . Please help me to implement this logic using office word dll. Thank you using...
  9. A

    what i write inside loop to display similar item code on datagridview and insert diff

    Problem what i write inside loop to display similar item code on datagridview and insert different itemcode on database sql serverSQL Server Database(2014) Items Table ItemCode(pk) ItemName 001 mouse 002 keyboard 003...
  10. S

    Question How can I Load Diferrent XML Files?

    Good day, I need to do Something like this https://youtu.be/ecvunlsNm9k But Instead Of using tables, using textboxes In one form, and with different Files, let me explain you with an example: In Form 1, There are 2 Textboxes, and 1 button that button opens a file like in the video, but with the...
Back
Top Bottom