コード例 #1
0
ファイル: CellEditorTable.cs プロジェクト: radtek/datawf
        private void OnDropDownExClick(object sender, EventArgs e)
        {
            var row = GetItem(Editor.Value, EditItem);

            if (Editor != null && row != null)
            {
                using (var te = new TableExplorer())
                {
                    te.Initialize(row, TableEditorMode.Item, false);
                    te.ShowDialog(Editor);
                }
            }
        }
コード例 #2
0
 public override void ShowItemDialog(object item)
 {
     if (item is DBItem && ((DBItem)item).UpdateState == DBUpdateState.Default)
     {
         var explorer = new TableExplorer();
         explorer.Initialize((DBItem)item, TableEditorMode.Item, false);
         explorer.ShowDialog(this);
     }
     else
     {
         base.ShowItemDialog(item);
     }
 }