private void getView() { hashtable = new Hashtable(); hashtable.Add("size", new Size(500, 45)); hashtable.Add("point", new Point(0, 0)); hashtable.Add("color", Color.Red); hashtable.Add("name", "member"); member = comm.getPanel(hashtable, parentForm); hashtable = new Hashtable(); hashtable.Add("size", new Size(500, 45)); hashtable.Add("point", new Point(500, 0)); hashtable.Add("color", Color.Yellow); hashtable.Add("name", "rule"); rule = comm.getPanel(hashtable, parentForm); hashtable = new Hashtable(); hashtable.Add("size", new Size(1000, 655)); hashtable.Add("point", new Point(0, 45)); hashtable.Add("color", Color.White); hashtable.Add("name", "mapping"); mapping = comm.getPanel(hashtable, parentForm); hashtable = new Hashtable(); hashtable.Add("size", new Size(500, 20)); hashtable.Add("point", new Point(0, 5)); hashtable.Add("color", Color.Red); hashtable.Add("name", "label1"); hashtable.Add("text", "Member"); label1 = comm.getLabel(hashtable, member); hashtable = new Hashtable(); hashtable.Add("size", new Size(400, 20)); hashtable.Add("point", new Point(0, 5)); hashtable.Add("color", Color.Yellow); hashtable.Add("name", "label2"); hashtable.Add("text", "Rule"); label2 = comm.getLabel(hashtable, rule); hashtable = new Hashtable(); hashtable.Add("width", 500); hashtable.Add("point", new Point(0, 25)); hashtable.Add("color", Color.White); hashtable.Add("name", "comboBox1"); hashtable.Add("click", (EventHandler)Member_click); comboBox1 = comm.getComboBox(hashtable, member); hashtable = new Hashtable(); hashtable.Add("width", 485); hashtable.Add("point", new Point(0, 25)); hashtable.Add("color", Color.White); hashtable.Add("name", "comboBox2"); hashtable.Add("click", (EventHandler)Rule_click); comboBox2 = comm.getComboBox(hashtable, rule); hashtable = new Hashtable(); hashtable.Add("color", Color.White); hashtable.Add("name", "listView"); //hashtable.Add("click", (MouseEventHandler)listView_click); listView = comm.getListView(hashtable, mapping); hashtable = new Hashtable(); hashtable.Add("size", new Size(50, 20)); hashtable.Add("point", new Point(400, 5)); hashtable.Add("color", Color.Yellow); hashtable.Add("name", "추가"); hashtable.Add("text", "추가"); hashtable.Add("click", (EventHandler)Btn1_Click); btn1 = comm.getButton(hashtable, rule); GetSelect(); }
private void getView() { hashtable = new Hashtable(); hashtable.Add("type", ""); hashtable.Add("size", new Size(500, 45)); hashtable.Add("point", new Point(0, 0)); hashtable.Add("color", Color.Red); hashtable.Add("name", "member"); member = comm.getPanel(hashtable, parentForm); hashtable = new Hashtable(); hashtable.Add("size", new Size(500, 45)); hashtable.Add("point", new Point(500, 0)); hashtable.Add("color", Color.Yellow); hashtable.Add("name", "rule"); rule = comm.getPanel(hashtable, parentForm); hashtable = new Hashtable(); hashtable.Add("size", new Size(1000, 655)); hashtable.Add("point", new Point(0, 45)); hashtable.Add("color", Color.Blue); hashtable.Add("name", "mapping"); mapping = comm.getPanel(hashtable, parentForm); hashtable = new Hashtable(); hashtable.Add("size", new Size(500, 20)); hashtable.Add("point", new Point(0, 5)); hashtable.Add("color", Color.Red); hashtable.Add("name", "label1"); hashtable.Add("text", "Member"); label1 = comm.getLabel(hashtable, member); hashtable = new Hashtable(); hashtable.Add("size", new Size(500, 20)); hashtable.Add("point", new Point(0, 5)); hashtable.Add("color", Color.Yellow); hashtable.Add("name", "label2"); hashtable.Add("text", "Rule"); label2 = comm.getLabel(hashtable, rule); hashtable = new Hashtable(); hashtable.Add("width", 500); hashtable.Add("point", new Point(0, 25)); hashtable.Add("color", Color.White); hashtable.Add("name", "comboBox1"); hashtable.Add("click", (EventHandler)Member_click); comboBox1 = comm.getComboBox(hashtable, member); hashtable = new Hashtable(); hashtable.Add("width", 485); hashtable.Add("point", new Point(0, 25)); hashtable.Add("color", Color.White); hashtable.Add("name", "comboBox2"); hashtable.Add("click", (EventHandler)Rule_click); comboBox2 = comm.getComboBox(hashtable, rule); hashtable = new Hashtable(); hashtable.Add("size", new Size(1000, 555)); hashtable.Add("point", new Point(0, 0)); hashtable.Add("color", Color.Red); hashtable.Add("name", "list"); list = comm.getPanel(hashtable, mapping); hashtable = new Hashtable(); hashtable.Add("color", Color.White); hashtable.Add("name", "listView"); hashtable.Add("click", (MouseEventHandler)listView_click); listView = comm.getListView(hashtable, list); hashtable = new Hashtable(); hashtable.Add("size", new Size(1000, 100)); hashtable.Add("point", new Point(0, 555)); hashtable.Add("color", Color.Yellow); hashtable.Add("name", "controll"); controll = comm.getPanel(hashtable, mapping); hashtable = new Hashtable(); hashtable.Add("width", 100); hashtable.Add("point", new Point(0, 0)); hashtable.Add("color", Color.Silver); hashtable.Add("name", "textBox1"); hashtable.Add("enabled", false); textBox1 = comm.getTextBox(hashtable, controll); hashtable = new Hashtable(); hashtable.Add("width", 100); hashtable.Add("point", new Point(100, 0)); hashtable.Add("color", Color.Silver); hashtable.Add("name", "textBox2"); hashtable.Add("enabled", false); textBox2 = comm.getTextBox(hashtable, controll); hashtable = new Hashtable(); hashtable.Add("size", new Size(100, 50)); hashtable.Add("point", new Point(200, 0)); hashtable.Add("color", Color.White); hashtable.Add("name", "btn1"); hashtable.Add("text", "추가"); hashtable.Add("click", (EventHandler)btn1_click); btn1 = comm.getButton(hashtable, controll); hashtable = new Hashtable(); hashtable.Add("size", new Size(100, 50)); hashtable.Add("point", new Point(300, 0)); hashtable.Add("color", Color.White); hashtable.Add("name", "btn2"); hashtable.Add("text", "삭제"); hashtable.Add("click", (EventHandler)btn2_click); btn2 = comm.getButton(hashtable, controll); hashtable = new Hashtable(); hashtable.Add("size", new Size(100, 50)); hashtable.Add("point", new Point(400, 0)); hashtable.Add("color", Color.White); hashtable.Add("name", "btn3"); hashtable.Add("text", "초기화"); hashtable.Add("click", (EventHandler)btn3_click); btn3 = comm.getButton(hashtable, controll); GetSelect(); }