public LoginForm() { InitializeComponent(); this._loginForm = MasterBLLFactory.GetBLL<ILoginFormBL>(MasterBLLFactory.LoginForm); this._generalBL = GeneralBLLFactory.GetBLL<IGeneralBL>(GeneralBLLFactory.General); //this._userSkinBL = BLL.Factory.HBPMS.MasterBLLFactory.GetBLL<IUserSkinBL>(BLL.Factory.HBPMS.MasterBLLFactory.UserSkin_urs); //BindCombox(DefineConstantValue.MasterType.WinFormSkin); #if M_DEBUG txtUserName.Text = "sa"; txtPwd.Text = DateTime.Now.ToString("yyyy,MM,dd"); #endif }
public LoginForm() { InitializeComponent(); this._loginForm = MasterBLLFactory.GetBLL<ILoginFormBL>(MasterBLLFactory.LoginForm); this._generalBL = GeneralBLLFactory.GetBLL<IGeneralBL>(GeneralBLLFactory.General); this.txtUserName.Text = System.Configuration.ConfigurationManager.AppSettings["LastLoginName"]; CheckFocus(); #if M_DEBUG //txtUserName.Text = "sa"; //txtPwd.Text = DateTime.Now.ToString("yyyy,MM,dd"); //txtUserName.Text = "donaldhuang"; //txtPwd.Text = "!!!aaa111"; #endif }
public MenuToolForm(DockPanel dockPanel, TreeNodeInfo parentNode, Sys_UserMaster_usm_Info userInfo) { InitializeComponent(); this._loginFormBL = MasterBLLFactory.GetBLL<ILoginFormBL>(MasterBLLFactory.LoginForm); this._childrenForms = new Dictionary<string, BaseForm>(); this._dockPanel = dockPanel; this._parentNode = parentNode; // this._userInfo = userInfo; // UserInformation = userInfo; InitializeOutlookbar(userInfo); this.Text = parentNode.Text; this.TabText = parentNode.Text; //TONO: 便貼停靠位置 this.Show(this._dockPanel, DockState.DockBottom); this.DockState = DockState.DockBottomAutoHide; }