CreateFoundationSlabs() public method

Create foundation slabs.
public CreateFoundationSlabs ( ) : bool
return bool
Ejemplo n.º 1
0
        /// <summary>
        /// Click ok button.
        /// </summary>
        /// <param name="sender">This object.</param>
        /// <param name="e">A object contains the event data.</param>
        private void okButton_Click(object sender, EventArgs e)
        {
            bool IsSuccess = m_datas.CreateFoundationSlabs();

            if (IsSuccess)
            {
                this.DialogResult = DialogResult.OK;
            }
            else
            {
                this.DialogResult = DialogResult.Cancel;
            }
            Close();
        }