コード例 #1
0
        private void CtStructBox_KeyDown(object sender, KeyEventArgs e)
        {
            PictureEdit structBox = (PictureEdit)sender;
            string      tag       = (string)structBox.Tag;

            TextOrStructBox_KeyDown(structBox, e, tag);
        }
コード例 #2
0
        /// <summary>
        /// 下载图片按钮
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void barButtonItem12_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            GC.Collect();
            tabNavigationPage1.Controls.Clear();
            String checkurl = ".+\\..+";

            if (String.IsNullOrEmpty(textEdit1.Text))
            {
                Form4 form4 = new Form4("错误:请求地址不合法");
                form4.Text = "错误";
                form4.ShowDialog();
                barStaticItem1.Caption = "当前状态:取消图片请求";
                return;
            }
            if (!RegexMethod.CheckRegex(checkurl, textEdit1.Text))
            {
                Form5 form5 = new Form5("警告:未检测到常规格式的下载地址,是否继续");
                form5.Text = "警告";
                form5.ShowDialog();
                if (form5.DialogResult == DialogResult.Cancel)
                {
                    barStaticItem1.Caption = "当前状态:取消图片下载";
                    return;
                }
            }
            barStaticItem1.Caption = "下载图片:" + Path.GetFileName(textEdit1.Text);
            xtraTabPage1.Controls.Clear();
            xtraTabPage2.Controls.Clear();
            html  = String.Empty;
            Jhtml = String.Empty;


            #region 请求头配置
            info = CreateHttp();

            #endregion

            try
            {
                Image img = HttpMethod.DownPic(info);
                if (img == null)
                {
                    Form4 form4 = new Form4("失败:下载失败");
                    form4.Text = "失败";
                    form4.ShowDialog();
                    return;
                }
                PictureEdit pictureEdit = new PictureEdit();
                pictureEdit.Dock  = DockStyle.Fill;
                pictureEdit.Image = img;
                tabNavigationPage1.Controls.Add(pictureEdit);
            }
            catch (Exception ex)
            {
                Form4 form4 = new Form4("程序错误:请联系程序员!");
                form4.Text = "错误";
                form4.ShowDialog();
            }
            barStaticItem1.Caption = "下载图片:" + Path.GetFileName(textEdit1.Text) + "完毕";
        }
コード例 #3
0
        public bool Update_Branch(int id, PictureEdit img)
        {
            try
            {
                sql = @"UPDATE ProductPic SET ProductImg=@ProductImg WHERE ProductId=@ProductId";

                cmd = new SqlCommand(sql, cn);
                cmd.Parameters.Clear();
                cmd.Parameters.AddWithValue("@ProductId", id);
                MemoryStream ms       = new MemoryStream();
                Bitmap       bmpImage = new Bitmap(img.Image);
                bmpImage.Save(ms, System.Drawing.Imaging.ImageFormat.Jpeg);
                byte[]       data = ms.GetBuffer();
                SqlParameter p    = new SqlParameter("@ProductImg", SqlDbType.Image);
                p.Value = data;
                cmd.Parameters.Add(p);
                cmd.ExecuteNonQuery();

                return(true);
            }
            catch (Exception ex)
            {
                XtraMessageBox.Show(ex.Message);
                return(false);
            }
        }
コード例 #4
0
 public void getBasics(int traineeID, TextEdit txtID, TextEdit txtCardNumber, TextEdit txtName, DateEdit dtBirthdate, RadioGroup cmbGender, RadioGroup cmbStatus,
                       TextEdit txtNationality, TextEdit txtDegree, TextEdit txtNationalID, TextEdit txtNotes, DateEdit dtHiring, TextEdit txtTel, TextEdit txtPhone,
                       TextEdit AddressTextEdit, TextEdit txtMail, PictureEdit pBox)
 {
     try
     {
         var t = db.Trainees.Find(traineeID);
         txtID.Text            = t.TraineeID.ToString();
         txtCardNumber.Text    = t.CardNumber;
         txtName.Text          = t.TraineeName;
         dtBirthdate.EditValue = t.Birtdate;
         cmbGender.EditValue   = t.Gender;
         cmbStatus.EditValue   = t.Status;
         txtNationality.Text   = t.Nationality;
         txtDegree.Text        = t.Degree;
         txtNationalID.Text    = t.NationalID;
         txtNotes.Text         = t.Notes;
         dtHiring.EditValue    = t.JoiningDate;
         txtTel.Text           = t.Telephone;
         txtPhone.Text         = t.Phone;
         AddressTextEdit.Text  = t.Address;
         txtMail.Text          = t.Mail;
         byte[]       img = t.Photo;
         MemoryStream ms  = new MemoryStream(img);
         pBox.Image = Image.FromStream(ms);
     }
     catch
     { return; }
 }
コード例 #5
0
 private void btnFileView_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e)
 {
     if (DocumentGrid.GetFocusedRow() is Documents documents)
     {
         using (NetworkShareAccesser.Access("PLGUNV_ADSERVER", @"PLGUNV", "administrator", "itpower@123"))
         {
             try
             {
                 XtraForm xtraForm = new XtraForm()
                 {
                     StartPosition = FormStartPosition.CenterScreen
                 };
                 var pct = new PictureEdit()
                 {
                     Dock  = DockStyle.Fill,
                     Image = Image.FromFile(Path.Combine(documents.RootDirectory,
                                                         documents.FileId + documents.ExtName)),
                 };
                 pct.Properties.SizeMode = DevExpress.XtraEditors.Controls.PictureSizeMode.Squeeze;
                 xtraForm.Controls.Add(pct);
                 xtraForm.ShowDialog();
             }
             catch (Exception exception)
             {
                 MessageBox.Show(exception.Message, exception.Message, MessageBoxButtons.OK,
                                 MessageBoxIcon.Exclamation);
             }
         }
     }
 }
コード例 #6
0
        public RectangleMarker(PictureEdit pictureEditForDraw, Rectangle rectangle, bool editable = true)
        {
            mainPictureEdit = pictureEditForDraw;
            viewInfo        = mainPictureEdit.GetViewInfo() as PictureEditViewInfo;

            GetImageCenter();

            defaultZoomPercent = pictureEditForDraw.Properties.ZoomPercent;

            drawingRectangle = new Rectangle(
                rectangle.X,
                rectangle.Y,
                (int)(rectangle.Width * pictureEditForDraw.Properties.ZoomPercent / defaultZoomPercent),
                (int)(rectangle.Height * pictureEditForDraw.Properties.ZoomPercent / defaultZoomPercent));

            insertPoint = mainPictureEdit.ViewportToImage(rectangle.Location);

            defaultRectangle = new RectangleF(
                (float)(insertPoint.X),
                (float)(insertPoint.Y),
                (float)(drawingRectangle.Width),
                (float)(drawingRectangle.Height));

            isMouseClicked = false;
            Editable       = editable;
            InitEvents();
        }
コード例 #7
0
        public void affichephotoEns(string code, PictureEdit photoEns)
        {
            try
            {
                ap.connect();
                myconn = new SqlConnection(ap.chemin);
                myconn.Open();
                //mateleve3.Text = "6-61035362";
                //string matricule = mateleve3.Text + mateleve.Text;

                mycomm = new SqlCommand("SELECT photo from Enseignant WHERE matriculeEns ='" + code + "'", myconn);
                adpt1  = new SqlDataAdapter(mycomm);
                object result = mycomm.ExecuteScalar();

                if (DBNull.Value == (result))
                {
                }
                else
                {
                    byte[]       buffer = (byte[])result;
                    MemoryStream ms     = new MemoryStream(buffer);
                    Image        image  = Image.FromStream(ms);
                    photoEns.Image = image;
                    //return image;
                }
                myconn.Close();
            }
            catch (Exception ex)
            {
                MessageBox.Show("Erreur de reperer la photo" + ex, "Erreur", MessageBoxButtons.OKCancel, MessageBoxIcon.Error);
            }
        }
コード例 #8
0
ファイル: FrmLogin.cs プロジェクト: KornHxH/RubberSoft
 public void GetImg(PictureEdit Img)
 {
     try
     {
         DataTable dt = new DataTable();
         DataSet   ds = new DataSet();
         ds = SQLImage.Spt_GetBranchImg(1);
         dt = ds.Tables[0];
         if (dt.Rows.Count > 0)
         {
             foreach (DataRow drv in dt.Rows)
             {
                 Img.Image = SQLImage.LoadPic(drv);
                 SQLImage.UpdateBranchImg(1, Img);
             }
         }
         else
         {
             Img.Image = Resources.NoImage;
             SQLImage.AddBranchImg(Img);
         }
     }
     catch (Exception ex)
     {
         XtraMessageBox.Show(ex.Message);
     }
 }
コード例 #9
0
 /// <summary>
 /// 设置PictureEdit风格
 /// </summary>
 /// <param name="pictureEdit"></param>
 public static void SetITLPictureEditStyle(PictureEdit pictureEdit)
 {
     pictureEdit.Properties.ShowMenu             = false;                   //不显示右键菜单
     pictureEdit.Properties.AllowFocused         = false;                   //不允许有焦点
     pictureEdit.Properties.Appearance.BackColor = Color.Transparent;       //透明背景色
     pictureEdit.Properties.SizeMode             = PictureSizeMode.Stretch; //图片拉伸
 }
コード例 #10
0
        private void MouseDown(object sender, MouseEventArgs e)
        {
            if (e.Button != MouseButtons.Left)
            {
                return;
            }
            mouseDownPoint = e.Location;
            PictureEdit edit = sender as PictureEdit;

            edit.Refresh();
            // startPaint = true;

            //  SolidBrush sb = new SolidBrush(Color.Red);
            //Pen pen = new Pen(Color.Red, 3);
            //graphics.DrawEllipse(pen, e.X - 50, e.Y - 50, 100, 100);

            //IObjectSpace objectSpace = View.ObjectSpace;
            //var opis = objectSpace.CreateObject<OpisZdjecia>();
            //opis.Opis = $"Opis {DateTime.Now}";
            //opis.XPos = e.X;
            //opis.YPos = e.Y;
            //opis.Osoba = objectSpace.GetObject(currentRec);
            ////  currentRec.OpisZdjeciaCollection.Add(opis);
            //objectSpace.CommitChanges();
            //objectSpace.Refresh();
        }
コード例 #11
0
        /// <summary>
        /// Methode qui permet de griser des composant inutiles pour l'operation de ajouter  client express avec le code client
        /// </summary>
        /// <param name="ImputNom"></param>
        /// <param name="Ville"></param>
        /// <param name="Check"></param>
        /// <param name="buttonDetails"></param>
        public static void AjoutExppress(GridControl GcLicence, PictureEdit PicLicence1, PictureEdit PicLicence2, PictureEdit PicLicence3, TextEdit NomClient, TextEdit CodeClient, TextEdit CodePostale, TextEdit VilleClient, TextEdit Adresse1,
                                         TextEdit Adresse2, RadioGroup GropLicences, SimpleButton GenererLicence, TextEdit ImputLicences, TextEdit DateDebutLicenece,
                                         TextEdit DateFin, TextEdit NombreDeJour, SimpleButton Sauvgarder, SimpleButton BoutonDetails, SimpleButton ButtonAjout)
        {
            GcLicence.Enabled      = false;
            PicLicence1.Enabled    = false;
            PicLicence2.Enabled    = false;
            PicLicence3.Enabled    = false;
            NomClient.Enabled      = true; NomClient.ResetText();
            CodeClient.Enabled     = true; CodeClient.ResetText();
            CodePostale.Enabled    = true; CodePostale.ResetText();
            VilleClient.Enabled    = true; VilleClient.ResetText();
            Adresse1.Enabled       = true; Adresse1.ResetText();
            Adresse2.Enabled       = true; Adresse2.ResetText();
            GropLicences.Enabled   = false;
            GenererLicence.Enabled = false;
            ImputLicences.ResetText();
            DateDebutLicenece.ResetText();
            DateFin.ResetText();
            NombreDeJour.ResetText();

            Sauvgarder.Enabled    = false;
            BoutonDetails.Enabled = false;
            ButtonAjout.Enabled   = true;
        }
