private void toolStripMapa_ItemClicked(object sender, ToolStripItemClickedEventArgs e) { switch (e.ClickedItem.AccessibleName) { case "Abrir": if (openFileObj.ShowDialog().Equals(DialogResult.OK)) { sicEstandar = new SIC(openFileObj.FileName); this.llenaDataGrid(); } break; } }
private void toolStripMapa_ItemClicked(object sender, ToolStripItemClickedEventArgs e) { switch (e.ClickedItem.AccessibleName) { case "Abrir": if (openFileObj.ShowDialog().Equals(DialogResult.OK)) { sicEstandar = new SIC(openFileObj.FileName); CP = MetodosAuxiliares.ajustaDireccion(MetodosAuxiliares.decimalAHexadecimal(this.sicEstandar.CP)); A = MetodosAuxiliares.decimalAHexadecimal(this.sicEstandar.A); X = MetodosAuxiliares.decimalAHexadecimal(this.sicEstandar.X); L = MetodosAuxiliares.decimalAHexadecimal(this.sicEstandar.L); this.richTextBox1.Text = ""; this.llenaDataGrid(); } break; } }