C#도서관리 프로그램 (WindowsFormsApplication1)
닫기
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
해당 자료는 10페이지 까지만 미리보기를 제공합니다.
10페이지 이후부터 다운로드 후 확인할 수 있습니다.

소개글

C#도서관리 프로그램 (WindowsFormsApplication1)에 대한 보고서 자료입니다.

목차

[WindowsFormsApplication1]
  [bin]
  [obj]
  [Properties]
  App.config
  Form1.cs
  Form1.Designer.cs
  Form1.resx
  Form2.cs
  Form2.Designer.cs
  Form2.resx
  Program.cs
  WindowsFormsApplication1.csproj

WindowsFormsApplication1.sln

WindowsFormsApplication1.v11.suo


245KB
파일 35, 폴더 8

본문내용

Form1.cs




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 WindowsFormsApplication1
{
  public partial class winform : Form
  {
    public string select_name;
    public string save_text;
    public int int_check = 0;
    string[] line_read_data = new string[10];
    string[] line_read_data2 = new string[10];
    public winform()
    {
      InitializeComponent();
    }

    private void regbutton_Click(object sender, EventArgs e)
    {
    
      if (name_text.Text == "" && age_text.Text == "" && address_text.Text == "")
      {
        MessageBox.Show("빈칸이 있습니다.");
      }
      else
      {
        save_text = "";
        ListViewItem li = new ListViewItem();
        li.Text = name_text.Text;
        li.SubItems.Add(age_text.Text);
        li.SubItems.Add(address_text.Text);
        li.ImageIndex = 0;
        listView1.Items.Add(li);
        for (int i = 0; i < listView1.Items.Count; i++)
        {
          save_text += listView1.Items[i].SubItems[0].Text + "\t" + listView1.Items[i].SubItems[1].Text + "\t" + listView1.Items[i].SubItems[2].Text + "\r\n";
        }
        System.IO.File.WriteAllText(@"C:\WriteText.txt",save_text);


      }
    }
  • 가격5,000
  • 페이지수35페이지
  • 등록일2012.12.21
  • 저작시기2012.12
  • 파일형식압축파일(zip)
  • 자료번호#827105
본 자료는 최근 2주간 다운받은 회원이 없습니다.
청소해
다운로드 장바구니