public void PrimaryXML(){ string GridBtnImgPath = "GridBtnImg/"; GridBtn[] grids = new GridBtn[10]; grids [0] = new GridBtn (GridBtnImgPath + "1"); grids [1] = new GridBtn (GridBtnImgPath + "2"); grids [2] = new GridBtn (GridBtnImgPath + "3"); grids [3] = new GridBtn (GridBtnImgPath + "4"); grids [4] = new GridBtn (GridBtnImgPath + "5"); grids [5] = new GridBtn (GridBtnImgPath + "6"); grids [6] = new GridBtn (GridBtnImgPath + "7"); grids [7] = new GridBtn (GridBtnImgPath + "8"); grids [8] = new GridBtn (GridBtnImgPath + "9"); grids [9] = new GridBtn (GridBtnImgPath + "10"); SeriaOrDeSeria.SerialzeXML<GridBtn[]> (path, grids); }
public void PrimaryXML() { string GridBtnImgPath = "GridBtnImg/"; GridBtn[] grids = new GridBtn[10]; grids [0] = new GridBtn(GridBtnImgPath + "1"); grids [1] = new GridBtn(GridBtnImgPath + "2"); grids [2] = new GridBtn(GridBtnImgPath + "3"); grids [3] = new GridBtn(GridBtnImgPath + "4"); grids [4] = new GridBtn(GridBtnImgPath + "5"); grids [5] = new GridBtn(GridBtnImgPath + "6"); grids [6] = new GridBtn(GridBtnImgPath + "7"); grids [7] = new GridBtn(GridBtnImgPath + "8"); grids [8] = new GridBtn(GridBtnImgPath + "9"); grids [9] = new GridBtn(GridBtnImgPath + "10"); SeriaOrDeSeria.SerialzeXML <GridBtn[]> (path, grids); }
// Method click on 'Grid' to change type of view to Grid. public void ClickGridBtn() { GridBtn.Click(); }