Ejemplo n.º 1
0
        protected void OnButtonAddClicked(object sender, EventArgs e)
        {
            ExtraField win = new ExtraField();

            win.TableName = entryDBTable.Text;
            win.DocTypeID = TypeId;
            win.Show();
            if ((ResponseType)win.Run() == ResponseType.Ok)
            {
                UpdateFields();
            }
            win.Destroy();
        }
Ejemplo n.º 2
0
        protected void OnButtonEditClicked(object sender, EventArgs e)
        {
            TreeIter iter;

            treeviewFields.Selection.GetSelected(out iter);
            int ItemId = (int)FieldsListStore.GetValue(iter, 0);

            ExtraField win = new ExtraField();

            win.TableName = entryDBTable.Text;
            win.DocTypeID = TypeId;
            win.Fill(ItemId);
            win.Show();
            if ((ResponseType)win.Run() == ResponseType.Ok)
            {
                UpdateFields();
            }
            win.Destroy();
        }
Ejemplo n.º 3
0
        protected void OnButtonEditClicked(object sender, EventArgs e)
        {
            TreeIter iter;
            treeviewFields.Selection.GetSelected(out iter);
            int ItemId = (int)FieldsListStore.GetValue(iter, 0);

            ExtraField win = new ExtraField();
            win.TableName = entryDBTable.Text;
            win.DocTypeID = TypeId;
            win.Fill (ItemId);
            win.Show ();
            if((ResponseType)win.Run () == ResponseType.Ok)
                UpdateFields();
            win.Destroy ();
        }
Ejemplo n.º 4
0
 protected void OnButtonAddClicked(object sender, EventArgs e)
 {
     ExtraField win = new ExtraField();
     win.TableName = entryDBTable.Text;
     win.DocTypeID = TypeId;
     win.Show ();
     if((ResponseType)win.Run () == ResponseType.Ok)
         UpdateFields();
     win.Destroy ();
 }