Exemplo n.º 1
0
        private void PopulateDryingMaterialList()
        {
            this.listViewMaterials.Items.Clear();
            string typeFilterStr    = this.comboBoxTypes.SelectedItem.ToString();
            string userDefFilterStr = this.comboBoxUserDef.SelectedItem.ToString();

            if (typeFilterStr.Equals(UI.STR_ALL) && userDefFilterStr.Equals(UI.STR_ALL))
            {
                this.PopulateIt(DryingMaterialCatalog.GetInstance().GetDryingMaterialList());
            }
            else if (typeFilterStr.Equals(UI.STR_ALL) && !userDefFilterStr.Equals(UI.STR_ALL))
            {
                bool userDef = UI.GetUserDefinedAsBool(userDefFilterStr);
                this.PopulateIt(DryingMaterialCatalog.GetInstance().GetDryingMaterialList(userDef));
            }
            else if (!typeFilterStr.Equals(UI.STR_ALL) && userDefFilterStr.Equals(UI.STR_ALL))
            {
                MaterialType type = DryingMaterialsControl.GetDryingMaterialTypeAsEnum(typeFilterStr);
                this.PopulateIt(DryingMaterialCatalog.GetInstance().GetDryingMaterialList(type));
            }
            else
            {
                bool         userDef = UI.GetUserDefinedAsBool(userDefFilterStr);
                MaterialType type    = DryingMaterialsControl.GetDryingMaterialTypeAsEnum(typeFilterStr);
                this.PopulateIt(DryingMaterialCatalog.GetInstance().GetDryingMaterialList(userDef, type));
            }
        }
Exemplo n.º 2
0
 private void comboBoxType_SelectedIndexChanged(object sender, System.EventArgs e)
 {
     if (!this.inConstruction)
     {
         string       matTypeStr  = this.comboBoxType.SelectedItem as string;
         MaterialType matTypeEnum = DryingMaterialsControl.GetDryingMaterialTypeAsEnum(matTypeStr);
         this.dryingMaterialCache.SetMaterialType(matTypeEnum);
     }
 }
Exemplo n.º 3
0
 public void SetDryingMaterial(DryingMaterialCache dryingMaterialCache, INumericFormat iNumericFormat)
 {
     this.textBoxDMName.Text       = dryingMaterialCache.Name;
     this.textBoxUserDef.Text      = UI.GetBoolAsYesNo(dryingMaterialCache.IsUserDefined);
     this.textBoxMaterialType.Text = DryingMaterialsControl.GetDryingMaterialTypeAsString(dryingMaterialCache.MaterialType);
     this.textBoxMoisture.Text     = dryingMaterialCache.MoistureSubstance.ToString();
     this.SetMaterialComponents(dryingMaterialCache, iNumericFormat);
     this.readOnlyDuhringLinesControl.SetDuhringLinesCache(dryingMaterialCache, iNumericFormat);
     if (dryingMaterialCache.GetDuhringLinesCache() == null)
     {
         this.HideDuhringLinesUI();
     }
 }
Exemplo n.º 4
0
        public DefaultFlowsheetSettingsForm(MainForm mainForm, FlowsheetSettings newProcessSettings)
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();

            this.mainForm             = mainForm;
            this.newFlowsheetSettings = newProcessSettings;

            this.dryingMaterialsControl              = new ProsimoUI.MaterialsUI.DryingMaterialsControl();
            this.dryingMaterialsControl.Anchor       = System.Windows.Forms.AnchorStyles.Left;
            this.dryingMaterialsControl.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
            this.dryingMaterialsControl.Location     = new System.Drawing.Point(2, 34);
            this.dryingMaterialsControl.Name         = "dryingMaterialsControl";
            this.dryingMaterialsControl.Size         = new System.Drawing.Size(456, 349);
            this.dryingMaterialsControl.TabIndex     = 0;
            this.groupBoxSelectDryingMaterial.Controls.Add(this.dryingMaterialsControl);

            this.dryingMaterialsControl.Initialization();
            this.dryingMaterialsControl.ListViewMaterials.MultiSelect = false;
            this.dryingMaterialsControl.SelectDryingMaterial(this.newFlowsheetSettings.DryingMaterialName);

            this.comboBoxDryingFuel.Items.AddRange(FossilFuelCatalog.Instance.GetFossilFuelArray());
            this.comboBoxDryingFuel.SelectedIndex = 0;

            string materialName           = this.newFlowsheetSettings.DryingMaterialName;
            DryingMaterialCatalog catalog = DryingMaterialCatalog.Instance;

            if (!catalog.IsInCatalog(materialName))
            {
                materialName = DryingMaterial.GENERIC_DRYING_MATERIAL;
            }
            string moistureName = catalog.GetDryingMaterial(materialName).Moisture.ToString();

            this.textBoxMoisture.Text = moistureName;
            //string gasName = DryingGasCatalog.Instance.GetDryingGasForMoisture(moistureName).ToString();
            //this.textBoxDryingGas.Text = gasName;
            InitializeDryingGasComboBox(moistureName);
            InitializeDryingFuelComboBox(this.newFlowsheetSettings.FossilFuelName);

            this.textBoxDryingMaterial.Text = materialName;
            this.ResizeEnd += new EventHandler(NewProcessSettingsForm_ResizeEnd);
        }
