示例#1
0
        private void selTables_SelectItem(object sender, SEListBox.SelectItemEventArgs e)
        {
            var itm = selTables.ItemDatas[e.RowIndex] as ItemDataClass;
            var tc  = itm.Object as TableClass;

            selFields.ClearItems();
            foreach (var fld in tc.Fields.Values)
            {
                selFields.Add(fld.ToString(), fld.State, fld);
            }
        }
示例#2
0
        private void selFields_SelectItem(object sender, SEListBox.SelectItemEventArgs e)
        {
            var itm = selFields.ItemDatas[e.RowIndex] as ItemDataClass;
            var ob  = itm.Object as TableFieldClass;

            if (itm.Check == CheckState.Checked)
            {
                ob.State = CheckState.Unchecked;
            }
            else
            {
                ob.State = CheckState.Checked;
            }
        }
示例#3
0
 private void selStructureTables_SelectItem(object sender, SEListBox.SelectItemEventArgs e)
 {
     int i = e.RowIndex;
 }