private void OpenSymbolEditControl() { //var name = gridGroup.Rows[gridGroup.CurrentRow.Index].Cells[0].Value; //Console.WriteLine(gridGroup.CurrentCell.ColumnIndex); _symbolsEditControl = new SymbolsEditControl(_client.UserID) {Commands = _commands}; _symbolsEditControl.UpdateSymbolsEvent += SymbolsEditControl_UpdateSymbolsEvent; _symbolsEditControl.UpdateGroupsEvent += SymbolsEditControl_UpdateGroupsEvent; ShowModalPanel(_symbolsEditControl, DevComponents.DotNetBar.Controls.eSlideSide.Right); }
private void CloseAddSymbolControl() { if (_symbolsEditControl == null) return; CloseModalPanel(_symbolsEditControl, DevComponents.DotNetBar.Controls.eSlideSide.Right); _symbolsEditControl.Dispose(); _symbolsEditControl = null; }
private void OpenSymbolEditControl() { _symbolsEditControl = new SymbolsEditControl(_client.UserID) {Commands = _commands}; _symbolsEditControl.UpdateSymbolsEvent += SymbolsEditControl_UpdateSymbolsEvent; _symbolsEditControl.UpdateGroupsEvent += SymbolsEditControl_UpdateGroupsEvent; ShowModalPanel(_symbolsEditControl, DevComponents.DotNetBar.Controls.eSlideSide.Right); }