Example #1
0
        public FormAccountSelect(List <string> selected = null)
        {
            InitializeComponent();

            Icon       = UserClient.GetFormWindowIcon();
            m_selected = selected;
        }
        public FormLogView()
        {
            InitializeComponent();

            Icon = UserClient.GetFormWindowIcon();

            net_simplify_client = UserClient.Net_simplify_client;
        }
        public FormDownloading(int customer, Action <OperateResultString> action)
        {
            InitializeComponent();

            Icon = UserClient.GetFormWindowIcon();

            net_cmd        = customer;
            DealWithResult = action;
            DoubleBuffered = true;
        }
        /// <summary>
        /// 实例化对象
        /// </summary>
        /// <param name="factories"></param>
        /// <exception cref="ArgumentNullException"></exception>
        public FormRegisterAccount(string[] factories)
        {
            InitializeComponent();
            Icon = UserClient.GetFormWindowIcon();

            net_client = UserClient.Net_simplify_client;
            Factories  = new List <string>(factories);


            // 根据自身需求是否添加总公司名称
            Factories.Add("总公司");
        }
Example #5
0
        public FormGetInputString(
            string info,
            string defaultValue = "",
            string title        = "等待输入信息",
            int maxlength       = 100
            )
        {
            InitializeComponent();

            Icon         = UserClient.GetFormWindowIcon();
            Info         = info;
            DefaultValue = defaultValue;
            Title        = title;
            MaxLength    = maxlength;
        }
Example #6
0
 public FormAccountDetails(UserPortrait userPortrait)
 {
     InitializeComponent();
     Icon         = UserClient.GetFormWindowIcon();
     UserPortrait = userPortrait;
 }
        public FormUpdateRemote()
        {
            InitializeComponent();

            Icon = UserClient.GetFormWindowIcon();
        }
Example #8
0
 public FormConfiguration()
 {
     InitializeComponent();
     Icon = UserClient.GetFormWindowIcon();
 }
Example #9
0
        public FormInputNewRole()
        {
            InitializeComponent();

            Icon = UserClient.GetFormWindowIcon();
        }
        public FormShowMachineId()
        {
            InitializeComponent();

            Icon = UserClient.GetFormWindowIcon();
        }