namespace ElevationPoint
{
public partial class frmnewelevation : Form
public static frmsplitscreen staticsplitscreenForm = null;
private string name1;
public string Name1
get { return name1; }
set { name1 = value; }
}
public frmnewelevation()
InitializeComponent();
public frmnewelevation(FormInfo info)
DIVBOX.SelectedItem = info.div;
PreBox.Text = info.pre;
SufBox.Text = info.post;
private void saveData()
throw new NotImplementedException();
private void MessageBox(string p)
private void mainmenu_Click(object sender, EventArgs e)
frmmainmenu.staticmainmenuForm.Show();
private void mbNext_Click(object sender, EventArgs e)
FormInfo info = new FormInfo();
info.div = DIVBOX.SelectedValue.ToString();
info.pre = PreBox.Text;
info.post = SufBox.Text;
this.name1 = DIVBOX.SelectedValue.ToString() + PreBox.Text + SufBox.Text + HIGHMPTEXT.Text + LOWMPTEXT.Text;
Boolean allOK = false;
if (((HIGHMPTEXT.Text.Length > 0) && (LOWMPTEXT.Text.Length > 0)) && ((PreBox.Text.Length > 0) || (SufBox.Text.Length > 0)))
allOK = true;
if (allOK)
saveData();
else
MessageBox("Missing Value, Check all text entries");
frmsplitscreen frm = new frmsplitscreen();
frm.info = info;
frm.Show();