ify"> case laquo;Чтение/Записьraquo;:laquo;Чтение/Запись/Редактированиеraquo;:
break;:. userRightsComboBox. Text= raquo ;;;
}. checkButton ();
}
}
}
Form1. Designer. cs курсовая_2курс
{class Form1
{
/// lt; summary gt;
///Требуется змінна конструктора.
/// lt;/summary gt;
private SystemponentModel. IContainer components=null;
/// lt; summary gt;
///Звільнити всі використовувані ресурси.
/// lt;/summary gt;
/// lt; param name= disposing gt; істинно, якщо керований ресурс повинен бути вилучений; інакше ложно. lt;/param gt;
protected override void Dispose (bool disposing)
{(disposing amp; amp; (components!=null))
{. Dispose ();
}. Dispose (disposing);
}
# region Код, автоматично створений конструктором форм Windows
/// lt; summary gt;
///Обов'язковий метод для підтримки конструктора - не зраджуйте
///вміст даного методу за допомогою редактора коду.
/// lt;/summary gt; void InitializeComponent ()
{. components=new SystemponentModel. Container () ;. menuStrip1=new System. Windows. Forms. MenuStrip () ;. файлToolStripMenuItem=new System. Windows. Forms. ToolStripMenuItem () ;. createToolStripMenuItem=new System. Windows. Forms. ToolStripMenuItem () ;. openToolStripMenuItem=new System. Windows. Forms. ToolStripMenuItem () ;. saveToolStripMenuItem=new System. Windows. Forms. ToolStripMenuItem () ;. saveAsToolStripMenuItem=new System. Windows. Forms. ToolStripMenuItem () ;. closeToolStripMenuItem=new System. Windows. Forms. ToolStripMenuItem () ;. exitToolStripMenuItem=new System. Windows. Forms. ToolStripMenuItem () ;. справкаToolStripMenuItem=new System. Windows. Forms. ToolStripMenuItem () ;. dataGridView1=new System. Windows. Forms. DataGridView () ;. contextMenuStrip=new System. Windows. Forms. ContextMenuStrip (thisponents) ;. добавітьДоToolStripMenuItem=new System. Windows. Forms. ToolStripMenuItem () ;. добавітьПослеToolStripMenuItem=new System. Windows. Forms. ToolStripMenuItem () ;. удалітьToolStripMenuItem=new System. Windows. Forms. ToolStripMenuItem () ;. openFileDialog=new System. Windows. Forms. OpenFileDialog () ;. saveFileDialog=new System. Windows. Forms. SaveFileDialog () ;. userType=new System. Windows. Forms. DataGridViewTextBoxColumn () ;. ColumnName=new System. Windows. Forms. DataGridViewTextBoxColumn () ;. ColumnPassword=new System. Windows. Forms. DataGridViewTextBoxColumn () ;. ColumnRights=new System. Windows. Forms. DataGridViewTextBoxColumn () ;. menuStrip1. SuspendLayout ();
((SystemponentModel. ISupportInitialize) (this. dataGridView1)). BeginInit () ;. contextMenuStrip. SuspendLayout () ;. SuspendLayout ();
//
//menuStrip1
//. menuStrip1. Items. AddRange (new System. Windows. Forms. ToolStripItem [] {. ФайлToolStripMenuItem ,. справкаToolStripMenuItem}) ;. menuStrip1. Location=new System. Drawing. Point (0, 0) ;. menuStrip1. Name= menuStrip1 raquo ;;. menuStrip1. Size=new System. Drawing. Size (651, 24) ;. menuStrip1. TabIndex=0 ;. menuStrip1. Text= menuStrip1 raquo ;;
//
//файлToolStripMenuItem
//. файлToolStripMenuItem. DropDownItems. AddRange (new System. Windows. Forms. ToolStripItem [] {. CreateToolStripMenuItem ,. openToolStripMenuItem ,. saveToolStripMenuItem ,. saveAsToolStripMenuItem ,. closeToolStripMenuItem ,. exitToolStripMenuItem}) ;. файлToolStripMenuItem. Name= файлToolStripMenuItem raquo ;;. файлToolStripMenuItem. Size=new System. Drawing. Size (48, 20) ;. файлToolStripMenuItem. Text= Файл raquo ;;
//
//createToolStripMenuItem
//. createToolStripMenuItem. Name= createToolStripMenuItem raquo ;;. createToolStripMenuItem. Size=new System. Drawing. Size (162, 22) ;. createToolStripMenuItem. Text= Створити raquo ;;. createToolStripMenuItem. Click +=new System. EventHandler (this. OnMenuClick_Create);
//
//openToolStripMenuItem
//. openToolStripMenuItem. Name= openToolStripMenuItem raquo ;;. openToolStripMenu...