public FrmPassword() { InitializeComponent(); this.m_parameter = ClsSingeltonParameter.CreateInstance(); this.m_formularManager = ClsSingeltonFormularManager.CreateInstance(this, this.Name.ToString()); this.m_language = ClsSingeltonLanguage.CreateInstance(this); this.m_userManagement = ClsSingeltonUserManagement.CreateInstance(); this.m_users = new List <string>(); this.m_users.Clear(); this.m_users.Add("Ausgeloggt"); this.m_users.Add("Operator"); this.m_users.Add("Einrichter"); this.m_users.Add("Service"); }
public FrmParameter() { InitializeComponent(); this.m_KeyCount = 0; this.m_plcItemList = new Hashtable(); this.m_userManagement = ClsSingeltonUserManagement.CreateInstance(); this.m_parameter = ClsSingeltonParameter.CreateInstance(); this.m_plc = ClsSingeltonPlc.GetInstance(); this.m_sqliteConnection = new SQLiteConnection(); this.m_sqliteConnection.ConnectionString = this.m_parameter.ConnectionString; this.m_sqliteConnection.Open(); this.m_sqliteCommand = new SQLiteCommand(this.m_sqliteConnection); this.m_dataBinding = ClsSingeltonDataBinding.CreateInstance(); }