private void listComputer_MouseDoubleClick(object sender, MouseEventArgs e) { if (!Security.IsAuthorized(Permissions.GraphicsEdit)) { return; } FormGraphics FormG = new FormGraphics(); FormG.ComputerPrefCur = ComputerPrefs.GetForComputer(_listComputers[listComputer.SelectedIndex].CompName); FormG.ShowDialog(); }
private void menuItemGraphics_Click(object sender,EventArgs e) { Cursor=Cursors.WaitCursor; FormGraphics fg=new FormGraphics(); fg.ShowDialog(); Cursor=Cursors.Default; if(fg.DialogResult==DialogResult.OK) { ContrChart2.InitializeLocalData(); RefreshCurrentModule(); } }