Создание Windows-приложений на основе Visual C#




Листинг форм frmmain и blank проекта NotepadCSharp


using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Data; using System.IO;

namespace NotepadCSharp {

public class frmmain : System.Windows.Forms.Form { private System.Windows.Forms.MainMenu mainMenu1; private System.Windows.Forms.MenuItem menuItem5; private System.Windows.Forms.MenuItem menuItem12; private System.Windows.Forms.MenuItem mnuFile; private System.Windows.Forms.MenuItem mnuNew; private System.Windows.Forms.MenuItem mnuOpen; private System.Windows.Forms.MenuItem mnuSave; private System.Windows.Forms.MenuItem mnuExit; private System.Windows.Forms.MenuItem mnuEdit; private System.Windows.Forms.OpenFileDialog openFileDialog1; private System.Windows.Forms.MenuItem mnuCut; private System.Windows.Forms.MenuItem mnuCopy; private System.Windows.Forms.MenuItem mnuPaste; private System.Windows.Forms.MenuItem mnuDelete; private System.Windows.Forms.MenuItem mnuSelectAll; private System.Windows.Forms.MenuItem mnuHelp; private System.Windows.Forms.MenuItem mnuAbout;

private System.Windows.Forms.MenuItem mnuArrangeIcons; private System.Windows.Forms.MenuItem mnuCascade; private System.Windows.Forms.MenuItem mnuTileHorizontal; private System.Windows.Forms.MenuItem mnuTileVertical; private System.Windows.Forms.MenuItem mnuWindow; private int openDocuments = 0; private System.Windows.Forms.MenuItem mnuFormat; private System.Windows.Forms.SaveFileDialog saveFileDialog1; private System.Windows.Forms.MenuItem mnuSaveAs; private System.Windows.Forms.FontDialog fontDialog1; private System.Windows.Forms.MenuItem mnuFont; private System.Windows.Forms.MenuItem mnuColor; private System.Windows.Forms.ColorDialog colorDialog1; private System.Windows.Forms.MenuItem menuItem1; private System.Windows.Forms.MenuItem mnuFind; private System.Windows.Forms.ToolBarButton tbNew; private System.Windows.Forms.ToolBarButton tbOpen; private System.Windows.Forms.ToolBarButton tbSave; private System.Windows.Forms.ToolBarButton tbCut; private System.Windows.Forms.ToolBarButton tbCopy; private System.Windows.Forms.ToolBarButton tbPaste; private System.Windows.Forms.ImageList imageList1; private System.Windows.Forms.ToolBar toolBarMain; private System.ComponentModel.IContainer components;




Содержание  Назад  Вперед