public EditarSector(Sector sector, ListaSector listaSector) { InitializeComponent(); var materialSkinManager = MaterialSkinManager.Instance; materialSkinManager.AddFormToManage(this); materialSkinManager.Theme = MaterialSkinManager.Themes.LIGHT; materialSkinManager.ColorScheme = new ColorScheme(Primary.BlueGrey800, Primary.BlueGrey900, Primary.BlueGrey500, Accent.LightBlue200, TextShade.WHITE); this.sector = sector; this.listaSector = listaSector; inicializarUi(); inicializarTiposDeUbicacion(); agregarEncabezadosTabla(); }
private void button1_Click(object sender, EventArgs e) { ListaSector listaSector = new ListaSector(PublicacionPuntual.getSectores()); listaSector.ShowDialog(); }