public void method_2(XmlCmdParameter xmlCmdParameter_0) { try { this.txtName.Text = xmlCmdParameter_0.Name; this.cboDbType.Text = xmlCmdParameter_0.Type.ToString(); this.cboDirection.Text = xmlCmdParameter_0.Direction.ToString(); this.nudSize.Value = xmlCmdParameter_0.Size; } catch { } }
private void method_1(ListViewItem listViewItem_0, XmlCmdParameter xmlCmdParameter_0) { listViewItem_0.Text = xmlCmdParameter_0.Name; listViewItem_0.SubItems[1].Text = xmlCmdParameter_0.Type.ToString(); listViewItem_0.SubItems[2].Text = xmlCmdParameter_0.Direction.ToString(); listViewItem_0.SubItems[3].Text = xmlCmdParameter_0.Size.ToString(); listViewItem_0.Tag = xmlCmdParameter_0; }
private ListViewItem method_0(XmlCmdParameter xmlCmdParameter_0) { ListViewItem item = new ListViewItem(xmlCmdParameter_0.Name, 0); item.SubItems.Add(xmlCmdParameter_0.Type.ToString()); item.SubItems.Add(xmlCmdParameter_0.Direction.ToString()); item.SubItems.Add(xmlCmdParameter_0.Size.ToString()); item.Tag = xmlCmdParameter_0; return item; }