private void miSystemLog_Click(object sender, EventArgs e) { string Caption = "Сообщения системы"; if (!FindAndShow(Caption)) { frmLogs form = new frmLogs(this, "SystemLog"); childforms.Add(form); form.Text = Caption; form.MdiParent = this; form.Show(); } }
private void miUsersLog_Click(object sender, EventArgs e) { string Caption = "Действия пользователя"; if (!FindAndShow(Caption)) { frmLogs form = new frmLogs(this, "ChangeLog"); childforms.Add(form); form.Text = Caption; form.MdiParent = this; form.Show(); } }
private void miSwitchsLog_Click(object sender, EventArgs e) { string Caption = "Архив переключений"; if (!FindAndShow(Caption)) { frmLogs form = new frmLogs(this, "SwitchLog"); childforms.Add(form); form.Text = Caption; form.MdiParent = this; form.Show(); } }
private void miAlarmsLog_Click(object sender, EventArgs e) { string Caption = "Архив аварийных значений"; if (!FindAndShow(Caption)) { frmLogs form = new frmLogs(this, "AlarmLog"); childforms.Add(form); form.Text = Caption; form.MdiParent = this; form.Show(); } }