Exemplo n.º 5
0
        private void PopulateIt(IList list)
        {
            IEnumerator en = list.GetEnumerator();

            while (en.MoveNext())
            {
                DryingMaterial dm  = (DryingMaterial)en.Current;
                ListViewItem   lvi = new ListViewItem();

                ListViewItem.ListViewSubItem lvsi = new ListViewItem.ListViewSubItem(lvi, dm.Name);
                lvi.SubItems.Insert(0, lvsi);

                string userDefStr = UI.GetBoolAsYesNo(dm.IsUserDefined);
                lvsi = new ListViewItem.ListViewSubItem(lvi, userDefStr);
                lvi.SubItems.Insert(1, lvsi);

                string typeStr = DryingMaterialsControl.GetDryingMaterialTypeAsString(dm.MaterialType);
                lvsi = new ListViewItem.ListViewSubItem(lvi, typeStr);
                lvi.SubItems.Insert(2, lvsi);

                this.listViewMaterials.Items.Add(lvi);
            }
        }
Exemplo n.º 6
0
        public AddOrEditDryingMaterialForm(DryingMaterial dryingMaterial, INumericFormat numericFormat)
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();

            this.inConstruction = true;
            this.iNumericFormat = numericFormat;

            // populate the moisture substance combobox
            IEnumerator en = SubstanceCatalog.GetInstance().GetMoistureSubstanceList().GetEnumerator();

            while (en.MoveNext())
            {
                Substance substance = (Substance)en.Current;
                this.comboBoxMoistureSubstance.Items.Add(substance);
            }
            this.comboBoxMoistureSubstance.SelectedIndex = 0;

            if (dryingMaterial == null)
            {
                // new
                this.isNew = true;
                this.Text  = "New Drying Material";

                this.dryingMaterialCache = new DryingMaterialCache(DryingMaterialCatalog.GetInstance());
                this.textBoxName.Text    = "New Drying Material";

                // populate the material type combobox
                this.comboBoxType.Items.Add(DryingMaterialsControl.STR_MAT_TYPE_GENERIC_MATERIAL);
                this.comboBoxType.Items.Add(DryingMaterialsControl.STR_MAT_TYPE_GENERIC_FOOD);
//            this.comboBoxType.Items.Add(DryingMaterialsControl.STR_MAT_TYPE_SPECIAL_FOOD);
                this.comboBoxType.SelectedIndex = 0;

                string       matTypeStr  = this.comboBoxType.SelectedItem as string;
                MaterialType matTypeEnum = DryingMaterialsControl.GetDryingMaterialTypeAsEnum(matTypeStr);
                this.dryingMaterialCache.SetMaterialType(matTypeEnum);

                Substance subst = this.comboBoxMoistureSubstance.SelectedItem as Substance;
                this.dryingMaterialCache.MoistureSubstance = subst;
            }
            else
            {
                // edit
                this.isNew = false;
                this.Text  = "Edit Drying Material";

                this.dryingMaterialCache = new DryingMaterialCache(dryingMaterial, DryingMaterialCatalog.GetInstance());
                this.textBoxName.Text    = this.dryingMaterialCache.Name;

                // populate the material type combobox
                this.comboBoxType.Items.Add(DryingMaterialsControl.GetDryingMaterialTypeAsString(this.dryingMaterialCache.MaterialType));
                this.comboBoxType.SelectedIndex             = 0;
                this.comboBoxMoistureSubstance.SelectedItem = this.dryingMaterialCache.MoistureSubstance;
            }

            this.labelSpecificHeat.InitializeVariable(this.dryingMaterialCache.SpecificHeatOfAbsoluteDryMaterial);
            this.textBoxSpecificHeat.InitializeVariable(numericFormat, this.dryingMaterialCache.SpecificHeatOfAbsoluteDryMaterial);

            this.substancesControl.SubstancesToShow = SubstancesToShow.Material;
            this.dmComponentsControl.SetMaterialComponents(this.dryingMaterialCache, numericFormat);
            this.UpdateTheUI(this.dryingMaterialCache.MaterialType);

            this.dryingMaterialCache.MaterialTypeChanged      += new MaterialTypeChangedEventHandler(dryingMaterialCache_MaterialTypeChanged);
            this.dryingMaterialCache.MoistureSubstanceChanged += new MoistureSubstanceChangedEventHandler(dryingMaterialCache_MoistureSubstanceChanged);
            this.substancesControl.ListViewSubstances.SelectedIndexChanged += new EventHandler(ListViewSubstances_SelectedIndexChanged);

            this.inConstruction = false;
        }
