• 大小: 0.14M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-02-25
  • 语言: C#
  • 标签: EF  MT  ORM  t  

资源简介

PassingValueFromToForm 視窗傳值

资源截图

代码片段和文件信息

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 PassingValueFromToForm
{
    //Refer: http://www.codeproject.com/Articles/14122/Passing-Data-Between-Forms
    public partial class Form1 : Form
    {        
        // For Delegates Use
        public delegate void delPassData(TextBox text);

        // For Public Value Use
        public static string str;
        public static string str2;
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender EventArgs e)
        {
            // The Constructor Approach
            if (rbConstructor.Checked == true)
            {
                str2 = rbConstructor.Text;

                Form2 frm = new Form2(textBox1.Text);
                frm.Show();
            }

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

     文件      82210  2016-06-01 15:32  PassingValueFromToForm 視窗傳值\2016-06-01_15-32-10.png

     文件        187  2016-05-31 18:32  PassingValueFromToForm 視窗傳值\PassingValueFromToForm\App.config

     文件      11776  2016-06-01 15:31  PassingValueFromToForm 視窗傳值\PassingValueFromToForm\bin\Debug\PassingValueFromToForm.exe

     文件        187  2016-05-31 18:32  PassingValueFromToForm 視窗傳值\PassingValueFromToForm\bin\Debug\PassingValueFromToForm.exe.config

     文件      36352  2016-06-01 15:31  PassingValueFromToForm 視窗傳值\PassingValueFromToForm\bin\Debug\PassingValueFromToForm.pdb

     文件      24224  2016-06-01 15:32  PassingValueFromToForm 視窗傳值\PassingValueFromToForm\bin\Debug\PassingValueFromToForm.vshost.exe

     文件        187  2016-05-31 18:32  PassingValueFromToForm 視窗傳值\PassingValueFromToForm\bin\Debug\PassingValueFromToForm.vshost.exe.config

     文件        490  2015-10-30 15:19  PassingValueFromToForm 視窗傳值\PassingValueFromToForm\bin\Debug\PassingValueFromToForm.vshost.exe.manifest

     文件       2032  2016-06-01 14:43  PassingValueFromToForm 視窗傳值\PassingValueFromToForm\Form1.cs

     文件       6422  2016-06-01 14:29  PassingValueFromToForm 視窗傳值\PassingValueFromToForm\Form1.Designer.cs

     文件       5817  2016-06-01 14:29  PassingValueFromToForm 視窗傳值\PassingValueFromToForm\Form1.resx

     文件       1292  2016-06-01 15:31  PassingValueFromToForm 視窗傳值\PassingValueFromToForm\Form2.cs

     文件       2918  2016-06-01 14:04  PassingValueFromToForm 視窗傳值\PassingValueFromToForm\Form2.Designer.cs

     文件       5817  2016-06-01 14:04  PassingValueFromToForm 視窗傳值\PassingValueFromToForm\Form2.resx

     文件        865  2016-05-31 18:32  PassingValueFromToForm 視窗傳值\PassingValueFromToForm\obj\Debug\DesignTimeResolveAssemblyReferences.cache

     文件       7184  2016-06-01 15:30  PassingValueFromToForm 視窗傳值\PassingValueFromToForm\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache

     文件       2521  2016-06-01 15:32  PassingValueFromToForm 視窗傳值\PassingValueFromToForm\obj\Debug\PassingValueFromToForm.csproj.FileListAbsolute.txt

     文件       1035  2016-06-01 14:43  PassingValueFromToForm 視窗傳值\PassingValueFromToForm\obj\Debug\PassingValueFromToForm.csproj.GenerateResource.Cache

     文件       2211  2016-06-01 15:31  PassingValueFromToForm 視窗傳值\PassingValueFromToForm\obj\Debug\PassingValueFromToForm.csprojResolveAssemblyReference.cache

     文件      11776  2016-06-01 15:31  PassingValueFromToForm 視窗傳值\PassingValueFromToForm\obj\Debug\PassingValueFromToForm.exe

     文件        180  2016-06-01 14:43  PassingValueFromToForm 視窗傳值\PassingValueFromToForm\obj\Debug\PassingValueFromToForm.Form1.resources

     文件        180  2016-06-01 14:43  PassingValueFromToForm 視窗傳值\PassingValueFromToForm\obj\Debug\PassingValueFromToForm.Form2.resources

     文件      36352  2016-06-01 15:31  PassingValueFromToForm 視窗傳值\PassingValueFromToForm\obj\Debug\PassingValueFromToForm.pdb

     文件        180  2016-06-01 14:43  PassingValueFromToForm 視窗傳值\PassingValueFromToForm\obj\Debug\PassingValueFromToForm.Properties.Resources.resources

     文件          0  2016-05-31 18:32  PassingValueFromToForm 視窗傳值\PassingValueFromToForm\obj\Debug\TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs

     文件          0  2016-05-31 18:32  PassingValueFromToForm 視窗傳值\PassingValueFromToForm\obj\Debug\TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs

     文件          0  2016-05-31 18:32  PassingValueFromToForm 視窗傳值\PassingValueFromToForm\obj\Debug\TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs

     文件       4128  2016-06-01 14:30  PassingValueFromToForm 視窗傳值\PassingValueFromToForm\PassingValueFromToForm.csproj

     文件        537  2016-05-31 18:32  PassingValueFromToForm 視窗傳值\PassingValueFromToForm\Program.cs

     文件       1382  2016-05-31 18:32  PassingValueFromToForm 視窗傳值\PassingValueFromToForm\Properties\AssemblyInfo.cs

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

评论

共有 条评论