C# trying to override ShowDialog()
<p>I am very weak in overriding, overloading etc. so I couldn't handle this. My problem is this,</p>

<p>I have a frmDialog. It is only used to show the process messages, error messages etc. It takes its text from log, so I don't need to pass a variable to it. After each process(on other forms), I create this form and call ofrmDialog.ShowDialog(). My problem is that, even when the text is empty, this dialog box opens and shows nothing. So I wanted to override this ShowDialog. ShowDialog returns DialogResult, so I really can't figure out how to do this.</p>

<pre><code>public override DialogResult ShowDialog(){
    if(this.Text != string.Empty){
    return base.ShowDialog();
    }
    else{
    //don't do anything
    }
}
</code></pre>

<p>What do I return when there is else? I really can't understand this.  </p>