Exemplo n.º 7
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DryingMaterialsForm));
     this._MainMenu               = new System.Windows.Forms.MainMenu(this.components);
     this._MenuItemClose          = new System.Windows.Forms.MenuItem();
     this._ButtonDuplicate        = new System.Windows.Forms.Button();
     this._ButtonDetails          = new System.Windows.Forms.Button();
     this._ButtonEdit             = new System.Windows.Forms.Button();
     this._ButtonDelete           = new System.Windows.Forms.Button();
     this._ButtonAdd              = new System.Windows.Forms.Button();
     this._GroupBox1              = new System.Windows.Forms.GroupBox();
     this._GroupBox2              = new System.Windows.Forms.GroupBox();
     this._DryingMaterialsControl = new ProsimoUI.MaterialsUI.DryingMaterialsControl();
     this._GroupBox1.SuspendLayout();
     this._GroupBox2.SuspendLayout();
     this.SuspendLayout();
     //
     // _MainMenu
     //
     this._MainMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this._MenuItemClose
     });
     //
     // _MenuItemClose
     //
     this._MenuItemClose.Index  = 0;
     this._MenuItemClose.Text   = "Close";
     this._MenuItemClose.Click += new System.EventHandler(this.OnMenuItemClose_Click);
     //
     // _ButtonDuplicate
     //
     this._ButtonDuplicate.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this._ButtonDuplicate.Location = new System.Drawing.Point(30, 124);
     this._ButtonDuplicate.Name     = "_ButtonDuplicate";
     this._ButtonDuplicate.Size     = new System.Drawing.Size(75, 23);
     this._ButtonDuplicate.TabIndex = 12;
     this._ButtonDuplicate.Text     = "Duplicate";
     this._ButtonDuplicate.Click   += new System.EventHandler(this.OnButtonDuplicate_Click);
     //
     // _ButtonDetails
     //
     this._ButtonDetails.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this._ButtonDetails.Location = new System.Drawing.Point(30, 237);
     this._ButtonDetails.Name     = "_ButtonDetails";
     this._ButtonDetails.Size     = new System.Drawing.Size(75, 23);
     this._ButtonDetails.TabIndex = 10;
     this._ButtonDetails.Text     = "View Details";
     this._ButtonDetails.Click   += new System.EventHandler(this.OnButtonDetails_Click);
     //
     // _ButtonEdit
     //
     this._ButtonEdit.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this._ButtonEdit.Location = new System.Drawing.Point(30, 182);
     this._ButtonEdit.Name     = "_ButtonEdit";
     this._ButtonEdit.Size     = new System.Drawing.Size(75, 23);
     this._ButtonEdit.TabIndex = 9;
     this._ButtonEdit.Text     = "Edit";
     this._ButtonEdit.Click   += new System.EventHandler(this.OnButtonEdit_Click);
     //
     // _ButtonDelete
     //
     this._ButtonDelete.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this._ButtonDelete.Location = new System.Drawing.Point(30, 70);
     this._ButtonDelete.Name     = "_ButtonDelete";
     this._ButtonDelete.Size     = new System.Drawing.Size(75, 23);
     this._ButtonDelete.TabIndex = 8;
     this._ButtonDelete.Text     = "Delete";
     this._ButtonDelete.Click   += new System.EventHandler(this.OnButtonDelete_Click);
     //
     // _ButtonAdd
     //
     this._ButtonAdd.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this._ButtonAdd.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this._ButtonAdd.Location     = new System.Drawing.Point(30, 16);
     this._ButtonAdd.Name         = "_ButtonAdd";
     this._ButtonAdd.Size         = new System.Drawing.Size(75, 23);
     this._ButtonAdd.TabIndex     = 7;
     this._ButtonAdd.Text         = "Add";
     this._ButtonAdd.Click       += new System.EventHandler(this.OnButtonAdd_Click);
     //
     // _GroupBox1
     //
     this._GroupBox1.Controls.Add(this._ButtonDuplicate);
     this._GroupBox1.Controls.Add(this._ButtonDetails);
     this._GroupBox1.Controls.Add(this._ButtonAdd);
     this._GroupBox1.Controls.Add(this._ButtonEdit);
     this._GroupBox1.Controls.Add(this._ButtonDelete);
     this._GroupBox1.Dock     = System.Windows.Forms.DockStyle.Right;
     this._GroupBox1.Location = new System.Drawing.Point(464, 0);
     this._GroupBox1.Margin   = new System.Windows.Forms.Padding(0);
     this._GroupBox1.Name     = "_GroupBox1";
     this._GroupBox1.Padding  = new System.Windows.Forms.Padding(0);
     this._GroupBox1.Size     = new System.Drawing.Size(126, 415);
     this._GroupBox1.TabIndex = 14;
     this._GroupBox1.TabStop  = false;
     //
     // _GroupBox2
     //
     this._GroupBox2.Controls.Add(this._DryingMaterialsControl);
     this._GroupBox2.Dock     = System.Windows.Forms.DockStyle.Fill;
     this._GroupBox2.Location = new System.Drawing.Point(0, 0);
     this._GroupBox2.Name     = "_GroupBox2";
     this._GroupBox2.Size     = new System.Drawing.Size(464, 415);
     this._GroupBox2.TabIndex = 15;
     this._GroupBox2.TabStop  = false;
     //
     // _DryingMaterialsControl
     //
     this._DryingMaterialsControl.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this._DryingMaterialsControl.Dock         = System.Windows.Forms.DockStyle.Fill;
     this._DryingMaterialsControl.Location     = new System.Drawing.Point(3, 16);
     this._DryingMaterialsControl.Name         = "_DryingMaterialsControl";
     this._DryingMaterialsControl.Size         = new System.Drawing.Size(458, 396);
     this._DryingMaterialsControl.TabIndex     = 13;
     //
     // DryingMaterialsForm
     //
     this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.ClientSize   = new System.Drawing.Size(590, 415);
     this.Controls.Add(this._GroupBox2);
     this.Controls.Add(this._GroupBox1);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox   = false;
     this.Menu          = this._MainMenu;
     this.MinimizeBox   = false;
     this.Name          = "DryingMaterialsForm";
     this.ShowInTaskbar = false;
     this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Show;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Drying Material Catalog";
     this._GroupBox1.ResumeLayout(false);
     this._GroupBox2.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Exemplo n.º 8
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DefaultFlowsheetSettingsForm));
     this.panel                        = new System.Windows.Forms.Panel();
     this.buttonCancel                 = new System.Windows.Forms.Button();
     this.buttonOK                     = new System.Windows.Forms.Button();
     this.groupBoxSelected             = new System.Windows.Forms.GroupBox();
     this.comboBoxDryingGas            = new System.Windows.Forms.ComboBox();
     this.textBoxMoisture              = new System.Windows.Forms.TextBox();
     this.labelMoisture                = new System.Windows.Forms.Label();
     this.textBoxDryingMaterial        = new System.Windows.Forms.TextBox();
     this.labelDryingGas               = new System.Windows.Forms.Label();
     this.labelDryingMaterial          = new System.Windows.Forms.Label();
     this.groupBoxSelectDryingMaterial = new System.Windows.Forms.GroupBox();
     this.buttonDetails                = new System.Windows.Forms.Button();
     this.buttonSetDryingMaterial      = new System.Windows.Forms.Button();
     this.dryingMaterialsControl       = new ProsimoUI.MaterialsUI.DryingMaterialsControl();
     this.panel.SuspendLayout();
     this.groupBoxSelected.SuspendLayout();
     this.groupBoxSelectDryingMaterial.SuspendLayout();
     this.SuspendLayout();
     //
     // panel
     //
     this.panel.Controls.Add(this.buttonCancel);
     this.panel.Controls.Add(this.buttonOK);
     this.panel.Controls.Add(this.groupBoxSelected);
     this.panel.Controls.Add(this.groupBoxSelectDryingMaterial);
     this.panel.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel.Location = new System.Drawing.Point(0, 0);
     this.panel.Margin   = new System.Windows.Forms.Padding(5);
     this.panel.Name     = "panel";
     this.panel.Padding  = new System.Windows.Forms.Padding(3);
     this.panel.Size     = new System.Drawing.Size(494, 571);
     this.panel.TabIndex = 0;
     //
     // buttonCancel
     //
     this.buttonCancel.Location = new System.Drawing.Point(387, 539);
     this.buttonCancel.Name     = "buttonCancel";
     this.buttonCancel.Size     = new System.Drawing.Size(75, 23);
     this.buttonCancel.TabIndex = 6;
     this.buttonCancel.Text     = "Cancel";
     this.buttonCancel.Click   += new System.EventHandler(this.buttonCancel_Click);
     //
     // buttonOK
     //
     this.buttonOK.Location = new System.Drawing.Point(279, 539);
     this.buttonOK.Name     = "buttonOK";
     this.buttonOK.Size     = new System.Drawing.Size(75, 23);
     this.buttonOK.TabIndex = 3;
     this.buttonOK.Text     = "OK";
     this.buttonOK.Click   += new System.EventHandler(this.buttonOK_Click);
     //
     // groupBoxSelected
     //
     this.groupBoxSelected.Controls.Add(this.comboBoxDryingGas);
     this.groupBoxSelected.Controls.Add(this.textBoxMoisture);
     this.groupBoxSelected.Controls.Add(this.labelMoisture);
     this.groupBoxSelected.Controls.Add(this.textBoxDryingMaterial);
     this.groupBoxSelected.Controls.Add(this.labelDryingGas);
     this.groupBoxSelected.Controls.Add(this.labelDryingMaterial);
     this.groupBoxSelected.Location = new System.Drawing.Point(16, 442);
     this.groupBoxSelected.Name     = "groupBoxSelected";
     this.groupBoxSelected.Size     = new System.Drawing.Size(462, 91);
     this.groupBoxSelected.TabIndex = 5;
     this.groupBoxSelected.TabStop  = false;
     this.groupBoxSelected.Text     = "Select Drying Gas for Default Flowsheet";
     //
     // comboBoxDryingGas
     //
     this.comboBoxDryingGas.FormattingEnabled = true;
     this.comboBoxDryingGas.Location          = new System.Drawing.Point(103, 25);
     this.comboBoxDryingGas.Name     = "comboBoxDryingGas";
     this.comboBoxDryingGas.Size     = new System.Drawing.Size(141, 21);
     this.comboBoxDryingGas.TabIndex = 19;
     //
     // textBoxMoisture
     //
     this.textBoxMoisture.BackColor = System.Drawing.SystemColors.Control;
     this.textBoxMoisture.Location  = new System.Drawing.Point(322, 25);
     this.textBoxMoisture.Name      = "textBoxMoisture";
     this.textBoxMoisture.ReadOnly  = true;
     this.textBoxMoisture.Size      = new System.Drawing.Size(100, 20);
     this.textBoxMoisture.TabIndex  = 18;
     //
     // labelMoisture
     //
     this.labelMoisture.Location  = new System.Drawing.Point(260, 26);
     this.labelMoisture.Name      = "labelMoisture";
     this.labelMoisture.Size      = new System.Drawing.Size(56, 19);
     this.labelMoisture.TabIndex  = 17;
     this.labelMoisture.Text      = "Moisture:";
     this.labelMoisture.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // textBoxDryingMaterial
     //
     this.textBoxDryingMaterial.BackColor = System.Drawing.SystemColors.Control;
     this.textBoxDryingMaterial.Location  = new System.Drawing.Point(103, 57);
     this.textBoxDryingMaterial.Name      = "textBoxDryingMaterial";
     this.textBoxDryingMaterial.ReadOnly  = true;
     this.textBoxDryingMaterial.Size      = new System.Drawing.Size(319, 20);
     this.textBoxDryingMaterial.TabIndex  = 16;
     //
     // labelDryingGas
     //
     this.labelDryingGas.Location  = new System.Drawing.Point(15, 27);
     this.labelDryingGas.Name      = "labelDryingGas";
     this.labelDryingGas.Size      = new System.Drawing.Size(84, 16);
     this.labelDryingGas.TabIndex  = 13;
     this.labelDryingGas.Text      = "Drying Gas:";
     this.labelDryingGas.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // labelDryingMaterial
     //
     this.labelDryingMaterial.Location  = new System.Drawing.Point(15, 57);
     this.labelDryingMaterial.Name      = "labelDryingMaterial";
     this.labelDryingMaterial.Size      = new System.Drawing.Size(84, 16);
     this.labelDryingMaterial.TabIndex  = 15;
     this.labelDryingMaterial.Text      = "Drying Material:";
     this.labelDryingMaterial.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // groupBoxSelectDryingMaterial
     //
     this.groupBoxSelectDryingMaterial.Controls.Add(this.buttonDetails);
     this.groupBoxSelectDryingMaterial.Controls.Add(this.buttonSetDryingMaterial);
     this.groupBoxSelectDryingMaterial.Controls.Add(this.dryingMaterialsControl);
     this.groupBoxSelectDryingMaterial.Location = new System.Drawing.Point(14, 12);
     this.groupBoxSelectDryingMaterial.Name     = "groupBoxSelectDryingMaterial";
     this.groupBoxSelectDryingMaterial.Size     = new System.Drawing.Size(464, 424);
     this.groupBoxSelectDryingMaterial.TabIndex = 4;
     this.groupBoxSelectDryingMaterial.TabStop  = false;
     this.groupBoxSelectDryingMaterial.Text     = "Select Drying Material for Default Flowsheet";
     //
     // buttonDetails
     //
     this.buttonDetails.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.buttonDetails.Location = new System.Drawing.Point(130, 389);
     this.buttonDetails.Name     = "buttonDetails";
     this.buttonDetails.Size     = new System.Drawing.Size(75, 23);
     this.buttonDetails.TabIndex = 11;
     this.buttonDetails.Text     = "View Details";
     this.buttonDetails.Click   += new System.EventHandler(this.buttonDetails_Click);
     //
     // buttonSetDryingMaterial
     //
     this.buttonSetDryingMaterial.Location = new System.Drawing.Point(265, 389);
     this.buttonSetDryingMaterial.Name     = "buttonSetDryingMaterial";
     this.buttonSetDryingMaterial.Size     = new System.Drawing.Size(75, 23);
     this.buttonSetDryingMaterial.TabIndex = 2;
     this.buttonSetDryingMaterial.Text     = "Set";
     this.buttonSetDryingMaterial.Click   += new System.EventHandler(this.buttonSetDryingMaterial_Click);
     //
     // dryingMaterialsControl
     //
     this.dryingMaterialsControl.Anchor       = System.Windows.Forms.AnchorStyles.Left;
     this.dryingMaterialsControl.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.dryingMaterialsControl.Location     = new System.Drawing.Point(2, 34);
     this.dryingMaterialsControl.Name         = "dryingMaterialsControl";
     this.dryingMaterialsControl.Size         = new System.Drawing.Size(456, 349);
     this.dryingMaterialsControl.TabIndex     = 0;
     //
     // DefaultFlowsheetSettingsForm
     //
     this.ClientSize = new System.Drawing.Size(494, 571);
     this.Controls.Add(this.panel);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "DefaultFlowsheetSettingsForm";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Set Default Flowsheet Settings";
     this.panel.ResumeLayout(false);
     this.groupBoxSelected.ResumeLayout(false);
     this.groupBoxSelected.PerformLayout();
     this.groupBoxSelectDryingMaterial.ResumeLayout(false);
     this.ResumeLayout(false);
 }