コード例 #12
0
        public void affichephotoelve2(string code, PictureEdit photo)
        {
            try
            {
                ap.connect();
                myconn = new SqlConnection(ap.chemin);
                myconn.Open();

                mycomm = new SqlCommand("SELECT photo from Eleve WHERE codeeleve ='" + code + "'", myconn);
                adpt1  = new SqlDataAdapter(mycomm);
                object result = mycomm.ExecuteScalar();

                if (DBNull.Value == (result))
                {
                }
                else
                {
                    byte[]       buffer = (byte[])result;
                    MemoryStream ms     = new MemoryStream(buffer);
                    Image        image  = Image.FromStream(ms);
                    photo.Image = image;
                    //return image;
                }
                myconn.Close();
            }
            catch
            {
                //MessageBox.Show("Erreur de reperer la photo" + ex, "Erreur", MessageBoxButtons.OKCancel, MessageBoxIcon.Error);
            }
        }
コード例 #13
0
        public static byte[] imageToByteArray(PictureEdit imageIn)
        {
            MemoryStream ms = new MemoryStream();

            ((Image)imageIn.EditValue).Save(ms, System.Drawing.Imaging.ImageFormat.Png);
            return(ms.ToArray());
        }
コード例 #14
0
        public static void PrintControl(IWin32Window owner, PictureEdit control)
        {
            using PrintingSystem ps = new PrintingSystem();
            Link link = new Link(ps);

            ps.Links.Add(link);

            link.CreateDetailArea += (s, e) =>
            {
                Rectangle           rect = new Rectangle(Point.Empty, control.Image.Size);
                PrintCellHelperInfo info = new PrintCellHelperInfo(
                    Color.Empty,
                    e.Graph.PrintingSystem,
                    control.EditValue,
                    control.Properties.Appearance,
                    control.Text,
                    rect,
                    e.Graph);

                e.Graph.DrawBrick((Brick)control.Properties.GetBrick(info), rect);
            };

            using (new WaitCursor())
            {
                link.CreateDocument(ps);
            }

            using var printTool = new PrintTool(ps);
            printTool.ShowRibbonPreview(owner, control.LookAndFeel);
        }
コード例 #15
0
ファイル: DAL_QLDichVu.cs プロジェクト: HongTham06/DoAn
        public void LayHinhAnh(string MSP, PictureEdit PicThucAn)
        {
            var hinhAnh = from h in qlks.DICHVU
                          where h.MADV == MSP
                          select h;

            foreach (var item in hinhAnh)
            {
                try
                {
                    if (item.HINHANH.Trim() != "No Image")
                    {
                        PicThucAn.Image = Image.FromFile(item.HINHANH);
                    }
                    else
                    {
                        PicThucAn.Image = Image.FromFile("NhaTrangLuxury.png");
                    }
                }
                catch
                {
                    PicThucAn.Image = Image.FromFile("NhaTrangLuxury.png");
                }
            }
        }
コード例 #16
0
ファイル: Chu_ky.cs プロジェクト: JackG55/CHU_KY_SO
        public void Set_Two_Image(Bitmap image_anh, Bitmap image_thong_tin)
        {
            panel2.Controls.Clear();
            PictureEdit a = new PictureEdit
            {
                Dock   = DockStyle.Left,
                Width  = 143,
                Height = 212,
                Image  = image_anh
            };

            a.Properties.SizeMode = PictureSizeMode.Stretch;
            panel2.Controls.Add(a);
            PictureEdit b = new PictureEdit
            {
                Dock   = DockStyle.Right,
                Width  = panel2.Width - a.Width,
                Height = 212,
                Image  = image_thong_tin
            };

            b.Properties.SizeMode = PictureSizeMode.Stretch;
            panel2.Controls.Add(b);

            image_chu_ky = Images.Combine(a.Image, b.Image);
        }
コード例 #17
0
        private void saveImage(PictureEdit pBox)
        {
            SaveFileDialog savefile = new SaveFileDialog();

            savefile.Filter = "Jpg|*.jpg|Bmp|*.bmp|Gif|*.gif|Png|*.gif";
            if (pBox.Image != null)
            {
                if (savefile.ShowDialog() == DialogResult.OK)
                {
                    switch (savefile.FilterIndex)
                    {
                    case 1: pBox.Image.Save(savefile.FileName, System.Drawing.Imaging.ImageFormat.Jpeg); break;

                    case 2: pBox.Image.Save(savefile.FileName, System.Drawing.Imaging.ImageFormat.Bmp); break;

                    case 3: pBox.Image.Save(savefile.FileName, System.Drawing.Imaging.ImageFormat.Gif); break;

                    case 4: pBox.Image.Save(savefile.FileName, System.Drawing.Imaging.ImageFormat.Png); break;
                    }
                }
            }
            else
            {
                MessageBox.Show("Зураг оруулаагүй байна .", "Info");
            }
        }
コード例 #18
0
        static ControlService()
        {
            string appdir = ConfigurationManager.AppSettings["ProWriteFontFile"];

            if (appdir.IndexOf(@":") == -1)
            {
                appdir = Application.StartupPath + @"\" + appdir;
            }
            else
            {
                appdir = ConfigurationManager.AppSettings["ProWriteFontFile"];
            }

            FontManager.Initialize(appdir);

            _libraryTree      = new LibraryTree();
            _signCombo        = new SignRepositoryItemLookUpEdit();
            _propertyGrid     = new PropertyGridControl();
            _effectTree       = new EffectTreeControl();
            _toolBox          = new ToolBoxControl();
            _timeSliceControl = new TimeSliceGroupControl();
            _signImage        = new SignImage();
            _signStatus       = new SignStatus();

            _barButtonPosition = new BarButtonItem();
            //_barButtonPosition.CategoryGuid = new System.Guid("77795bb7-9bc5-4dd2-a297-cc758682e23d");
            //_barButtonPosition.Id = 0;
            //_barButtonPosition.Name = "siPosition";

            _statusBar            = new RibbonStatusBar();
            _currentClip          = new CurrentClip();
            _spellChecker         = new DevExpress.XtraSpellChecker.SpellChecker();
            _signStorageIndicator = new SignStorageIndicator();

            _pictureBox = new PictureEdit();
            _pictureBox.Properties.ShowMenu = false;
            _pictureBox.Properties.SizeMode = DevExpress.XtraEditors.Controls.PictureSizeMode.Zoom;

            if (_libraryTree != null)
            {
                _libraryTree.Controller.RemoveLibraryItemEvent += new EventHandler <RemoveLibraryEventArgs>(Controller_RemoveLibraryItemEvent);
            }
            _fonts         = new List <PWFont>();
            _fontsBitMap   = new List <PWFont>();
            _fontsTrueType = new List <PWFont>();

            spellCheckTask = Task.Create((p) =>
            {
                CultureInfo engCulture = new CultureInfo("En-us");
                dictionary             = new SpellCheckerISpellDictionary(DemoUtils.GetRelativePath("american.xlg"), DemoUtils.GetRelativePath("english.aff"), engCulture);

                dictionary.AlphabetPath = DemoUtils.GetRelativePath("EnglishAlphabet.txt");
                customDictorary         = new SpellCheckerCustomDictionary();
                customDictorary.Culture = engCulture;

                SpellCheckerList.Load();
                customDictorary.AddWords(ServiceManager.Get <SpellCheckerList>());
            });
        }
コード例 #19
0
        private void InitializeComponent()
        {
            ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(FrmCompareImages));

            groupControl1 = new GroupControl();
            pbMainImage   = new PictureEdit();
            groupControl2 = new GroupControl();
            pbCamImage    = new PictureEdit();
            groupControl1.BeginInit();
            groupControl1.SuspendLayout();
            pbMainImage.Properties.BeginInit();
            groupControl2.BeginInit();
            groupControl2.SuspendLayout();
            pbCamImage.Properties.BeginInit();
            SuspendLayout();
            componentResourceManager.ApplyResources(groupControl1, "groupControl1");
            groupControl1.AppearanceCaption.Font            = (Font)componentResourceManager.GetObject("groupControl1.AppearanceCaption.Font");
            groupControl1.AppearanceCaption.FontSizeDelta   = (int)componentResourceManager.GetObject("groupControl1.AppearanceCaption.FontSizeDelta");
            groupControl1.AppearanceCaption.FontStyleDelta  = (FontStyle)componentResourceManager.GetObject("groupControl1.AppearanceCaption.FontStyleDelta");
            groupControl1.AppearanceCaption.GradientMode    = (LinearGradientMode)componentResourceManager.GetObject("groupControl1.AppearanceCaption.GradientMode");
            groupControl1.AppearanceCaption.Image           = (Image)componentResourceManager.GetObject("groupControl1.AppearanceCaption.Image");
            groupControl1.AppearanceCaption.Options.UseFont = true;
            groupControl1.Controls.Add(pbMainImage);
            groupControl1.Name = "groupControl1";
            componentResourceManager.ApplyResources(pbMainImage, "pbMainImage");
            pbMainImage.Name = "pbMainImage";
            pbMainImage.Properties.AccessibleDescription = componentResourceManager.GetString("pbMainImage.Properties.AccessibleDescription");
            pbMainImage.Properties.AccessibleName        = componentResourceManager.GetString("pbMainImage.Properties.AccessibleName");
            pbMainImage.Properties.SizeMode = PictureSizeMode.Zoom;
            componentResourceManager.ApplyResources(groupControl2, "groupControl2");
            groupControl2.AppearanceCaption.Font            = (Font)componentResourceManager.GetObject("groupControl2.AppearanceCaption.Font");
            groupControl2.AppearanceCaption.FontSizeDelta   = (int)componentResourceManager.GetObject("groupControl2.AppearanceCaption.FontSizeDelta");
            groupControl2.AppearanceCaption.FontStyleDelta  = (FontStyle)componentResourceManager.GetObject("groupControl2.AppearanceCaption.FontStyleDelta");
            groupControl2.AppearanceCaption.GradientMode    = (LinearGradientMode)componentResourceManager.GetObject("groupControl2.AppearanceCaption.GradientMode");
            groupControl2.AppearanceCaption.Image           = (Image)componentResourceManager.GetObject("groupControl2.AppearanceCaption.Image");
            groupControl2.AppearanceCaption.Options.UseFont = true;
            groupControl2.Controls.Add(pbCamImage);
            groupControl2.Name = "groupControl2";
            componentResourceManager.ApplyResources(pbCamImage, "pbCamImage");
            pbCamImage.Name = "pbCamImage";
            pbCamImage.Properties.AccessibleDescription = componentResourceManager.GetString("pbCamImage.Properties.AccessibleDescription");
            pbCamImage.Properties.AccessibleName        = componentResourceManager.GetString("pbCamImage.Properties.AccessibleName");
            pbCamImage.Properties.SizeMode = PictureSizeMode.Zoom;
            componentResourceManager.ApplyResources(this, "$this");
            AutoScaleMode = AutoScaleMode.Font;
            Controls.Add(groupControl2);
            Controls.Add(groupControl1);
            MaximizeBox = false;
            MinimizeBox = false;
            Name        = "FrmCompareImages";
            Load       += frmCompareImages_Load;
            groupControl1.EndInit();
            groupControl1.ResumeLayout(false);
            pbMainImage.Properties.EndInit();
            groupControl2.EndInit();
            groupControl2.ResumeLayout(false);
            pbCamImage.Properties.EndInit();
            ResumeLayout(false);
        }
