Beispiel #1
0
        public LoginForm()
        {
            InitializeComponent();
            FormView.Paint(this);
            //this.Text = string.Format("登录 {0}", MIS.ApplicationCaption);

            // 通常的Dialog是不需要ShowInTaskbar,
            // 但是当第一登录的时候主窗体还没有创建,
            // 把它显示在Taskbar上,充当主窗体
            this.ShowInTaskbar = true;

            utxtuser.tbox.Text = Itop.Client.Option.Settings.GetLastLoginUserNumber();
            IniImage();
            ubmin.BarClick   += new UserBar.barClick(ubmin_BarClick);
            ubclose.BarClick += new UserBar.barClick(ubclose_BarClick);
        }
Beispiel #2
0
 public AboutForm()
 {
     InitializeComponent();
     FormView.Paint(this);
     this.BackgroundImage = Itop.Client.Resources.ImageListRes.GetAboutPhoto();
 }