예제 #1
0
 private void LoadButton_Click(object sender, EventArgs e)
 {
     if (inputOpenFileDialog.ShowDialog() == DialogResult.OK)
     {
         try
         {
             ReadFromFile n = new ReadFromFile(inputOpenFileDialog.FileName);
             spis         = n.FileToCharacter(inputOpenFileDialog.FileName);
             OuText.Lines = spis.Printer();
             inputOpenFileDialog.Dispose();
         }
         finally { }
     }
 }
예제 #2
0
 private void Find_Click(object sender, EventArgs e)
 {
     spis.Find(Prof);
     OuText.Lines = spis.Printer();
 }