コード例 #20
0
        private Image GetZoomedImage(PictureEdit sourcePicture)
        {
            lblCerceve.Visible = false;
            Bitmap bmp = new Bitmap(sourcePicture.Width, sourcePicture.Height);

            sourcePicture.DrawToBitmap(bmp, sourcePicture.Bounds);
            return(bmp);
        }
コード例 #21
0
        public static void SetNavBarItemImage(NavBarItem item, string link)
        {
            var pe = new PictureEdit();

            pe.LoadAsync(ImageHelper.GetFaviconIconPath(link));
            pe.Tag            = item;
            pe.LoadCompleted += new EventHandler(pe_LoadCompleted);
        }
コード例 #22
0
        public static byte[] saveImage(PictureEdit pictuerEdit)
        {
            MemoryStream ms = new MemoryStream();

            pictuerEdit.Image.Save(ms, pictuerEdit.Image.RawFormat);
            byte[] image = ms.ToArray();
            return(image);
        }
コード例 #23
0
ファイル: HelperClass.cs プロジェクト: Workc/SunRayProject
        public static byte[] SaveImage(PictureEdit myPic)
        {
            MemoryStream ms = new MemoryStream();

            myPic.Image.Save(ms, myPic.Image.RawFormat);
            byte[] image = ms.ToArray();

            return(image);
        }
コード例 #24
0
ファイル: SetImage.cs プロジェクト: icprog/MiKe
        public static void setImageDev(PictureEdit con, string nameOfImage)
        {
            string imagePath = Application.StartupPath + "\\Image\\" + nameOfImage + "";

            if (File.Exists(imagePath))
            {
                con.Image = Image.FromFile(imagePath);
            }
        }
コード例 #25
0
ファイル: HelperClass.cs プロジェクト: Workc/SunRayProject
        public static byte[] RetrieveImage(byte[] arrImage, PictureEdit myPic)
        {
            byte[] myImage = arrImage;

            MemoryStream ms = new MemoryStream(myImage);

            myPic.Image = Image.FromStream(ms);

            return(myImage);
        }
コード例 #26
0
        public static void SaveFile(string pathFile, string nameFile, PictureEdit image)
        {
            string destFile = Path.Combine(FileUtils.FolderUploads, nameFile);

            if (File.Exists(destFile))
            {
                File.Delete(destFile);
            }
            image.Image.Save(destFile, GetImageFormat(pathFile));
        }
コード例 #27
0
        protected double GetActualZoomFactor(PictureEdit Owner)
        {
            PictureEditViewInfo viewInfo = Owner.GetViewInfo() as PictureEditViewInfo;

            if (Owner.Image != null && viewInfo.PictureSourceBounds.Width > 0)
            {
                return(viewInfo.PictureScreenBounds.Width / viewInfo.PictureSourceBounds.Width);
            }
            return(-1);
        }
コード例 #28
0
        private void DisposePicturBox(PictureEdit picEdit)
        {
            Image image = picEdit.Image;

            picEdit.Image = null;
            if (image != null)
            {
                image.Dispose();
            }
        }
コード例 #29
0
        public static byte[] RetrieveImage(byte[] arrImage, PictureEdit pictuerEdit)
        {
            byte[] image = arrImage;

            MemoryStream ms = new MemoryStream(image);

            pictuerEdit.Image = Image.FromStream(ms);

            return(image);
        }
コード例 #30
0
        public void RegisterPictureEdit(PictureEdit pictureEdit)
        {
            if (pictureEdit == null)
            {
                return;
            }

            pictureEdit.FormatEditValue += PictureEdit_FormatEditValue;
            pictureEdit.ParseEditValue  += PictureEdit_ParseEditValue;
        }
コード例 #31
0
ファイル: Common.cs プロジェクト: penguinsoftware/iPOS
        public static byte[] ConvertImageToByte(PictureEdit picture_edit)
        {
            byte[] _array_byte = null;
            if (picture_edit.EditValue == null)
                return null;
            try
            {
                MemoryStream _ms = new MemoryStream();
                picture_edit.Image.Save(_ms, System.Drawing.Imaging.ImageFormat.Png);
                _array_byte = new byte[_ms.Length];
                _ms.Position = 0;
                _ms.Read(_array_byte, 0, Convert.ToInt32(_ms.Length));
            }
            catch (Exception ex)
            {
                Logger.Error(ex);
                return null;
            }

            return _array_byte;
        }
コード例 #32
0
ファイル: Helpers.cs プロジェクト: rexad/media-plan
 public static void SetNavBarItemImage(NavBarItem item, string link)
 {
     PictureEdit pe = new PictureEdit();
     pe.LoadAsync(ImageHelper.GetFaviconIconPath(link));
     pe.Tag = item;
     pe.LoadCompleted += new EventHandler(pe_LoadCompleted);
 }
コード例 #33
0
 public PictureEdit CreateVehicleDetail(string vehicle, string namePlayer) {
     DevExpress.XtraEditors.PictureEdit result = new PictureEdit();
     result.BackColor = System.Drawing.Color.Transparent;
     result.Cursor = System.Windows.Forms.Cursors.Hand;
     result.LoadAsync("Resources/" + vehicle + ".png");
     result.ToolTip = namePlayer;
     result.Size = new System.Drawing.Size(80, 44);
     result.Properties.SizeMode = DevExpress.XtraEditors.Controls.PictureSizeMode.Stretch;
     result.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     result.BringToFront();
     return result;
 }
コード例 #34
0
 private Control CreateValueControl(string pluginName, object value)
 {
     switch (_type)
     {
         case PropertyTypeEnum.Image:
             PictureEdit peValue = new PictureEdit();
             peValue.Properties.ShowMenu = false;
             peValue.Tag = new PluginResult() { PluginName = pluginName, Value = value };
             peValue.Image = Utilities.ReadImageFromFile(value.ToString());
             if (peValue.Image == null)
             {
                 return null;
             }
             peValue.ToolTip = String.Format("{0}x{1}", peValue.Image.Width, peValue.Image.Height);
             peValue.Properties.SizeMode = DevExpress.XtraEditors.Controls.PictureSizeMode.Zoom;
             peValue.Height = 200;
             peValue.Dock = DockStyle.Fill;
             peValue.DoubleClick += new EventHandler(data_DoubleClick);
             return peValue;
         case PropertyTypeEnum.Number:
         case PropertyTypeEnum.Date:
         case PropertyTypeEnum.String:
             if (value.ToString().Length > 20)
             {
                 MemoEdit txtValue = new MemoEdit();
                 txtValue.Text = value.ToString();
                 txtValue.Dock = DockStyle.Fill;
                 txtValue.Tag = new PluginResult() { PluginName = pluginName, Value = value };
                 txtValue.DoubleClick += new EventHandler(data_DoubleClick);
                 return txtValue;
             }
             else
             {
                 LabelControl lblValue = new LabelControl();
                 lblValue.Text = value.ToString();
                 lblValue.Tag = new PluginResult() { PluginName = pluginName, Value = value };
                 lblValue.Dock = DockStyle.Fill;
                 lblValue.DoubleClick += new EventHandler(data_DoubleClick);
                 return lblValue;
             }
         case PropertyTypeEnum.List:
             MemoEdit txtList = new MemoEdit();
             foreach (object item in (IEnumerable)value)
             {
                 txtList.Text += item.ToString() + Environment.NewLine;
             }
             txtList.Dock = DockStyle.Fill;
             txtList.Tag = new PluginResult() { PluginName = pluginName, Value = value };
             txtList.DoubleClick += new EventHandler(data_DoubleClick);
             return txtList;
             break;
         default:
             return null;
     }
 }
コード例 #35
0
ファイル: XMessageBox.cs プロジェクト: khanhdtn/my-fw-win
        private void InitializeComponent(string msg, Image img, string[] buttonNames)
        {
            int y = 9;
            this.pictureEdit1 = new DevExpress.XtraEditors.PictureEdit();
            this.lbText = new System.Windows.Forms.Label();
            this.pc1 = new DevExpress.XtraEditors.PanelControl();
            ((System.ComponentModel.ISupportInitialize)(this.pictureEdit1.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.pc1)).BeginInit();
            this.pc1.SuspendLayout();
            this.SuspendLayout();

            //
            // pictureEdit1
            //
            this.pictureEdit1.Location = new System.Drawing.Point(12, y);
            this.pictureEdit1.Name = "pictureEdit1";
            this.pictureEdit1.Image = img;
            this.pictureEdit1.Properties.AllowFocused = false;
            this.pictureEdit1.Properties.Appearance.BackColor = System.Drawing.Color.Transparent;
            this.pictureEdit1.Properties.Appearance.Options.UseBackColor = true;
            this.pictureEdit1.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
            this.pictureEdit1.Properties.ShowMenu = false;
            this.pictureEdit1.Size = new System.Drawing.Size(54, 51);
            this.pictureEdit1.TabIndex = 7;

            //
            // lbText
            //
            this.lbText.AutoSize = true;
            this.lbText.Location = new System.Drawing.Point(83, y);
            this.lbText.Name = "lbText";
            this.lbText.Size = new System.Drawing.Size(49, 13);
            this.lbText.TabIndex = 6;
            this.lbText.Text = msg;
            this.lbText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;

            //
            // pc1
            //
            this.pc1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
            //
            // buttons dynamic
            //
            this.nButtons = new SimpleButton[buttonNames.Length];
            for (int i = buttonNames.Length - 1; i >= 0; i--)
            {
                SimpleButton bt = new DevExpress.XtraEditors.SimpleButton();
                bt.Location = new System.Drawing.Point(width - 75 - 10 - ((buttonNames.Length - 1 - i) * 85), 5);
                bt.Name = i + "";
                bt.Size = new System.Drawing.Size(sizetext_buttons[i] + margin_default, 23);
                bt.TabIndex = 0;
                bt.Text = buttonNames[i];
                bt.Click += new System.EventHandler(this.userClick);
                bt.Tag = this.actions[i];

                this.pc1.Controls.Add(bt);
                this.nButtons[i] = bt;
            }
            y = 71;
            //this.pc1.Dock = System.Windows.Forms.DockStyle.Bottom;
            this.pc1.Anchor = AnchorStyles.Left | AnchorStyles.Right;
            this.pc1.Location = new System.Drawing.Point(0, y);
            this.pc1.Name = "pc1";
            this.pc1.Size = new System.Drawing.Size(361, 32);
            this.pc1.TabIndex = 0;

            //
            // XMessageBox
            //
            this.ClientSize = new System.Drawing.Size(this.width, this.height);
            this.Controls.Add(this.pc1);
            this.Controls.Add(this.pictureEdit1);
            this.Controls.Add(this.lbText);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
            this.MaximizeBox = false;
            this.MinimizeBox = false;
            this.Name = "XMessageBox";
            this.ShowInTaskbar = false;
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            ((System.ComponentModel.ISupportInitialize)(this.pictureEdit1.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.pc1)).EndInit();
            this.pc1.ResumeLayout(false);
            this.ResumeLayout(false);
            this.PerformLayout();
        }
