public FormTopo(Application gmApp) { InitializeComponent(); _gmApp = gmApp; // user cannot check target features before connection and table are chosen cbxEdges.Enabled = false; cbxFaces.Enabled = false; cbxNodex.Enabled = false; // get connections and fill in a combo GMConnectionUtils connUtils = new GMConnectionUtils(_gmApp); connUtils.FillConnectionComboBox(cboConnection); // enable combo with tables, if there are connections cboTable.Enabled = cboConnection.Items.Count > 0; }
public void Initialize(Application gmApp, object gmViewListeners) { _gmApp = gmApp; }
public void Initialize(Application objApplication, GMViewListeners objViewListeners) { _app = objApplication; _viewListeners = objViewListeners; }