Ejemplo n.º 1
0
 protected void OnButtonAddClicked(object sender, EventArgs e)
 {
     CFFieldPropertys win = new CFFieldPropertys();
     win.TableName = CurrentTable.DBName;
     win.Show ();
     if ((Gtk.ResponseType)win.Run () == Gtk.ResponseType.Ok)
         TablesChanged ();
     win.Destroy ();
 }
Ejemplo n.º 2
0
        protected void OnButtonAddClicked(object sender, EventArgs e)
        {
            CFFieldPropertys win = new CFFieldPropertys();

            win.TableName = CurrentTable.DBName;
            win.Show();
            if ((Gtk.ResponseType)win.Run() == Gtk.ResponseType.Ok)
            {
                TablesChanged();
            }
            win.Destroy();
        }
Ejemplo n.º 3
0
        protected void OnButtonEditClicked(object sender, EventArgs e)
        {
            TreeIter iter;

            treeviewFields.Selection.GetSelected(out iter);
            int ItemId = (int)FieldsStore.GetValue(iter, (int)FieldsCol.id);

            CFFieldPropertys win = new CFFieldPropertys();

            win.TableName = CurrentTable.DBName;
            win.Fill(ItemId);
            win.Show();
            if ((Gtk.ResponseType)win.Run() == Gtk.ResponseType.Ok)
            {
                TablesChanged();
            }
            win.Destroy();
        }
Ejemplo n.º 4
0
        protected void OnButtonEditClicked(object sender, EventArgs e)
        {
            TreeIter iter;
            treeviewFields.Selection.GetSelected(out iter);
            int ItemId = (int)FieldsStore.GetValue(iter, (int)FieldsCol.id);

            CFFieldPropertys win = new CFFieldPropertys();
            win.TableName = CurrentTable.DBName;
            win.Fill (ItemId);
            win.Show ();
            if ((Gtk.ResponseType)win.Run () == Gtk.ResponseType.Ok)
                TablesChanged ();
            win.Destroy ();
        }