protected override void OnPress(IntCoordinate c) { var rows = new Variable<int>(3); var columns = new Variable<int>(3); var dialog = new TableDialog(rows, columns); dialog.ShowAll(); if (dialog.Run() == ResponseType.Ok) { SliceData.CreateTable(c, rows.Value, columns.Value); Redraw(); } dialog.Destroy(); }
override protected void OnPress(IntCoordinate c) { var rows = new Variable <int>(3); var columns = new Variable <int>(3); var dialog = new TableDialog(rows, columns); dialog.ShowAll(); if (dialog.Run() == ResponseType.Ok) { SliceData.CreateTable(c, rows.Value, columns.Value); Redraw(); } dialog.Destroy(); }