/// <summary> /// Windows Form Constructor when creating new Time Correction. /// </summary> /// <param name="Plugin">Plugin Host.</param> internal FormTimeCorrection(TrayTotpGTExt Plugin) { plugin = Plugin; //Defines variable from argument. InitializeComponent(); //Form Initialization. }
/// <summary> /// Windows Form Constructor when modifying existing Time Correction. /// </summary> /// <param name="Plugin">Plugin Host.</param> /// <param name="URL">URL to modify.</param> internal FormTimeCorrection(TrayTotpGTExt Plugin, string URL) { plugin = Plugin; //Defines variable from argument. InitializeComponent(); //Form Initialization. ComboBoxUrlTimeCorrection.Text = URL; //Defines default value from argument. }
/// <summary> /// Provides support to add a custom column to KeePass, in this case the Totp Provider Column. /// </summary> /// <param name="Plugin">Handle to the plugin class.</param> internal TrayTotp_CustomColumn(TrayTotpGTExt Plugin) { plugin = Plugin; m_host = plugin.m_host; }
/// <summary> /// Windows Form Constructor. /// </summary> /// <param name="plugin">Plugin Host.</param> internal FormAbout(TrayTotpGTExt plugin) { _plugin = plugin; InitializeComponent(); }
/// <summary> /// Windows Form Constructor. /// </summary> /// <param name="plugin">Plugin Host.</param> /// <param name="gettingStarted">Getting Started Display Flag.</param> internal FormHelp(TrayTotpGTExt plugin, bool gettingStarted = false) { _plugin = plugin; _gettingStarted = gettingStarted; InitializeComponent(); }
/// <summary> /// Windows Form Constructor. /// </summary> /// <param name="pPLUGIN">Plugin Host.</param> internal FormSettings(TrayTotpGTExt pPLUGIN) { _plugin = pPLUGIN; //Defines variable from argument. InitializeComponent(); //Form Initialization. }
/// <summary> /// Windows Form Constructor. /// </summary> /// <param name="Plugin">Plugin Host.</param> internal FormSetup(TrayTotpGTExt Plugin, PwEntry Entry) { _plugin = Plugin; //Defines variable from argument. entry = Entry; //Defines variable from argument. InitializeComponent(); //Form Initialization. }
/// <summary> /// Handles Time Correction for TOTP Generators insuring generation accuracy. /// </summary> /// <param name="Plugin">Handle to the plugin's class.</param> /// <param name="Enable">Enabled by Default.</param> internal TimeCorrection_Collection(TrayTotpGTExt Plugin, bool Enable = true) { plugin = Plugin; _Enable = Enable; TimeCorrections = new List <TimeCorrection_Provider>(); }