public WebServiceControl() { // This call is required by the Windows.Forms Form Designer. InitializeComponent(); EnableVisualStyles.Enable(this); this.modulesControl.BringToFront(); }
public DataTypeDialog(bool addMode, ref DataRow datatypeRow, ref DataSet versionDataSet) { // Required for Windows Form Designer support InitializeComponent(); EnableVisualStyles.Enable(this); this.addMode = addMode; this.datatypeRow = datatypeRow; this.versionDataSet = versionDataSet; this.typeComboBox.DataSource = this.versionDataSet.Tables["tblDataType"]; this.directionComboBox.DataSource = this.versionDataSet.Tables["tblDirection"]; if (this.addMode) { this.okButton.Text = "Add"; this.Text = "Add New Data Type"; this.typeComboBox.SelectedIndex = 0; this.directionComboBox.SelectedIndex = 0; this.indexTextBox.Text = "1"; } else { this.okButton.Text = "Update"; this.Text = "Update Data Type"; this.nameTextBox.Text = this.datatypeRow["fldName"].ToString(); this.descriptionTextBox.Text = this.datatypeRow["fldDescription"].ToString(); this.typeComboBox.SelectedValue = long.Parse(this.datatypeRow["fldDataTypeID"].ToString()); this.directionComboBox.SelectedValue = long.Parse(this.datatypeRow["fldDirectionID"].ToString()); this.indexTextBox.Text = this.datatypeRow["fldIndex"].ToString(); } }
public ParameterDialog(bool addMode, ref DataRow parameterRow, DataTable parameterTypeTable) { // Required for Windows Form Designer support InitializeComponent(); EnableVisualStyles.Enable(this); this.addMode = addMode; this.parameterRow = parameterRow; this.parameterTypeTable = parameterTypeTable; this.typeComboBox.DataSource = this.parameterTypeTable; if (this.addMode) { this.okButton.Text = "Add"; this.Text = "Add New Parameter"; this.typeComboBox.SelectedIndex = 0; } else { this.okButton.Text = "Update"; this.Text = "Update Parameter"; this.nameTextBox.Text = this.parameterRow["fldName"].ToString(); this.descriptionTextBox.Text = this.parameterRow["fldDescription"].ToString(); this.typeComboBox.SelectedValue = long.Parse(this.parameterRow["fldParameterTypeID"].ToString()); if (this.optionalGroupBox.Enabled) { this.minTextBox.Text = this.parameterRow["fldMinimum"].ToString(); this.maxTextBox.Text = this.parameterRow["fldMaximum"].ToString(); } } }
public ModulesControl() { // This call is required by the Windows.Forms Form Designer. InitializeComponent(); EnableVisualStyles.Enable(this); this.SetupDataGrid(); }
public VersionsControl() { // This call is required by the Windows.Forms Form Designer. InitializeComponent(); EnableVisualStyles.Enable(this); this.versionColumn.Width = this.releaseColumn.Width = 100; }
public ClassificationDialog(bool addMode, ref DataRow classificationRow, ref DataSet versionDataSet) { // Required for Windows Form Designer support InitializeComponent(); EnableVisualStyles.Enable(this); this.addMode = addMode; this.classificationRow = classificationRow; this.versionDataSet = versionDataSet; this.structureComboBox.DataSource = versionDataSet.Tables["tblStructure"]; this.substructureComboBox.DataSource = versionDataSet.Tables["tblSubstructure"]; this.celltypeComboBox.DataSource = versionDataSet.Tables["tblCellType"]; if (addMode) { this.okButton.Text = "Add"; this.Text = "Add New Classification"; this.substructureComboBox.SelectedIndex = 0; } else { this.okButton.Text = "Update"; this.Text = "Update Classification"; this.structureComboBox.SelectedValue = long.Parse(this.classificationRow["fldStructureID"].ToString()); if (this.classificationRow["fldSubstructureID"].ToString() != "") { this.substructureComboBox.SelectedValue = long.Parse(this.classificationRow["fldSubstructureID"].ToString()); } else { this.substructureComboBox.SelectedIndex = 0; } if (classificationRow["fldCellTypeID"].ToString() != "") { this.celltypeComboBox.SelectedValue = long.Parse(this.classificationRow["fldCellTypeID"].ToString()); } else { this.celltypeComboBox.SelectedIndex = 0; } } }
public WebServiceDialog() { // Required for Windows Form Designer support InitializeComponent(); EnableVisualStyles.Enable(this); }