private void GranulometryTableForm_Load(object sender, EventArgs e) { lblMessage.Text = ""; _selectedColumns = new List<TableSelectedColumns>(); if (Table == null) { Table = new GranulometryItemTable(); } loadFeaureLayers(); if (this.isUpdate) loadSavedValues(); }
private void btnCancel_Click(object sender, EventArgs e) { if (!this.isUpdate) { Table = null; } this.Close(); }
public GranulometryTableForm(GranulometryItemTable item) { InitializeComponent(); this.Table = item; this.isUpdate = true; }
private void btnDeleteTable_Click(object sender, EventArgs e) { isUpdate = true; Table = null; this.Close(); }