public DatagridViewer(ArcadiaManager arcadia_manager) { InitializeComponent(); this.arcadia_manager = arcadia_manager; //load desired columns from the xml file dataview_columns = arcadia_manager.base_arcadia_manager.base_xml_file.readProperty("dataview_columns").Split(','); this.tableLayoutPanel1.Controls.Add(arcadia_manager.datagrid); }
public SkillsEditor() { InitializeComponent(); //path of the xml file that contains the settings of the form base_xml_file = new XML("ArcadiaManager/SkillsEditor/main.xml"); //the button that will show the data where the user selects a row to build on base_button_data_viewer = bt_dataviewer; //running the aracdia manager to setup the form arcadia_manager = new ArcadiaManager(this); //set common textboxes //arcadia_manager.set_common_fields(new TextBox { }, new Int32 { }); }