c# tag

485 questions


1 answers
67 views
0
I'm in the middle of C# example with Visual Studio 2013, how can I make the event happen when the form is closed?

I'm in the middle of C# example with Visual Studio 2013, how can I make the event happen when the form is closed?I saw the list of events in the property, but I don't think there was an event that clo...

2 years ago

1 answers
39 views
0
I'm trying to use the database in winform

I already installed sql in visual studio 2017 installer. But the book I'm reading now has a new version of Microsoft Sql Server ExpressCan I use it separately?

2 years ago

1 answers
38 views
0
C# C Scan all files in the drive path

I want to pull out the list of all the files on drive C. I keep getting an error saying 'Access to the path has been denied' I've also tried running with administrator privileges or raising privileges...

c#
2 years ago

2 answers
37 views
0
I want to refer to a variable in one class in another.

Hello, I'm a beginner in C#.I've been using C onlyI'm working on the basics of c# For example, public class A{ public string a; public int b;}public class B{ var tmp = new A(); tmp.a = null; tmp.b = 0...

c#
2 years ago

1 answers
38 views
0
When would you like to initialize a variable in a class, with the constructor or just declare it?

We are developing C# and Java recently. I have a question. What is the best way to initialize a variable?public class Dice{ private int topFace = 1; private Random myRand = new Random(); public void R...

2 years ago

1 answers
116 views
0
When a Form_Closed event occurs, there is a phenomenon that it is hidden by pressing Yes or No in the message box.

if (MessageBox.Show (Do you want to exit?, Information, MessageBoxButtons.YesNo) == DialogResult.Yes) { Application.Exit(); }I wrote the code like above.Naturally, when No is called, I thought there w...

2 years ago

1 answers
63 views
0
C#, execute Python code on VB

Hi, how are you?I want to make a GUI version of the code made with PythonI thought it would take too long to make it into PYQT. I'm going to make it into C# or VB.The problem is that the core function...

2 years ago

1 answers
36 views
0
C# hyung, string.Format essence conversion question

Convert the string.Format to a format that spaces every four spaces, and convert the result value to hexadecimal and octal I'm trying to do it, but the format of hex and oct cannot be converted. I thi...

c#
2 years ago

1 answers
46 views
0
Inserting Xml data into MySQL

Tool : Visual Studio 2017Language: C#(WinForm)The public data portal applies for and uses the COVID-19 outbreak status inquiry data (Xml) by city.Currently, when you run a program with Visual Studio, ...

2 years ago

1 answers
53 views
0
How to delete html file strings in a folder in bulk

I'm thinking about implementing it with Python in all html files within a particular folderI want to remove all strings between <script~~~/script>ㅠ

2 years ago
« - 48 - »

© 2024 OneMinuteCode. All rights reserved.