コード例 #36
0
ファイル: HelpImage.cs プロジェクト: khanhdtn/my-fw-win
        public static void LoadImage(PictureEdit pictureEdit1, byte[] logo)
        {
            try
            {
                if (logo == null) return;
                MemoryStream stream = new MemoryStream(logo);
                Bitmap image = new Bitmap(stream);

                pictureEdit1.Image = image;
            }
            catch (Exception ex)
            {
                PLException.AddException(ex);
            }
        }
コード例 #37
0
ファイル: DataBinder.cs プロジェクト: wuhuayun/JieLi_Cord
 /// <summary>
 /// 绑定图像控件的数据源
 /// </summary>
 /// <param name="edit">PictureEdit</param>
 /// <param name="dataSource">数据源</param>
 /// <param name="bindField">取值字段</param>
 public static void BindingImageEdit(PictureEdit edit, object dataSource, string bindField)
 {
     try
     {
         edit.DataBindings.Clear();
         Binding b = new Binding("Image", dataSource, bindField);
         b.Parse += new ConvertEventHandler(ParseImageToByteArray);
         b.Format += new ConvertEventHandler(FormatByteArrayToImage);
         edit.DataBindings.Add(b);
     }
     catch (Exception ex)
     {
         Msg.ShowException(ex);
     }
 }
