private void Form_CreateFloorByRoomEdges_Load(object sender, EventArgs e) { FileName = "CREATE_FLOOR_BY_CAH_ROOM"; this.Comboxes = new List <System.Windows.Forms.ComboBox>() { this.cmbFloorTypes, this.cmbBaseLevels }; this.Texts = new List <System.Windows.Forms.TextBox>() { this.txtShift }; this.Radios = new List <RadioButton>() { }; this.CheckBoxes = new List <CheckBox>() { this.chIsStructural }; FDP = new FormDataProcessing(FileName); FDP.SetParameters(this.Comboxes, this.Texts, this.Radios, this.CheckBoxes); FDP.InsertItems(new List <List <string> >() { this.FloorTypes, this.Levels }); FDP.Loading(); }
private void Form_CreateWallByRoomEdgeOrClickWall_Load(object sender, EventArgs e) { FileName = "CREATE_WALL_BY_ROOMEDGE_OR_CLICKWALL"; this.Comboxes = new List <System.Windows.Forms.ComboBox>() { this.cmbFloorTypes, this.cmbBaseLevels }; this.Texts = new List <System.Windows.Forms.TextBox>() { this.txtShift }; this.Radios = new List <RadioButton>() { }; this.CheckBoxes = new List <CheckBox>() { }; FDP = new FormDataProcessing(FileName); FDP.SetParameters(this.Comboxes, this.Texts, this.Radios, this.CheckBoxes); FDP.InsertItems(new List <List <string> >() { this.FloorTypes, this.Levels }); FDP.Loading(); }
private void Form_CreateFloorByCADHash_Load(object sender, EventArgs e) { FileName = "CREATE_FLOOR_BY_CAH_HASH"; this.Comboxes = new List <System.Windows.Forms.ComboBox>() { this.cmbCADLayers, this.cmbFloorTypes, this.cmbBaseLevels }; this.Texts = new List <System.Windows.Forms.TextBox>() { this.txtShift }; this.Radios = new List <RadioButton>() { }; this.CheckBoxes = new List <CheckBox>() { this.chIsIndicatedLayers, this.chIsStructural }; FDP = new FormDataProcessing(FileName); FDP.SetParameters(this.Comboxes, this.Texts, this.Radios, this.CheckBoxes); FDP.InsertItems(new List <List <string> >() { this.CADLayers, this.FloorTypes, this.Levels }); FDP.Loading(); this.cmbCADLayers.Enabled = this.chIsIndicatedLayers.Checked ? true : false; }