Ejemplo n.º 1
0
 public bool ShowSelTableFieldForm(TDatasetItem DatasetItem, MWizard.fmServerWzd.GetFieldNamesExFunc GetFieldNameEx, ListView DestListView, DbConnection Conn, ClientType DatabaseType)
 {
     FDatasetItem = DatasetItem;
     FDatasetItem.AddAll = false;
     FDatabaseName = FDatasetItem.DatabaseName;
     FTableName = FDatasetItem.TableName;
     FDestListView = DestListView;
     FGetFieldNamesExFunc = GetFieldNameEx;
     FConnection = Conn;
     FDatabaseType = DatabaseType;
     Init();
     return ShowDialog() == DialogResult.OK;
 }
Ejemplo n.º 2
0
 public TJQueryToJQMobileFormData(MWizard.fmJQueryToJQMobile Owner)
 {
     FOwner = Owner;
     FBlocks = new TBlockItems(this);
 }
Ejemplo n.º 3
0
 public TJQueryWebFormData(MWizard.fmJQueryWebForm Owner)
 {
     FOwner = Owner;
     FBlocks = new TBlockItems(this);
 }
Ejemplo n.º 4
0
 public TWebClientData(MWizard.fmEEPWebWizard Owner)
 {
     FOwner = Owner;
     FBlocks = new TBlockItems(this);
 }
Ejemplo n.º 5
0
 public TExtClientData(MWizard.fmExtClientWizard Owner)
 {
     FOwner = Owner;
     FBlocks = new TBlockItems(this);
     FDataSetList = new List<InfoDataSet>();
     FBindingSourceList = new List<InfoBindingSource>();
 }
Ejemplo n.º 6
0
 public TSLClientData(MWizard.fmSLClientWizard Owner)
 {
     FOwner = Owner;
     FBlocks = new TBlockItems(this);
 }
Ejemplo n.º 7
0
 public TWCFServerData(MWizard.fmServerWzd Owner)
 {
     FDatasetCollection = new TWCFDatasetCollection(this);
     FOwner = Owner;
 }
Ejemplo n.º 8
0
 public bool ShowSelTableFieldForm(TWCFDetailItem DetailItem, ListView DestListView, MWizard.fmClientWzard.RearrangeRefValButtonFunc RearrangeRefValButton, EventHandler RefValButtonEvent,  List<COLDEFInfo> colDefObjects, string assemblyName, string commandName)
 {
     FDetailItem = DetailItem;
     FTableName = FDetailItem.EntityName;
     FDestListView = DestListView;
     FRearrangeRefValButtonFunc = RearrangeRefValButton;
     FRefValClickEvent = RefValButtonEvent;
     FClientField = true;
     ColDefObjects = colDefObjects;
     _AssemblyName = assemblyName;
     _CommandName = commandName;
     Init();
     return ShowDialog() == DialogResult.OK;
 }
Ejemplo n.º 9
0
 public TRDLCWizardData(MWizard.fmRDLCWizard Owner)
 {
     FOwner = Owner;
     FBlocks = new TBlockItems(this);
 }
Ejemplo n.º 10
0
 public TDevExpressData(MWizard.fmDevExpress Owner)
 {
     FOwner = Owner;
     FBlocks = new TBlockItems(this);
 }
Ejemplo n.º 11
0
 public bool ShowSelTableFieldForm(TDetailItem DetailItem, MWizard.fmClientWzard.GetFieldNamesFunc GetFieldName, ListView DestListView, DbConnection Conn, MWizard.fmClientWzard.RearrangeRefValButtonFunc RearrangeRefValButton, EventHandler RefValButtonEvent, ClientType DatabaseType)
 {
     FDetailItem = DetailItem;
     FTableName = FDetailItem.RealTableName;
     FDataSetName = FDetailItem.TableName;
     FDestListView = DestListView;
     FGetFieldNamesFunc = GetFieldName;
     FRearrangeRefValButtonFunc = RearrangeRefValButton;
     FRefValClickEvent = RefValButtonEvent;
     FConnection = Conn;
     FDatabaseType = DatabaseType;
     Init();
     FClientField = true;
     return ShowDialog() == DialogResult.OK;
 }
Ejemplo n.º 12
0
 public Boolean ShowSelTableFieldForm(TBlockItem BlockItem,
     MWizard.fmClientWzard.GetFieldNamesFunc GetFieldName, ListView DestListView, DbConnection Conn,
     MWizard.fmClientWzard.RearrangeRefValButtonFunc RearrangeRefValButton, EventHandler RefValButtonEvent,
     ClientType DatabaseType)
 {
     FBlockItem = BlockItem;
     FTableName = BlockItem.TableName;
     if (BlockItem.ProviderName == null)
     {
         MessageBox.Show("Please select a binding source first.");
         return false;
     }
     else if (BlockItem.ProviderName == String.Empty)
     {
         MessageBox.Show("Please select a DataMember first.");
         return false;
     }
     FDataSetName = BlockItem.ProviderName;
     if (FDataSetName.IndexOf('.') > -1)
         WzdUtils.GetToken(ref FDataSetName, new char[] { '.' });
     FDestListView = DestListView;
     FGetFieldNamesFunc = GetFieldName;
     FRearrangeRefValButtonFunc = RearrangeRefValButton;
     FRefValClickEvent = RefValButtonEvent;
     FConnection = Conn;
     FDatabaseType = DatabaseType;
     FClientField = true;
     if (Init())
         return ShowDialog() == DialogResult.OK;
     else
         return false;
 }