• 大小: 0.05M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-03-27
  • 语言: C#
  • 标签: c#  

资源简介


平面三点求圆心坐标和半径的C#开发的小程序,可以点击EXE文件直接运行,并带VS源码。

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace computecenter
{
    public partial class Form1 : Form
    {
        double x = 0;
        double y = 0;
        double r = 0;
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender EventArgs e)
        {
            double x1 = Convert.ToDouble(textBoxX1.Text);
            double y1 = Convert.ToDouble(textBoxY1.Text);
            double x2 = Convert.ToDouble(textBoxX2.Text);
            double y2 = Convert.ToDouble(textBoxY2.Text);
            double x3 = Convert.ToDouble(textBoxX3.Text);
            double y3 = Convert.ToDouble(textBoxY3.Text);
            getCenterPos(x1 y1 x2 y2 x3 y3);
        }
        public void getCenterPos(double x1double y1doub

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        187  2018-11-26 11:52  computecenter\computecenter\App.config

     文件      11776  2018-11-26 13:46  computecenter\computecenter\bin\Debug\computecenter.exe

     文件        187  2018-11-26 11:52  computecenter\computecenter\bin\Debug\computecenter.exe.config

     文件      22016  2018-11-26 13:46  computecenter\computecenter\bin\Debug\computecenter.pdb

     文件      22984  2018-11-26 13:46  computecenter\computecenter\bin\Debug\computecenter.vshost.exe

     文件        187  2018-11-26 11:52  computecenter\computecenter\bin\Debug\computecenter.vshost.exe.config

     文件        490  2018-04-12 07:35  computecenter\computecenter\bin\Debug\computecenter.vshost.exe.manifest

     文件       3805  2018-11-26 12:01  computecenter\computecenter\computecenter.csproj

     文件       1595  2018-11-26 13:45  computecenter\computecenter\Form1.cs

     文件      11371  2018-11-26 13:43  computecenter\computecenter\Form1.Designer.cs

     文件       5817  2018-11-26 13:45  computecenter\computecenter\Form1.resx

     文件        880  2018-11-26 13:46  computecenter\computecenter\obj\Debug\computecenter.csproj.FileListAbsolute.txt

     文件        975  2018-11-26 13:46  computecenter\computecenter\obj\Debug\computecenter.csproj.GenerateResource.Cache

     文件      11776  2018-11-26 13:46  computecenter\computecenter\obj\Debug\computecenter.exe

     文件        180  2018-11-26 13:46  computecenter\computecenter\obj\Debug\computecenter.Form1.resources

     文件      22016  2018-11-26 13:46  computecenter\computecenter\obj\Debug\computecenter.pdb

     文件        180  2018-11-26 13:46  computecenter\computecenter\obj\Debug\computecenter.Properties.Resources.resources

     文件        863  2018-11-26 11:52  computecenter\computecenter\obj\Debug\DesignTimeResolveAssemblyReferences.cache

     文件       7091  2018-11-26 11:53  computecenter\computecenter\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache

     文件          0  2018-11-26 11:52  computecenter\computecenter\obj\Debug\TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs

     文件          0  2018-11-26 11:52  computecenter\computecenter\obj\Debug\TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs

     文件          0  2018-11-26 11:52  computecenter\computecenter\obj\Debug\TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs

     文件        525  2018-11-26 11:52  computecenter\computecenter\Program.cs

     文件       1346  2018-11-26 11:52  computecenter\computecenter\Properties\AssemblyInfo.cs

     文件       2878  2018-11-26 11:52  computecenter\computecenter\Properties\Resources.Designer.cs

     文件       5612  2018-11-26 11:52  computecenter\computecenter\Properties\Resources.resx

     文件       1100  2018-11-26 11:52  computecenter\computecenter\Properties\Settings.Designer.cs

     文件        249  2018-11-26 11:52  computecenter\computecenter\Properties\Settings.settings

     文件        929  2018-11-26 11:52  computecenter\computecenter.sln

    ..A..H.     44032  2018-11-26 13:46  computecenter\computecenter.v11.suo

............此处省略11个文件信息

评论

共有 条评论