Пример #1
0
        public static bool EditStorageAccount(string sAccountName, Settings.SettingsElt[] rgsteeAccount)
        {
            AzAddAccount azaa = new AzAddAccount(rgsteeAccount);
            azaa.LoadSettings(sAccountName);
            azaa.ShowDialog();

            return true;
        }
Пример #2
0
        public static bool EditStorageAccount(string sAccountName, Settings.SettingsElt[] rgsteeAccount)
        {
            AzAddAccount azaa = new AzAddAccount(rgsteeAccount, "Software\\Thetasoft\\AzLog");

            azaa.LoadSettings(sAccountName);
            azaa.ShowDialog();

            return(true);
        }
Пример #3
0
        /* D O  A D D  E D I T  A C C O U N T */

        /*----------------------------------------------------------------------------
        *       %%Function: DoAddEditAccount
        *       %%Qualified: AzLog.AzAddDatasource_Azure.DoAddEditAccount
        *       %%Contact: rlittle
        *
        *  ----------------------------------------------------------------------------*/
        private void DoAddEditAccount(object sender, EventArgs e)
        {
            if (m_cbAccounts.SelectedIndex == -1)
            {
                AzAddAccount.AddStorageAccount(AzLogAzureTable.AccountSettingsDef());
                m_cbAccounts.Items.Clear();
                PopulateAccounts();
            }
            else
            {
                AzAddAccount.EditStorageAccount((string)m_cbAccounts.SelectedItem, AzLogAzureTable.AccountSettingsDef());
            }
        }
Пример #4
0
        /* A D D  S T O R A G E  A C C O U N T */
        /*----------------------------------------------------------------------------
            %%Function: AddStorageAccount
            %%Qualified: AzLog.AzAddAccount.AddStorageAccount
            %%Contact: rlittle

        ----------------------------------------------------------------------------*/
        public static bool AddStorageAccount(Settings.SettingsElt[] rgsteeAccount)
        {
            AzAddAccount azaa = new AzAddAccount(rgsteeAccount);

            return azaa.ShowDialog() == System.Windows.Forms.DialogResult.OK;
        }
Пример #5
0
        /* A D D  S T O R A G E  A C C O U N T */

        /*----------------------------------------------------------------------------
        *       %%Function: AddStorageAccount
        *       %%Qualified: AzLog.AzAddAccount.AddStorageAccount
        *       %%Contact: rlittle
        *
        *  ----------------------------------------------------------------------------*/
        public static bool AddStorageAccount(Settings.SettingsElt[] rgsteeAccount)
        {
            AzAddAccount azaa = new AzAddAccount(rgsteeAccount, "Software\\Thetasoft\\AzLog");

            return(azaa.ShowDialog() == System.Windows.Forms.DialogResult.OK);
        }