コード例 #38
0
ファイル: PLMessageBoxExt.cs プロジェクト: khanhdtn/my-fw-win
 private void InitializeComponent()
 {
     this.sb2 = new DevExpress.XtraEditors.SimpleButton();
     this.sb1 = new DevExpress.XtraEditors.SimpleButton();
     this.pictureEdit1 = new DevExpress.XtraEditors.PictureEdit();
     this.lbText = new System.Windows.Forms.Label();
     this.pc1 = new DevExpress.XtraEditors.PanelControl();
     this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
     this.btnRestart = new DevExpress.XtraEditors.SimpleButton();
     ((System.ComponentModel.ISupportInitialize)(this.pictureEdit1.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pc1)).BeginInit();
     this.pc1.SuspendLayout();
     this.flowLayoutPanel1.SuspendLayout();
     this.SuspendLayout();
     //
     // sb2
     //
     this.sb2.Location = new System.Drawing.Point(188, 3);
     this.sb2.Name = "sb2";
     this.sb2.Size = new System.Drawing.Size(75, 23);
     this.sb2.TabIndex = 1;
     this.sb2.Text = "Không";
     this.sb2.Click += new System.EventHandler(this.sb2_Click);
     //
     // sb1
     //
     this.sb1.Location = new System.Drawing.Point(107, 3);
     this.sb1.Name = "sb1";
     this.sb1.Size = new System.Drawing.Size(75, 23);
     this.sb1.TabIndex = 0;
     this.sb1.Text = "Có";
     this.sb1.Click += new System.EventHandler(this.sb1_Click);
     //
     // pictureEdit1
     //
     this.pictureEdit1.Location = new System.Drawing.Point(12, 9);
     this.pictureEdit1.Name = "pictureEdit1";
     this.pictureEdit1.Properties.AllowFocused = false;
     this.pictureEdit1.Properties.Appearance.BackColor = System.Drawing.Color.Transparent;
     this.pictureEdit1.Properties.Appearance.Options.UseBackColor = true;
     this.pictureEdit1.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.pictureEdit1.Properties.ShowMenu = false;
     this.pictureEdit1.Size = new System.Drawing.Size(54, 51);
     this.pictureEdit1.TabIndex = 7;
     //
     // lbText
     //
     this.lbText.AutoSize = true;
     this.lbText.Location = new System.Drawing.Point(83, 9);
     this.lbText.Name = "lbText";
     this.lbText.Size = new System.Drawing.Size(49, 13);
     this.lbText.TabIndex = 6;
     this.lbText.Text = "Message\r\n";
     this.lbText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // pc1
     //
     this.pc1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.pc1.Controls.Add(this.flowLayoutPanel1);
     this.pc1.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.pc1.Location = new System.Drawing.Point(0, 71);
     this.pc1.Name = "pc1";
     this.pc1.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
     this.pc1.Size = new System.Drawing.Size(361, 32);
     this.pc1.TabIndex = 0;
     //
     // flowLayoutPanel1
     //
     this.flowLayoutPanel1.Controls.Add(this.btnRestart);
     this.flowLayoutPanel1.Controls.Add(this.sb2);
     this.flowLayoutPanel1.Controls.Add(this.sb1);
     this.flowLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.flowLayoutPanel1.Location = new System.Drawing.Point(0, 0);
     this.flowLayoutPanel1.Name = "flowLayoutPanel1";
     this.flowLayoutPanel1.Size = new System.Drawing.Size(361, 32);
     this.flowLayoutPanel1.TabIndex = 0;
     //
     // btnRestart
     //
     this.btnRestart.Location = new System.Drawing.Point(269, 3);
     this.btnRestart.Name = "btnRestart";
     this.btnRestart.Size = new System.Drawing.Size(89, 23);
     this.btnRestart.TabIndex = 2;
     this.btnRestart.Text = "Khởi động lại";
     this.btnRestart.Visible = false;
     this.btnRestart.Click += new System.EventHandler(this.btnRestart_Click);
     //
     // PLMessageBoxExt
     //
     this.AcceptButton = this.sb2;
     this.ClientSize = new System.Drawing.Size(361, 103);
     this.Controls.Add(this.pc1);
     this.Controls.Add(this.pictureEdit1);
     this.Controls.Add(this.lbText);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name = "PLMessageBoxExt";
     this.ShowInTaskbar = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     ((System.ComponentModel.ISupportInitialize)(this.pictureEdit1.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pc1)).EndInit();
     this.pc1.ResumeLayout(false);
     this.flowLayoutPanel1.ResumeLayout(false);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #39
0
ファイル: LanguageEngine.cs プロジェクト: penguinsoft/iPOS
 public static void ChangeCaptionPictureEdit(string parent_name, string language, PictureEdit[] picture_edits)
 {
     foreach (PictureEdit picture_edit in picture_edits)
         ChangeCaptionPictureEdit(parent_name, language, picture_edit);
 }
コード例 #40
0
		private void InitializeComponent()
		{
            DevExpress.XtraBars.Ribbon.GalleryItemGroup galleryItemGroup1 = new DevExpress.XtraBars.Ribbon.GalleryItemGroup();
            DevExpress.XtraBars.Ribbon.GalleryItemGroup galleryItemGroup2 = new DevExpress.XtraBars.Ribbon.GalleryItemGroup();
            DevExpress.XtraBars.Ribbon.GalleryItemGroup galleryItemGroup3 = new DevExpress.XtraBars.Ribbon.GalleryItemGroup();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
            this.ribbonControl1 = new DevExpress.XtraBars.Ribbon.RibbonControl();
            this.btnNewTerminal = new DevExpress.XtraBars.BarButtonItem();
            this.btnNewTerminal2 = new DevExpress.XtraBars.BarButtonItem();
            this.btnNewTerminal3 = new DevExpress.XtraBars.BarButtonItem();
            this.btnStart = new DevExpress.XtraBars.BarButtonItem();
            this.btnStop = new DevExpress.XtraBars.BarButtonItem();
            this.btnClear = new DevExpress.XtraBars.BarButtonItem();
            this.txtUsername = new DevExpress.XtraBars.BarEditItem();
            this.repositoryItemTextEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
            this.txtPassword = new DevExpress.XtraBars.BarEditItem();
            this.repositoryItemTextEdit2 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
            this.btnLogin = new DevExpress.XtraBars.BarButtonItem();
            this.btnChangePassword = new DevExpress.XtraBars.BarButtonItem();
            this.btnLogout = new DevExpress.XtraBars.BarButtonItem();
            this.lblSystemTime = new DevExpress.XtraBars.BarStaticItem();
            this.lblTotalTransaction = new DevExpress.XtraBars.BarStaticItem();
            this.lblTotalTerminal = new DevExpress.XtraBars.BarStaticItem();
            this.barEditItem1 = new DevExpress.XtraBars.BarEditItem();
            this.repositoryItemPopupContainerEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemPopupContainerEdit();
            this.ribbonGalleryBarItem1 = new DevExpress.XtraBars.RibbonGalleryBarItem();
            this.barButtonGroup1 = new DevExpress.XtraBars.BarButtonGroup();
            this.barButtonGroup2 = new DevExpress.XtraBars.BarButtonGroup();
            this.skinGalleryBarItem = new DevExpress.XtraBars.RibbonGalleryBarItem();
            this.ribbonPage1 = new DevExpress.XtraBars.Ribbon.RibbonPage();
            this.ribbonPageGroup3 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
            this.ribbonPageGroup1 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
            this.ribbonPageGroup2 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
            this.ribbonPageGroup5 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
            this.ribbonStatusBar1 = new DevExpress.XtraBars.Ribbon.RibbonStatusBar();
            this.splitContainerControl1 = new DevExpress.XtraEditors.SplitContainerControl();
            this.xtraTabControl1 = new DevExpress.XtraTab.XtraTabControl();
            this.xtraTabPage1 = new DevExpress.XtraTab.XtraTabPage();
            this.grdTransaction = new DevExpress.XtraGrid.GridControl();
            this.gridView2 = new DevExpress.XtraGrid.Views.Grid.GridView();
            this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn8 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn6 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn5 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn7 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn10 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn11 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn12 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn9 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn14 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn15 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn13 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.panelControl3 = new DevExpress.XtraEditors.PanelControl();
            this.panelControl4 = new DevExpress.XtraEditors.PanelControl();
            this.xtraTabPage3 = new DevExpress.XtraTab.XtraTabPage();
            this.btnStatement = new DevExpress.XtraEditors.SimpleButton();
            this.btnBetList = new DevExpress.XtraEditors.SimpleButton();
            this.cbeSignatureTemplate = new DevExpress.XtraEditors.ComboBoxEdit();
            this.panelControl1 = new DevExpress.XtraEditors.PanelControl();
            this.webBrowser2 = new System.Windows.Forms.WebBrowser();
            this.splitter1 = new System.Windows.Forms.Splitter();
            this.webBrowser1 = new System.Windows.Forms.WebBrowser();
            this.xtraTabPage5 = new DevExpress.XtraTab.XtraTabPage();
            this.panelControl2 = new DevExpress.XtraEditors.PanelControl();
            this.textEdit4 = new DevExpress.XtraEditors.MemoEdit();
            this.chkSCloud = new DevExpress.XtraEditors.CheckEdit();
            this.simpleButton2 = new DevExpress.XtraEditors.SimpleButton();
            this.textEdit3 = new DevExpress.XtraEditors.TextEdit();
            this.textEdit2 = new DevExpress.XtraEditors.TextEdit();
            this.textEdit1 = new DevExpress.XtraEditors.TextEdit();
            this.simpleButton1 = new DevExpress.XtraEditors.SimpleButton();
            this.label4 = new System.Windows.Forms.Label();
            this.label3 = new System.Windows.Forms.Label();
            this.label2 = new System.Windows.Forms.Label();
            this.label1 = new System.Windows.Forms.Label();
            this.chkRCloud = new DevExpress.XtraEditors.CheckEdit();
            this.btnSignMeIn = new DevExpress.XtraEditors.SimpleButton();
            this.txtServerIP = new DevExpress.XtraEditors.TextEdit();
            this.txtServerUserName = new DevExpress.XtraEditors.TextEdit();
            this.txtServerPassword = new DevExpress.XtraEditors.TextEdit();
            this.pictureEdit1 = new DevExpress.XtraEditors.PictureEdit();
            this.xtraTabControl2 = new DevExpress.XtraTab.XtraTabControl();
            this.xtraTabPage2 = new DevExpress.XtraTab.XtraTabPage();
            this.xtraTabPage4 = new DevExpress.XtraTab.XtraTabPage();
            this.ribbonPageGroup4 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
            ((System.ComponentModel.ISupportInitialize)(this.ribbonControl1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemPopupContainerEdit1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).BeginInit();
            this.splitContainerControl1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit();
            this.xtraTabControl1.SuspendLayout();
            this.xtraTabPage1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.grdTransaction)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridView2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.panelControl4)).BeginInit();
            this.xtraTabPage3.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.cbeSignatureTemplate.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit();
            this.panelControl1.SuspendLayout();
            this.xtraTabPage5.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).BeginInit();
            this.panelControl2.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.textEdit4.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.chkSCloud.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.textEdit3.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.textEdit2.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.textEdit1.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.chkRCloud.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtServerIP.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtServerUserName.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtServerPassword.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.pictureEdit1.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl2)).BeginInit();
            this.xtraTabControl2.SuspendLayout();
            this.SuspendLayout();
            // 
            // ribbonControl1
            // 
            this.ribbonControl1.ApplicationButtonText = null;
            // 
            // 
            // 
            this.ribbonControl1.ExpandCollapseItem.Id = 0;
            this.ribbonControl1.ExpandCollapseItem.Name = "";
            this.ribbonControl1.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
            this.ribbonControl1.ExpandCollapseItem,
            this.btnNewTerminal,
            this.btnNewTerminal2,
            this.btnNewTerminal3,
            this.btnStart,
            this.btnStop,
            this.btnClear,
            this.txtUsername,
            this.txtPassword,
            this.btnLogin,
            this.btnChangePassword,
            this.btnLogout,
            this.lblSystemTime,
            this.lblTotalTransaction,
            this.lblTotalTerminal,
            this.barEditItem1,
            this.ribbonGalleryBarItem1,
            this.barButtonGroup1,
            this.barButtonGroup2,
            this.skinGalleryBarItem});
            this.ribbonControl1.Location = new System.Drawing.Point(0, 0);
            this.ribbonControl1.MaxItemId = 22;
            this.ribbonControl1.Name = "ribbonControl1";
            this.ribbonControl1.Pages.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPage[] {
            this.ribbonPage1});
            this.ribbonControl1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
            this.repositoryItemTextEdit1,
            this.repositoryItemTextEdit2,
            this.repositoryItemPopupContainerEdit1});
            this.ribbonControl1.RibbonStyle = DevExpress.XtraBars.Ribbon.RibbonControlStyle.Office2010;
            this.ribbonControl1.SelectedPage = this.ribbonPage1;
            this.ribbonControl1.ShowExpandCollapseButton = DevExpress.Utils.DefaultBoolean.False;
            this.ribbonControl1.ShowPageHeadersMode = DevExpress.XtraBars.Ribbon.ShowPageHeadersMode.Hide;
            this.ribbonControl1.ShowToolbarCustomizeItem = false;
            this.ribbonControl1.Size = new System.Drawing.Size(1056, 125);
            this.ribbonControl1.StatusBar = this.ribbonStatusBar1;
            this.ribbonControl1.Toolbar.ShowCustomizeItem = false;
            // 
            // btnNewTerminal
            // 
            this.btnNewTerminal.Caption = "ibet-3in1";
            this.btnNewTerminal.Enabled = false;
            this.btnNewTerminal.Id = 1;
            this.btnNewTerminal.LargeGlyph = global::iBet.App.Properties.Resources.i4;
            this.btnNewTerminal.Name = "btnNewTerminal";
            this.btnNewTerminal.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnNewTerminal_ItemClick);
            // 
            // btnNewTerminal2
            // 
            this.btnNewTerminal2.Caption = "ibet-sbo";
            this.btnNewTerminal2.Enabled = false;
            this.btnNewTerminal2.Id = 13;
            this.btnNewTerminal2.LargeGlyph = global::iBet.App.Properties.Resources.i9;
            this.btnNewTerminal2.Name = "btnNewTerminal2";
            this.btnNewTerminal2.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnNewTerminal2_ItemClick);
            // 
            // btnNewTerminal3
            // 
            this.btnNewTerminal3.Caption = "Follow Sub";
            this.btnNewTerminal3.Enabled = false;
            this.btnNewTerminal3.Id = 14;
            this.btnNewTerminal3.LargeGlyph = global::iBet.App.Properties.Resources.i10;
            this.btnNewTerminal3.Name = "btnNewTerminal3";
            this.btnNewTerminal3.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnNewTerminal3_ItemClick);
            // 
            // btnStart
            // 
            this.btnStart.Caption = "Start";
            this.btnStart.Enabled = false;
            this.btnStart.Id = 2;
            this.btnStart.LargeGlyph = global::iBet.App.Properties.Resources.i5;
            this.btnStart.Name = "btnStart";
            this.btnStart.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnStart_ItemClick);
            // 
            // btnStop
            // 
            this.btnStop.Caption = "Stop";
            this.btnStop.Enabled = false;
            this.btnStop.Id = 3;
            this.btnStop.LargeGlyph = global::iBet.App.Properties.Resources.i6;
            this.btnStop.Name = "btnStop";
            this.btnStop.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnStop_ItemClick);
            // 
            // btnClear
            // 
            this.btnClear.Caption = "Clear";
            this.btnClear.Enabled = false;
            this.btnClear.Glyph = global::iBet.App.Properties.Resources.i7;
            this.btnClear.Id = 4;
            this.btnClear.LargeGlyph = global::iBet.App.Properties.Resources.i7;
            this.btnClear.Name = "btnClear";
            this.btnClear.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnClear_ItemClick);
            // 
            // txtUsername
            // 
            this.txtUsername.Caption = "Username";
            this.txtUsername.Edit = this.repositoryItemTextEdit1;
            this.txtUsername.Id = 5;
            this.txtUsername.Name = "txtUsername";
            this.txtUsername.Width = 150;
            // 
            // repositoryItemTextEdit1
            // 
            this.repositoryItemTextEdit1.AutoHeight = false;
            this.repositoryItemTextEdit1.Name = "repositoryItemTextEdit1";
            // 
            // txtPassword
            // 
            this.txtPassword.Caption = "Password ";
            this.txtPassword.Edit = this.repositoryItemTextEdit2;
            this.txtPassword.Id = 6;
            this.txtPassword.Name = "txtPassword";
            this.txtPassword.Width = 150;
            // 
            // repositoryItemTextEdit2
            // 
            this.repositoryItemTextEdit2.AutoHeight = false;
            this.repositoryItemTextEdit2.Name = "repositoryItemTextEdit2";
            this.repositoryItemTextEdit2.PasswordChar = '*';
            // 
            // btnLogin
            // 
            this.btnLogin.Caption = "Login";
            this.btnLogin.Id = 7;
            this.btnLogin.LargeGlyph = global::iBet.App.Properties.Resources.i1;
            this.btnLogin.Name = "btnLogin";
            this.btnLogin.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnLogin_ItemClick);
            // 
            // btnChangePassword
            // 
            this.btnChangePassword.Caption = "Change Password";
            this.btnChangePassword.Enabled = false;
            this.btnChangePassword.Id = 8;
            this.btnChangePassword.LargeGlyph = global::iBet.App.Properties.Resources.i3;
            this.btnChangePassword.Name = "btnChangePassword";
            this.btnChangePassword.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnChangePassword_ItemClick);
            // 
            // btnLogout
            // 
            this.btnLogout.Caption = "Logout";
            this.btnLogout.Enabled = false;
            this.btnLogout.Id = 9;
            this.btnLogout.LargeGlyph = global::iBet.App.Properties.Resources.i2;
            this.btnLogout.Name = "btnLogout";
            this.btnLogout.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnLogout_ItemClick);
            // 
            // lblSystemTime
            // 
            this.lblSystemTime.Alignment = DevExpress.XtraBars.BarItemLinkAlignment.Right;
            this.lblSystemTime.Id = 10;
            this.lblSystemTime.Name = "lblSystemTime";
            this.lblSystemTime.TextAlignment = System.Drawing.StringAlignment.Near;
            // 
            // lblTotalTransaction
            // 
            this.lblTotalTransaction.Caption = "Total transaction(s): 0";
            this.lblTotalTransaction.Id = 11;
            this.lblTotalTransaction.Name = "lblTotalTransaction";
            this.lblTotalTransaction.TextAlignment = System.Drawing.StringAlignment.Near;
            // 
            // lblTotalTerminal
            // 
            this.lblTotalTerminal.Caption = "Total Terminal(s): 0";
            this.lblTotalTerminal.Id = 12;
            this.lblTotalTerminal.Name = "lblTotalTerminal";
            this.lblTotalTerminal.TextAlignment = System.Drawing.StringAlignment.Near;
            // 
            // barEditItem1
            // 
            this.barEditItem1.Caption = "barEditItem1";
            this.barEditItem1.Edit = this.repositoryItemPopupContainerEdit1;
            this.barEditItem1.Id = 15;
            this.barEditItem1.Name = "barEditItem1";
            // 
            // repositoryItemPopupContainerEdit1
            // 
            this.repositoryItemPopupContainerEdit1.AutoHeight = false;
            this.repositoryItemPopupContainerEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.repositoryItemPopupContainerEdit1.Name = "repositoryItemPopupContainerEdit1";
            // 
            // ribbonGalleryBarItem1
            // 
            this.ribbonGalleryBarItem1.Caption = "ribbonGalleryBarItem1";
            this.ribbonGalleryBarItem1.Id = 17;
            this.ribbonGalleryBarItem1.Name = "ribbonGalleryBarItem1";
            // 
            // barButtonGroup1
            // 
            this.barButtonGroup1.Caption = "barButtonGroup1";
            this.barButtonGroup1.Id = 18;
            this.barButtonGroup1.Name = "barButtonGroup1";
            // 
            // barButtonGroup2
            // 
            this.barButtonGroup2.Caption = "barButtonGroup2";
            this.barButtonGroup2.Id = 19;
            this.barButtonGroup2.Name = "barButtonGroup2";
            // 
            // skinGalleryBarItem
            // 
            this.skinGalleryBarItem.Caption = "skinGalleryBarItem";
            // 
            // skinGalleryBarItem
            // 
            this.skinGalleryBarItem.Gallery.AllowHoverImages = true;
            this.skinGalleryBarItem.Gallery.FixedHoverImageSize = false;
            galleryItemGroup1.Caption = "Standard";
            galleryItemGroup2.Caption = "Bonus";
            galleryItemGroup2.Visible = false;
            galleryItemGroup3.Caption = "Office";
            galleryItemGroup3.Visible = false;
            this.skinGalleryBarItem.Gallery.Groups.AddRange(new DevExpress.XtraBars.Ribbon.GalleryItemGroup[] {
            galleryItemGroup1,
            galleryItemGroup2,
            galleryItemGroup3});
            this.skinGalleryBarItem.Gallery.ImageSize = new System.Drawing.Size(58, 43);
            this.skinGalleryBarItem.Gallery.ItemCheckMode = DevExpress.XtraBars.Ribbon.Gallery.ItemCheckMode.SingleRadio;
            this.skinGalleryBarItem.Id = 1;
            this.skinGalleryBarItem.Name = "skinGalleryBarItem";
            // 
            // ribbonPage1
            // 
            this.ribbonPage1.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] {
            this.ribbonPageGroup3,
            this.ribbonPageGroup1,
            this.ribbonPageGroup2,
            this.ribbonPageGroup5});
            this.ribbonPage1.Name = "ribbonPage1";
            this.ribbonPage1.Text = "Terminal";
            // 
            // ribbonPageGroup3
            // 
            this.ribbonPageGroup3.ItemLinks.Add(this.txtUsername);
            this.ribbonPageGroup3.ItemLinks.Add(this.txtPassword);
            this.ribbonPageGroup3.ItemLinks.Add(this.btnLogin);
            this.ribbonPageGroup3.ItemLinks.Add(this.btnChangePassword);
            this.ribbonPageGroup3.ItemLinks.Add(this.btnLogout);
            this.ribbonPageGroup3.Name = "ribbonPageGroup3";
            this.ribbonPageGroup3.ShowCaptionButton = false;
            this.ribbonPageGroup3.Text = "Authentication";
            // 
            // ribbonPageGroup1
            // 
            this.ribbonPageGroup1.ItemLinks.Add(this.btnNewTerminal);
            this.ribbonPageGroup1.ItemLinks.Add(this.btnNewTerminal2);
            this.ribbonPageGroup1.ItemLinks.Add(this.btnNewTerminal3);
            this.ribbonPageGroup1.ItemLinks.Add(this.btnStart);
            this.ribbonPageGroup1.ItemLinks.Add(this.btnStop);
            this.ribbonPageGroup1.Name = "ribbonPageGroup1";
            this.ribbonPageGroup1.ShowCaptionButton = false;
            this.ribbonPageGroup1.Text = "Terminal";
            // 
            // ribbonPageGroup2
            // 
            this.ribbonPageGroup2.ItemLinks.Add(this.btnClear);
            this.ribbonPageGroup2.Name = "ribbonPageGroup2";
            this.ribbonPageGroup2.ShowCaptionButton = false;
            this.ribbonPageGroup2.Text = "Tracking";
            // 
            // ribbonPageGroup5
            // 
            this.ribbonPageGroup5.ItemLinks.Add(this.skinGalleryBarItem);
            this.ribbonPageGroup5.Name = "ribbonPageGroup5";
            this.ribbonPageGroup5.Text = "Skins";
            // 
            // ribbonStatusBar1
            // 
            this.ribbonStatusBar1.ItemLinks.Add(this.lblSystemTime);
            this.ribbonStatusBar1.ItemLinks.Add(this.lblTotalTerminal);
            this.ribbonStatusBar1.ItemLinks.Add(this.lblTotalTransaction);
            this.ribbonStatusBar1.Location = new System.Drawing.Point(0, 617);
            this.ribbonStatusBar1.Name = "ribbonStatusBar1";
            this.ribbonStatusBar1.Ribbon = this.ribbonControl1;
            this.ribbonStatusBar1.Size = new System.Drawing.Size(1056, 31);
            // 
            // splitContainerControl1
            // 
            this.splitContainerControl1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.splitContainerControl1.FixedPanel = DevExpress.XtraEditors.SplitFixedPanel.Panel2;
            this.splitContainerControl1.Horizontal = false;
            this.splitContainerControl1.Location = new System.Drawing.Point(0, 125);
            this.splitContainerControl1.Name = "splitContainerControl1";
            this.splitContainerControl1.Panel1.Controls.Add(this.xtraTabControl1);
            this.splitContainerControl1.Panel1.Text = "Panel1";
            this.splitContainerControl1.Panel2.Controls.Add(this.xtraTabControl2);
            this.splitContainerControl1.Panel2.Text = "Panel2";
            this.splitContainerControl1.Size = new System.Drawing.Size(1056, 492);
            this.splitContainerControl1.SplitterPosition = 44;
            this.splitContainerControl1.TabIndex = 1;
            this.splitContainerControl1.Text = "splitContainerControl1";
            // 
            // xtraTabControl1
            // 
            this.xtraTabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.xtraTabControl1.Location = new System.Drawing.Point(0, 0);
            this.xtraTabControl1.Name = "xtraTabControl1";
            this.xtraTabControl1.SelectedTabPage = this.xtraTabPage1;
            this.xtraTabControl1.Size = new System.Drawing.Size(1056, 443);
            this.xtraTabControl1.TabIndex = 0;
            this.xtraTabControl1.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] {
            this.xtraTabPage1,
            this.xtraTabPage3,
            this.xtraTabPage5});
            // 
            // xtraTabPage1
            // 
            this.xtraTabPage1.Controls.Add(this.grdTransaction);
            this.xtraTabPage1.Controls.Add(this.panelControl3);
            this.xtraTabPage1.Controls.Add(this.panelControl4);
            this.xtraTabPage1.Name = "xtraTabPage1";
            this.xtraTabPage1.Size = new System.Drawing.Size(1050, 417);
            this.xtraTabPage1.Text = "Transactions";
            // 
            // grdTransaction
            // 
            this.grdTransaction.Dock = System.Windows.Forms.DockStyle.Fill;
            this.grdTransaction.EmbeddedNavigator.ShowToolTips = false;
            this.grdTransaction.Location = new System.Drawing.Point(0, 0);
            this.grdTransaction.MainView = this.gridView2;
            this.grdTransaction.Name = "grdTransaction";
            this.grdTransaction.Size = new System.Drawing.Size(1050, 417);
            this.grdTransaction.TabIndex = 7;
            this.grdTransaction.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
            this.gridView2});
            // 
            // gridView2
            // 
            this.gridView2.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
            this.gridColumn1,
            this.gridColumn8,
            this.gridColumn2,
            this.gridColumn3,
            this.gridColumn6,
            this.gridColumn4,
            this.gridColumn5,
            this.gridColumn7,
            this.gridColumn10,
            this.gridColumn11,
            this.gridColumn12,
            this.gridColumn9,
            this.gridColumn14,
            this.gridColumn15,
            this.gridColumn13});
            this.gridView2.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus;
            this.gridView2.GridControl = this.grdTransaction;
            this.gridView2.Name = "gridView2";
            this.gridView2.OptionsBehavior.Editable = false;
            this.gridView2.OptionsCustomization.AllowGroup = false;
            this.gridView2.OptionsMenu.EnableColumnMenu = false;
            this.gridView2.OptionsMenu.EnableFooterMenu = false;
            this.gridView2.OptionsMenu.EnableGroupPanelMenu = false;
            this.gridView2.OptionsView.HeaderFilterButtonShowMode = DevExpress.XtraEditors.Controls.FilterButtonShowMode.Button;
            this.gridView2.OptionsView.ShowAutoFilterRow = true;
            this.gridView2.OptionsView.ShowGroupPanel = false;
            this.gridView2.OptionsView.ShowPreview = true;
            this.gridView2.PreviewFieldName = "Note";
            this.gridView2.ShowButtonMode = DevExpress.XtraGrid.Views.Base.ShowButtonModeEnum.ShowForFocusedRow;
            this.gridView2.SortInfo.AddRange(new DevExpress.XtraGrid.Columns.GridColumnSortInfo[] {
            new DevExpress.XtraGrid.Columns.GridColumnSortInfo(this.gridColumn13, DevExpress.Data.ColumnSortOrder.Descending)});
            // 
            // gridColumn1
            // 
            this.gridColumn1.Caption = "ID";
            this.gridColumn1.FieldName = "ID";
            this.gridColumn1.Name = "gridColumn1";
            this.gridColumn1.OptionsColumn.AllowFocus = false;
            this.gridColumn1.OptionsColumn.AllowMove = false;
            this.gridColumn1.OptionsColumn.AllowSize = false;
            this.gridColumn1.OptionsColumn.FixedWidth = true;
            this.gridColumn1.Visible = true;
            this.gridColumn1.VisibleIndex = 0;
            this.gridColumn1.Width = 30;
            // 
            // gridColumn8
            // 
            this.gridColumn8.Caption = "Account Pair";
            this.gridColumn8.FieldName = "AccountPair";
            this.gridColumn8.Name = "gridColumn8";
            this.gridColumn8.OptionsColumn.AllowFocus = false;
            this.gridColumn8.OptionsColumn.FixedWidth = true;
            this.gridColumn8.Visible = true;
            this.gridColumn8.VisibleIndex = 1;
            this.gridColumn8.Width = 120;
            // 
            // gridColumn2
            // 
            this.gridColumn2.Caption = "Home Team";
            this.gridColumn2.FieldName = "HomeTeamName";
            this.gridColumn2.Name = "gridColumn2";
            this.gridColumn2.OptionsColumn.AllowFocus = false;
            this.gridColumn2.UnboundType = DevExpress.Data.UnboundColumnType.String;
            this.gridColumn2.Visible = true;
            this.gridColumn2.VisibleIndex = 2;
            this.gridColumn2.Width = 107;
            // 
            // gridColumn3
            // 
            this.gridColumn3.Caption = "Away Team";
            this.gridColumn3.FieldName = "AwayTeamName";
            this.gridColumn3.Name = "gridColumn3";
            this.gridColumn3.OptionsColumn.AllowFocus = false;
            this.gridColumn3.UnboundType = DevExpress.Data.UnboundColumnType.String;
            this.gridColumn3.Visible = true;
            this.gridColumn3.VisibleIndex = 3;
            this.gridColumn3.Width = 119;
            // 
            // gridColumn6
            // 
            this.gridColumn6.Caption = "Type";
            this.gridColumn6.FieldName = "OddType";
            this.gridColumn6.Name = "gridColumn6";
            this.gridColumn6.OptionsColumn.AllowFocus = false;
            this.gridColumn6.OptionsColumn.FixedWidth = true;
            this.gridColumn6.UnboundType = DevExpress.Data.UnboundColumnType.String;
            this.gridColumn6.Visible = true;
            this.gridColumn6.VisibleIndex = 4;
            this.gridColumn6.Width = 150;
            // 
            // gridColumn4
            // 
            this.gridColumn4.Caption = "Odd";
            this.gridColumn4.FieldName = "OddKindValue";
            this.gridColumn4.Name = "gridColumn4";
            this.gridColumn4.OptionsColumn.AllowFocus = false;
            this.gridColumn4.OptionsColumn.FixedWidth = true;
            this.gridColumn4.UnboundType = DevExpress.Data.UnboundColumnType.String;
            this.gridColumn4.Visible = true;
            this.gridColumn4.VisibleIndex = 5;
            this.gridColumn4.Width = 60;
            // 
            // gridColumn5
            // 
            this.gridColumn5.Caption = "Value";
            this.gridColumn5.FieldName = "OddValue";
            this.gridColumn5.Name = "gridColumn5";
            this.gridColumn5.OptionsColumn.AllowFocus = false;
            this.gridColumn5.OptionsColumn.FixedWidth = true;
            this.gridColumn5.UnboundType = DevExpress.Data.UnboundColumnType.String;
            this.gridColumn5.Visible = true;
            this.gridColumn5.VisibleIndex = 6;
            this.gridColumn5.Width = 60;
            // 
            // gridColumn7
            // 
            this.gridColumn7.Caption = "Stake";
            this.gridColumn7.FieldName = "Stake";
            this.gridColumn7.Name = "gridColumn7";
            this.gridColumn7.OptionsColumn.AllowFocus = false;
            this.gridColumn7.OptionsColumn.FixedWidth = true;
            this.gridColumn7.UnboundType = DevExpress.Data.UnboundColumnType.String;
            this.gridColumn7.Visible = true;
            this.gridColumn7.VisibleIndex = 7;
            this.gridColumn7.Width = 60;
            // 
            // gridColumn10
            // 
            this.gridColumn10.Caption = "I";
            this.gridColumn10.FieldName = "IBETTrade";
            this.gridColumn10.Name = "gridColumn10";
            this.gridColumn10.OptionsColumn.AllowFocus = false;
            this.gridColumn10.OptionsColumn.FixedWidth = true;
            this.gridColumn10.UnboundType = DevExpress.Data.UnboundColumnType.Boolean;
            this.gridColumn10.Visible = true;
            this.gridColumn10.VisibleIndex = 8;
            this.gridColumn10.Width = 30;
            // 
            // gridColumn11
            // 
            this.gridColumn11.Caption = "3";
            this.gridColumn11.FieldName = "THREEIN1Trade";
            this.gridColumn11.Name = "gridColumn11";
            this.gridColumn11.OptionsColumn.AllowFocus = false;
            this.gridColumn11.OptionsColumn.FixedWidth = true;
            this.gridColumn11.UnboundType = DevExpress.Data.UnboundColumnType.Boolean;
            this.gridColumn11.Visible = true;
            this.gridColumn11.VisibleIndex = 9;
            this.gridColumn11.Width = 30;
            // 
            // gridColumn12
            // 
            this.gridColumn12.Caption = "3 Re";
            this.gridColumn12.FieldName = "THREEIN1ReTrade";
            this.gridColumn12.Name = "gridColumn12";
            this.gridColumn12.OptionsColumn.AllowFocus = false;
            this.gridColumn12.OptionsColumn.FixedWidth = true;
            this.gridColumn12.UnboundType = DevExpress.Data.UnboundColumnType.Boolean;
            this.gridColumn12.Visible = true;
            this.gridColumn12.VisibleIndex = 11;
            this.gridColumn12.Width = 30;
            // 
            // gridColumn9
            // 
            this.gridColumn9.Caption = "I Re";
            this.gridColumn9.FieldName = "IBETReTrade";
            this.gridColumn9.Name = "gridColumn9";
            this.gridColumn9.OptionsColumn.AllowFocus = false;
            this.gridColumn9.OptionsColumn.FixedWidth = true;
            this.gridColumn9.Visible = true;
            this.gridColumn9.VisibleIndex = 12;
            this.gridColumn9.Width = 30;
            // 
            // gridColumn14
            // 
            this.gridColumn14.Caption = "B";
            this.gridColumn14.FieldName = "SBOBETTrade";
            this.gridColumn14.Name = "gridColumn14";
            this.gridColumn14.OptionsColumn.AllowFocus = false;
            this.gridColumn14.OptionsColumn.FixedWidth = true;
            this.gridColumn14.UnboundType = DevExpress.Data.UnboundColumnType.Boolean;
            this.gridColumn14.Visible = true;
            this.gridColumn14.VisibleIndex = 10;
            this.gridColumn14.Width = 30;
            // 
            // gridColumn15
            // 
            this.gridColumn15.Caption = "B Re";
            this.gridColumn15.FieldName = "SBOBETReTrade";
            this.gridColumn15.Name = "gridColumn15";
            this.gridColumn15.OptionsColumn.AllowFocus = false;
            this.gridColumn15.OptionsColumn.FixedWidth = true;
            this.gridColumn15.UnboundType = DevExpress.Data.UnboundColumnType.Boolean;
            this.gridColumn15.Visible = true;
            this.gridColumn15.VisibleIndex = 13;
            this.gridColumn15.Width = 30;
            // 
            // gridColumn13
            // 
            this.gridColumn13.Caption = "DateTime";
            this.gridColumn13.DisplayFormat.FormatString = "dd/MM/yyyy hh:mm:ss";
            this.gridColumn13.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
            this.gridColumn13.FieldName = "DateTime";
            this.gridColumn13.Name = "gridColumn13";
            this.gridColumn13.OptionsColumn.AllowFocus = false;
            this.gridColumn13.OptionsColumn.FixedWidth = true;
            this.gridColumn13.SortMode = DevExpress.XtraGrid.ColumnSortMode.Value;
            this.gridColumn13.Summary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] {
            new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Count)});
            this.gridColumn13.UnboundType = DevExpress.Data.UnboundColumnType.DateTime;
            this.gridColumn13.Visible = true;
            this.gridColumn13.VisibleIndex = 14;
            this.gridColumn13.Width = 150;
            // 
            // panelControl3
            // 
            this.panelControl3.Location = new System.Drawing.Point(0, 0);
            this.panelControl3.Name = "panelControl3";
            this.panelControl3.Size = new System.Drawing.Size(200, 100);
            this.panelControl3.TabIndex = 8;
            // 
            // panelControl4
            // 
            this.panelControl4.Location = new System.Drawing.Point(0, 0);
            this.panelControl4.Name = "panelControl4";
            this.panelControl4.Size = new System.Drawing.Size(200, 100);
            this.panelControl4.TabIndex = 9;
            // 
            // xtraTabPage3
            // 
            this.xtraTabPage3.Controls.Add(this.btnStatement);
            this.xtraTabPage3.Controls.Add(this.btnBetList);
            this.xtraTabPage3.Controls.Add(this.cbeSignatureTemplate);
            this.xtraTabPage3.Controls.Add(this.panelControl1);
            this.xtraTabPage3.Name = "xtraTabPage3";
            this.xtraTabPage3.Size = new System.Drawing.Size(1050, 417);
            this.xtraTabPage3.Text = "Bet List - Statement";
            // 
            // btnStatement
            // 
            this.btnStatement.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.btnStatement.Location = new System.Drawing.Point(295, 391);
            this.btnStatement.Name = "btnStatement";
            this.btnStatement.Size = new System.Drawing.Size(99, 23);
            this.btnStatement.TabIndex = 7;
            this.btnStatement.Text = "Statement";
            this.btnStatement.Click += new System.EventHandler(this.btnStatement_Click);
            // 
            // btnBetList
            // 
            this.btnBetList.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.btnBetList.Location = new System.Drawing.Point(198, 391);
            this.btnBetList.Name = "btnBetList";
            this.btnBetList.Size = new System.Drawing.Size(91, 23);
            this.btnBetList.TabIndex = 6;
            this.btnBetList.Text = "Refresh";
            this.btnBetList.Click += new System.EventHandler(this.btnRefresh_Click);
            // 
            // cbeSignatureTemplate
            // 
            this.cbeSignatureTemplate.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.cbeSignatureTemplate.EditValue = "Select account pair";
            this.cbeSignatureTemplate.Location = new System.Drawing.Point(3, 394);
            this.cbeSignatureTemplate.Name = "cbeSignatureTemplate";
            this.cbeSignatureTemplate.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.False;
            this.cbeSignatureTemplate.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.cbeSignatureTemplate.Properties.DropDownRows = 10;
            this.cbeSignatureTemplate.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
            this.cbeSignatureTemplate.Size = new System.Drawing.Size(189, 20);
            this.cbeSignatureTemplate.TabIndex = 5;
            // 
            // panelControl1
            // 
            this.panelControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
            | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.panelControl1.Controls.Add(this.webBrowser2);
            this.panelControl1.Controls.Add(this.splitter1);
            this.panelControl1.Controls.Add(this.webBrowser1);
            this.panelControl1.Location = new System.Drawing.Point(2, 3);
            this.panelControl1.Name = "panelControl1";
            this.panelControl1.Size = new System.Drawing.Size(1044, 382);
            this.panelControl1.TabIndex = 3;
            // 
            // webBrowser2
            // 
            this.webBrowser2.Dock = System.Windows.Forms.DockStyle.Fill;
            this.webBrowser2.Location = new System.Drawing.Point(364, 2);
            this.webBrowser2.MinimumSize = new System.Drawing.Size(20, 20);
            this.webBrowser2.Name = "webBrowser2";
            this.webBrowser2.Size = new System.Drawing.Size(678, 378);
            this.webBrowser2.TabIndex = 2;
            this.webBrowser2.Url = new System.Uri("", System.UriKind.Relative);
            // 
            // splitter1
            // 
            this.splitter1.Location = new System.Drawing.Point(361, 2);
            this.splitter1.Name = "splitter1";
            this.splitter1.Size = new System.Drawing.Size(3, 378);
            this.splitter1.TabIndex = 1;
            this.splitter1.TabStop = false;
            // 
            // webBrowser1
            // 
            this.webBrowser1.Dock = System.Windows.Forms.DockStyle.Left;
            this.webBrowser1.Location = new System.Drawing.Point(2, 2);
            this.webBrowser1.MinimumSize = new System.Drawing.Size(20, 20);
            this.webBrowser1.Name = "webBrowser1";
            this.webBrowser1.Size = new System.Drawing.Size(359, 378);
            this.webBrowser1.TabIndex = 0;
            this.webBrowser1.Url = new System.Uri("", System.UriKind.Relative);
            // 
            // xtraTabPage5
            // 
            this.xtraTabPage5.Controls.Add(this.panelControl2);
            this.xtraTabPage5.Name = "xtraTabPage5";
            this.xtraTabPage5.Size = new System.Drawing.Size(1050, 417);
            this.xtraTabPage5.Text = "Settings";
            // 
            // panelControl2
            // 
            this.panelControl2.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
            | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.panelControl2.Controls.Add(this.textEdit4);
            this.panelControl2.Controls.Add(this.chkSCloud);
            this.panelControl2.Controls.Add(this.simpleButton2);
            this.panelControl2.Controls.Add(this.textEdit3);
            this.panelControl2.Controls.Add(this.textEdit2);
            this.panelControl2.Controls.Add(this.textEdit1);
            this.panelControl2.Controls.Add(this.simpleButton1);
            this.panelControl2.Controls.Add(this.label4);
            this.panelControl2.Controls.Add(this.label3);
            this.panelControl2.Controls.Add(this.label2);
            this.panelControl2.Controls.Add(this.label1);
            this.panelControl2.Controls.Add(this.chkRCloud);
            this.panelControl2.Controls.Add(this.btnSignMeIn);
            this.panelControl2.Controls.Add(this.txtServerIP);
            this.panelControl2.Controls.Add(this.txtServerUserName);
            this.panelControl2.Controls.Add(this.txtServerPassword);
            this.panelControl2.Controls.Add(this.pictureEdit1);
            this.panelControl2.Location = new System.Drawing.Point(3, 3);
            this.panelControl2.Name = "panelControl2";
            this.panelControl2.Size = new System.Drawing.Size(1044, 497);
            this.panelControl2.TabIndex = 0;
            // 
            // textEdit4
            // 
            this.textEdit4.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
            | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.textEdit4.Location = new System.Drawing.Point(244, 5);
            this.textEdit4.Name = "textEdit4";
            this.textEdit4.Size = new System.Drawing.Size(408, 406);
            this.textEdit4.TabIndex = 18;
            // 
            // chkSCloud
            // 
            this.chkSCloud.EditValue = true;
            this.chkSCloud.Location = new System.Drawing.Point(13, 27);
            this.chkSCloud.Name = "chkSCloud";
            this.chkSCloud.Properties.Caption = "S cloud";
            this.chkSCloud.Size = new System.Drawing.Size(86, 19);
            this.chkSCloud.TabIndex = 17;
            // 
            // simpleButton2
            // 
            this.simpleButton2.Location = new System.Drawing.Point(130, 307);
            this.simpleButton2.Name = "simpleButton2";
            this.simpleButton2.Size = new System.Drawing.Size(97, 23);
            this.simpleButton2.TabIndex = 16;
            this.simpleButton2.Text = "Set";
            this.simpleButton2.Click += new System.EventHandler(this.simpleButton2_Click);
            // 
            // textEdit3
            // 
            this.textEdit3.EditValue = "0";
            this.textEdit3.Location = new System.Drawing.Point(94, 216);
            this.textEdit3.Name = "textEdit3";
            this.textEdit3.Size = new System.Drawing.Size(142, 20);
            this.textEdit3.TabIndex = 15;
            // 
            // textEdit2
            // 
            this.textEdit2.Location = new System.Drawing.Point(94, 268);
            this.textEdit2.Name = "textEdit2";
            this.textEdit2.Size = new System.Drawing.Size(142, 20);
            this.textEdit2.TabIndex = 14;
            // 
            // textEdit1
            // 
            this.textEdit1.Location = new System.Drawing.Point(94, 241);
            this.textEdit1.Name = "textEdit1";
            this.textEdit1.Size = new System.Drawing.Size(142, 20);
            this.textEdit1.TabIndex = 13;
            // 
            // simpleButton1
            // 
            this.simpleButton1.Location = new System.Drawing.Point(18, 307);
            this.simpleButton1.Name = "simpleButton1";
            this.simpleButton1.Size = new System.Drawing.Size(97, 23);
            this.simpleButton1.TabIndex = 12;
            this.simpleButton1.Text = "Get";
            this.simpleButton1.Click += new System.EventHandler(this.simpleButton1_Click);
            // 
            // label4
            // 
            this.label4.AutoSize = true;
            this.label4.Location = new System.Drawing.Point(12, 176);
            this.label4.Name = "label4";
            this.label4.Size = new System.Drawing.Size(0, 13);
            this.label4.TabIndex = 11;
            // 
            // label3
            // 
            this.label3.AutoSize = true;
            this.label3.Location = new System.Drawing.Point(11, 140);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(53, 13);
            this.label3.TabIndex = 10;
            this.label3.Text = "Password";
            // 
            // label2
            // 
            this.label2.AutoSize = true;
            this.label2.Location = new System.Drawing.Point(11, 113);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(55, 13);
            this.label2.TabIndex = 9;
            this.label2.Text = "Username";
            // 
            // label1
            // 
            this.label1.AutoSize = true;
            this.label1.Location = new System.Drawing.Point(11, 86);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(81, 13);
            this.label1.TabIndex = 8;
            this.label1.Text = "Server Address";
            // 
            // chkRCloud
            // 
            this.chkRCloud.EditValue = true;
            this.chkRCloud.Location = new System.Drawing.Point(12, 53);
            this.chkRCloud.Name = "chkRCloud";
            this.chkRCloud.Properties.Caption = "R cloud";
            this.chkRCloud.Size = new System.Drawing.Size(86, 19);
            this.chkRCloud.TabIndex = 7;
            this.chkRCloud.CheckedChanged += new System.EventHandler(this.chbCloud_CheckedChanged);
            // 
            // btnSignMeIn
            // 
            this.btnSignMeIn.Location = new System.Drawing.Point(154, 171);
            this.btnSignMeIn.Name = "btnSignMeIn";
            this.btnSignMeIn.Size = new System.Drawing.Size(75, 23);
            this.btnSignMeIn.TabIndex = 3;
            this.btnSignMeIn.Text = "Sign me in";
            this.btnSignMeIn.Click += new System.EventHandler(this.btnSignMeIn_Click);
            // 
            // txtServerIP
            // 
            this.txtServerIP.EditValue = "115.84.178.100";
            this.txtServerIP.Location = new System.Drawing.Point(95, 83);
            this.txtServerIP.Name = "txtServerIP";
            this.txtServerIP.Size = new System.Drawing.Size(142, 20);
            this.txtServerIP.TabIndex = 4;
            // 
            // txtServerUserName
            // 
            this.txtServerUserName.EditValue = "tuns";
            this.txtServerUserName.Location = new System.Drawing.Point(95, 110);
            this.txtServerUserName.Name = "txtServerUserName";
            this.txtServerUserName.Size = new System.Drawing.Size(142, 20);
            this.txtServerUserName.TabIndex = 5;
            // 
            // txtServerPassword
            // 
            this.txtServerPassword.EditValue = "anhkomuonradi";
            this.txtServerPassword.Location = new System.Drawing.Point(95, 137);
            this.txtServerPassword.Name = "txtServerPassword";
            this.txtServerPassword.Properties.UseSystemPasswordChar = true;
            this.txtServerPassword.Size = new System.Drawing.Size(142, 20);
            this.txtServerPassword.TabIndex = 6;
            // 
            // pictureEdit1
            // 
            this.pictureEdit1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.pictureEdit1.EditValue = ((object)(resources.GetObject("pictureEdit1.EditValue")));
            this.pictureEdit1.Location = new System.Drawing.Point(658, 5);
            this.pictureEdit1.Name = "pictureEdit1";
            this.pictureEdit1.Properties.AllowFocused = false;
            this.pictureEdit1.Properties.Appearance.BackColor = System.Drawing.Color.Transparent;
            this.pictureEdit1.Properties.Appearance.Options.UseBackColor = true;
            this.pictureEdit1.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
            this.pictureEdit1.Properties.PictureAlignment = System.Drawing.ContentAlignment.TopLeft;
            this.pictureEdit1.Properties.ShowMenu = false;
            this.pictureEdit1.Size = new System.Drawing.Size(382, 448);
            this.pictureEdit1.TabIndex = 2;
            // 
            // xtraTabControl2
            // 
            this.xtraTabControl2.Dock = System.Windows.Forms.DockStyle.Fill;
            this.xtraTabControl2.Location = new System.Drawing.Point(0, 0);
            this.xtraTabControl2.Name = "xtraTabControl2";
            this.xtraTabControl2.SelectedTabPage = this.xtraTabPage2;
            this.xtraTabControl2.Size = new System.Drawing.Size(1056, 44);
            this.xtraTabControl2.TabIndex = 1;
            this.xtraTabControl2.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] {
            this.xtraTabPage2,
            this.xtraTabPage4});
            // 
            // xtraTabPage2
            // 
            this.xtraTabPage2.Name = "xtraTabPage2";
            this.xtraTabPage2.Size = new System.Drawing.Size(1050, 18);
            this.xtraTabPage2.Text = "Waiting list";
            // 
            // xtraTabPage4
            // 
            this.xtraTabPage4.Name = "xtraTabPage4";
            this.xtraTabPage4.Size = new System.Drawing.Size(1050, 18);
            this.xtraTabPage4.Text = "Clones monitor";
            // 
            // ribbonPageGroup4
            // 
            this.ribbonPageGroup4.ItemLinks.Add(this.btnClear);
            this.ribbonPageGroup4.Name = "ribbonPageGroup4";
            this.ribbonPageGroup4.ShowCaptionButton = false;
            this.ribbonPageGroup4.Text = "Tracking";
            // 
            // MainForm
            // 
            this.AutoHideRibbon = false;
            this.ClientSize = new System.Drawing.Size(1056, 648);
            this.Controls.Add(this.splitContainerControl1);
            this.Controls.Add(this.ribbonStatusBar1);
            this.Controls.Add(this.ribbonControl1);
            this.Icon = global::iBet.App.Properties.Resources.BetBrokerLogo;
            this.Name = "MainForm";
            this.Ribbon = this.ribbonControl1;
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.StatusBar = this.ribbonStatusBar1;
            this.Text = "Bet Broker";
            this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
            ((System.ComponentModel.ISupportInitialize)(this.ribbonControl1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemPopupContainerEdit1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).EndInit();
            this.splitContainerControl1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).EndInit();
            this.xtraTabControl1.ResumeLayout(false);
            this.xtraTabPage1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.grdTransaction)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridView2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.panelControl4)).EndInit();
            this.xtraTabPage3.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.cbeSignatureTemplate.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).EndInit();
            this.panelControl1.ResumeLayout(false);
            this.xtraTabPage5.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).EndInit();
            this.panelControl2.ResumeLayout(false);
            this.panelControl2.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.textEdit4.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.chkSCloud.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.textEdit3.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.textEdit2.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.textEdit1.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.chkRCloud.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtServerIP.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtServerUserName.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtServerPassword.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.pictureEdit1.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl2)).EndInit();
            this.xtraTabControl2.ResumeLayout(false);
            this.ResumeLayout(false);

		}
