Ejemplo n.º 1
0
 public fmServerWzd()
 {
     InitializeComponent();
     FServerData = new TServerData(this);
     //PrepareWizardService();
     lvwColumnSorter = new ListViewColumnSorter();
     this.lvSelectedFields.ListViewItemSorter = lvwColumnSorter;
 }
Ejemplo n.º 2
0
 public fmServerWzd(DTE2 aDTE2, AddIn aAddIn, EEPWizard aEEPWizard)
 {
     InitializeComponent();
     FServerData = new TServerData(this);
     FDTE2 = aDTE2;
     FAddIn = aAddIn;
     FEEPWizard = aEEPWizard;
     //PrepareWizardService();
     lvwColumnSorter = new ListViewColumnSorter();
     this.lvSelectedFields.ListViewItemSorter = lvwColumnSorter;
 }
Ejemplo n.º 3
0
 public bool ShowSelTableFieldForm(TServerData ServerData, string DatabaseName, ref string TableName, DbConnection Conn)
 {
     FDatabaseName = DatabaseName;
     FTableName = TableName;
     FServerData = ServerData;
     FConnection = Conn;
     FDatabaseType = FServerData.DatabaseType;
     Init();
     DialogResult R = ShowDialog();
     if (R == DialogResult.OK)
         TableName = FTableName;
     return R == DialogResult.OK;
 }
Ejemplo n.º 4
0
 public TServerGenerator(TServerData ServerData, DTE2 aDTE, AddIn aAddIn)
 {
     FServerData = ServerData;
     FDTE2 = aDTE;
     FAddIn = aAddIn;
     switch (FServerData.Language)
     {
         case "cs":
             FTemplateName = Path.GetDirectoryName(FAddIn.Object.GetType().Assembly.Location) + "\\Templates\\ServerPackage\\ServerPackage.csproj";
             break;
         case "vb":
             FTemplateName = Path.GetDirectoryName(FAddIn.Object.GetType().Assembly.Location) + "\\Templates\\VBServerPackage\\VBServerPackage.vbproj";
             break;
         default:
             FTemplateName = Path.GetDirectoryName(FAddIn.Object.GetType().Assembly.Location) + "\\Templates\\ServerPackage\\ServerPackage.csproj";
             break;
     }
 }