コード例 #41
0
        /*load hình ảnh vào label*/
        public void LoadDuLieu(LabelControl lblMNV, LabelControl lblTNV, LabelControl lblDC, LabelControl lblSDT,
                                LabelControl lblCV, LabelControl lblTenDN, string strSite, string strMK, PictureEdit ptB)
        {
            #region ko ổn
            //lblMNV.Text = frmDangNhap.MaNhanVien;
            //lblTNV.Text = frmDangNhap.TenNhanVien;
            //lblDC.Text = frmDangNhap.DiaChi;
            //lblSDT.Text = frmDangNhap.SoDienThoai;
            //lblCV.Text = frmDangNhap.ChucVu;
            //lblTenDN.Text = frmDangNhap.TenDangNhap;
            //strSite = frmDangNhap.Site;
            //strMK = frmDangNhap.MatKhau;
            //Image myImage = frmDangNhap.myImage;
            //ptB.Image = myImage;
            #endregion

            string mnv = frmDangNhap.MaNhanVien;
            DataTable dt = DA.TbView(@"Select MaNhanVien,TenNhanVien,DiaChi,
                                        SoDienThoai,ChucVu,TenDangNhap,MatKhau,AnhDaiDien,Site 
                                        From NhanVien Where MaNhanVien='" + mnv + "'");
            lblMNV.Text = dt.Rows[0]["MaNhanVien"].ToString().Trim();
            lblTNV.Text = dt.Rows[0]["TenNhanVien"].ToString().Trim();
            lblDC.Text = dt.Rows[0]["DiaChi"].ToString().Trim();
            lblSDT.Text = dt.Rows[0]["SoDienThoai"].ToString().Trim();
            lblCV.Text = dt.Rows[0]["ChucVu"].ToString().Trim();
            lblTenDN.Text = dt.Rows[0]["TenDangNhap"].ToString().Trim();
            strSite = dt.Rows[0]["Site"].ToString().Trim();
            strMK = dt.Rows[0]["MatKhau"].ToString().Trim();
            Image myImage = ByteArrayToImage((byte[])dt.Rows[0]["AnhDaiDien"]);
            ptB.Image = myImage;
        }
コード例 #42
0
ファイル: LanguageEngine.cs プロジェクト: penguinsoft/iPOS
 public static void ChangeCaptionPictureEdit(string parent_name, string language, PictureEdit picture_edit)
 {
     picture_edit.Properties.NullText = "[" + CaptionEngine.GetControlCaption(parent_name, picture_edit.Name, BaseConstant.CONTROL_TEXT, language) + "]";
 }