Exemplo n.º 1
0
        /// <summary>
        /// Creates a column model for a report
        /// </summary>
        /// <param name="fields">The visible columns</param>
        public static ColumnModel CreateColumnModel(ReportFields fields)
        {
            ImageColumn    reportTypeImageColumn   = CreateImageColumn(string.Empty, 20, "");
            ImageColumn    reportStatusImageColumn = CreateImageColumn(string.Empty, 20, "");
            TextColumn     reportVillageColumn     = CreateTextColumn("Village", 50);
            TextColumn     reportPlayerColumn      = CreateTextColumn("Player", 100);
            DateTimeColumn reportDateColumn        = CreateDateTimeColumn("Date", 70);
            ImageColumn    reportFlagImageColumn   = CreateImageColumn(string.Empty, 20, "");

            reportTypeImageColumn.Visible   = (fields & ReportFields.Type) != 0;
            reportStatusImageColumn.Visible = (fields & ReportFields.Status) != 0;
            reportVillageColumn.Visible     = (fields & ReportFields.Village) != 0;
            reportPlayerColumn.Visible      = (fields & ReportFields.Player) != 0;
            reportDateColumn.Visible        = (fields & ReportFields.Date) != 0;
            reportFlagImageColumn.Visible   = (fields & ReportFields.Flag) != 0;

            return(new ColumnModel(new Column[] {
                reportTypeImageColumn,
                reportStatusImageColumn,
                reportVillageColumn,
                reportPlayerColumn,
                reportDateColumn,
                reportFlagImageColumn
            }));
        }
Exemplo n.º 2
0
        /// <summary>
        /// Creates a column model for a player
        /// </summary>
        /// <param name="fields">The visible columns</param>
        public static ColumnModel CreateColumnModel(PlayerFields fields)
        {
            ImageColumn  visibleColumn                  = CreateImageColumn(string.Empty, 20, VillageGridExRes.Player_VisibleTooltip);
            TextColumn   playerNameColumn               = CreateTextColumn(VillageGridExRes.Name, 85, VillageGridExRes.Player_NameTooltip);
            TextColumn   playerTribeColumn              = CreateTextColumn(VillageGridExRes.Tribe, 60, VillageGridExRes.Player_TribeTooltip);
            NumberColumn playerPointsColumn             = CreateNumberColumn(VillageGridExRes.Points, 72, VillageGridExRes.Player_PointsTooltip);
            NumberColumn playerVillagesColumn           = CreateNumberColumn(VillageGridExRes.Villages, 60, VillageGridExRes.Player_VillagesTooltip);
            TextColumn   playerVillagesDifferenceColumn = CreateTextColumn(VillageGridExRes.Difference, 60, VillageGridExRes.Player_VillagesDiffTooltip);
            TextColumn   playerTribeDifferenceColumn    = CreateTextColumn(VillageGridExRes.TribeOld, 65, VillageGridExRes.Player_TribeOldTooltip);
            NumberColumn playerPointsDifferenceColumn   = CreateNumberColumn(VillageGridExRes.Difference, 55, VillageGridExRes.Player_PointsDiffTooltip);

            playerNameColumn.Visible               = (fields & PlayerFields.Name) != 0;
            playerPointsColumn.Visible             = (fields & PlayerFields.Points) != 0;
            playerPointsDifferenceColumn.Visible   = (fields & PlayerFields.PointsDifference) != 0;
            playerTribeColumn.Visible              = (fields & PlayerFields.Tribe) != 0;
            playerTribeDifferenceColumn.Visible    = (fields & PlayerFields.TribeDifference) != 0;
            playerVillagesColumn.Visible           = (fields & PlayerFields.Villages) != 0;
            playerVillagesDifferenceColumn.Visible = (fields & PlayerFields.VillagesDifference) != 0;

            return(new ColumnModel(new Column[] {
                visibleColumn,
                playerNameColumn,
                playerTribeDifferenceColumn,
                playerTribeColumn,
                playerPointsColumn,
                playerPointsDifferenceColumn,
                playerVillagesColumn,
                playerVillagesDifferenceColumn
            }));
        }
Exemplo n.º 3
0
            public override Column GetColumn(PropertyDescriptor prop, int index)
            {
                if (prop.Name == "size")
                {
                    ImageColumn col = new ImageColumn("size", _list.Images[0], 100);
                    return(col);
                }
                else if (prop.Name == "like them?")
                {
                    CheckBoxColumn c = (CheckBoxColumn)base.GetColumn(prop, index);
                    c.Alignment = ColumnAlignment.Center;
                    c.DrawText  = false;
                    c.CheckSize = new Size(25, 25);
                    return(c);
                }
                else if (prop.Name == "name")
                {
                    ComboBoxColumn combo = new ComboBoxColumn("name");

                    return(combo);
                }
                else
                {
                    return(base.GetColumn(prop, index));
                }
            }
Exemplo n.º 4
0
        /// <summary>
        /// Initializes XPTable (listPackages) model.
        /// </summary>
        private void InitializeXPTable()
        {
            // == Packages XPTable == //
            this.tablePackages.SelectionStyle = SelectionStyle.Grid;
            this.tablePackages.GridLines      = GridLines.None;
            this.tablePackages.EnableWordWrap = true;

            ImageColumn col1 = new ImageColumn(String.Empty, 32)
            {
                Editable = false, Resizable = false
            };
            TextColumn col2 = new TextColumn()
            {
                Editable = false, Resizable = false
            };

            this.tablePackages.ColumnModel = new ColumnModel(new Column[] { col1, col2 });
            this.tablePackages.TableModel  = new TableModel();

            // == Changes XPTable == //
            this.tableChanges.SelectionStyle = SelectionStyle.Grid;
            this.tableChanges.GridLines      = GridLines.None;
            this.tableChanges.EnableWordWrap = true;

            ImageColumn col3 = new ImageColumn(String.Empty, 32)
            {
                Editable = false, Resizable = false
            };
            TextColumn col4 = new TextColumn()
            {
                Editable = false, Resizable = false
            };

            this.tableChanges.ColumnModel = new ColumnModel(new Column[] { col3, col4 });
            this.tableChanges.TableModel  = new TableModel();

            // == Queue XPTable == //
            this.tableQueue.SelectionStyle = SelectionStyle.Grid;
            this.tableQueue.GridLines      = GridLines.Rows;
            this.tableQueue.EnableWordWrap = true;

            TextColumn col5 = new TextColumn()
            {
                Editable = false, Resizable = false
            };
            ProgressBarColumn col6 = new ProgressBarColumn()
            {
                Editable = false, Resizable = false
            };

            this.tableQueue.ColumnModel = new ColumnModel(new Column[] { col5, col6 });
            this.tableQueue.TableModel  = new TableModel()
            {
                RowHeight = 20
            };
        }
Exemplo n.º 5
0
        /// <summary>
        /// Creates an Image column
        /// </summary>
        private static ImageColumn CreateImageColumn(string header, int width, string toolTipText)
        {
            var col = new ImageColumn(header, width)
            {
                DrawText = false, Editable = false, ToolTipText = toolTipText
            };

            col.Comparer = typeof(TextComparer);
            return(col);
        }
Exemplo n.º 6
0
        public static ImageColumn <T>[] Columns <T>(this IImage <T> image)
            where T : struct, IEquatable <T>
        {
            var columns = new ImageColumn <T> [image.Width];

            for (int col = 0; col < image.Width; col++)
            {
                columns[col] = image.Column(col);
            }

            return(columns);
        }
Exemplo n.º 7
0
        protected override void OnLoad(EventArgs e)
        {
            base.OnLoad(e);

            table1.BeginUpdate();
            ImageColumn imageColumn1 = new ImageColumn("#", 16);    //声明一个新列

            TextColumn textColumn1 = new TextColumn("Server", 150); //声明一个新列

            textColumn1.Editable = false;
            textColumn1.Visible  = false;

            TextColumn textColumn2 = new TextColumn("Name", 100);

            textColumn2.Editable = false;

            TextColumn textServerIP = new TextColumn("IP", 100);

            textServerIP.Editable = false;
            //textServerIP.Visible = false;

            TextColumn textVersion = new TextColumn("Version", 30);

            textVersion.Alignment = ColumnAlignment.Center;

            ProgressBarColumn Cpu    = new ProgressBarColumn("CPU", 60);
            ProgressBarColumn disk_C = new ProgressBarColumn("C:", 60);
            ProgressBarColumn disk_D = new ProgressBarColumn("D:", 60);
            ProgressBarColumn disk_E = new ProgressBarColumn("E:", 60);
            ProgressBarColumn disk_F = new ProgressBarColumn("F:", 60);
            ProgressBarColumn disk_G = new ProgressBarColumn("G:", 60);

            TextColumn textStatus = new TextColumn("Status", 48);

            table1.ColumnModel = new ColumnModel(new Column[] { imageColumn1, textColumn1, textColumn2, textServerIP, Cpu, disk_C, disk_D, disk_E, disk_F, disk_G, textVersion, textStatus });//把声明的列添加到列中
            //table1.HeaderRenderer = new GradientHeaderRenderer();//设置样式
            table1.FullRowSelect = true;
            table1.EndUpdate();

            //===================================
            //Row row;
            //Cell cell;
            //row = new Row();
            //row.Cells.Add(new Cell("Offline", (Image)Properties.Resources.offline));
            //row.Cells.Add(new Cell("strCell2"));
            //model.Rows.Add(row);
            //table1.TableModel = model;
            //===================================
        }
Exemplo n.º 8
0
        private void InitializeTable()
        {
            ImageColumn iconColumn = new ImageColumn("Information", 25);

            iconColumn.DrawText = true;
            TextColumn timestampColumn = new TextColumn("Timestamp", 75);
            TextColumn textColumn      = new TextColumn("Text", 100);

            textColumn.Width = table.Width;

            table.ColumnModel          = new ColumnModel(new Column[] { iconColumn, timestampColumn, textColumn });
            table.TableModel           = new TableModel();
            table.TableModel.RowHeight = 21;
            table.SizeChanged         += new EventHandler(table_SizeChanged);
        }
Exemplo n.º 9
0
        /// <summary>
        /// Creates a column model for a village
        /// </summary>
        /// <param name="fields">The visible columns</param>
        public static ColumnModel CreateColumnModel(VillageFields fields)
        {
            ImageColumn  visibleColumn                 = CreateImageColumn(string.Empty, 20, VillageGridExRes.VisibleTooltip);
            ImageColumn  villageImageColumn            = CreateImageColumn(string.Empty, 20, VillageGridExRes.TypeTooltip);
            TextColumn   villageCoordColumn            = CreateTextColumn(VillageGridExRes.Location, 50, VillageGridExRes.LocationTooltip);
            TextColumn   villageNameColumn             = CreateTextColumn(VillageGridExRes.Name, 114, VillageGridExRes.NameTooltip);
            NumberColumn villagePointsColumn           = CreateNumberColumn(VillageGridExRes.Points, 55, VillageGridExRes.PointsTooltip);
            NumberColumn villagePointsDifferenceColumn = CreateNumberColumn(VillageGridExRes.Difference, 45, VillageGridExRes.PointsDifferenceTooltip);

            TextColumn   villagePlayerColumn             = CreateTextColumn(VillageGridExRes.Player, 85, VillageGridExRes.PlayerNameTooltip);
            TextColumn   villagePlayerDifferenceColumn   = CreateTextColumn(VillageGridExRes.PlayerOld, 85, VillageGridExRes.PlayerDifferenceTooltip);
            NumberColumn villagePlayerPoints             = CreateNumberColumn(VillageGridExRes.Points, 65, VillageGridExRes.PlayerPointsTooltip);
            NumberColumn villagePlayerPointsDifference   = CreateNumberColumn(VillageGridExRes.Difference, 55, VillageGridExRes.PlayerPointsDiffTooltip);
            NumberColumn villageVillagesColumn           = CreateNumberColumn(VillageGridExRes.Villages, 60, VillageGridExRes.VillagesTooltip);
            TextColumn   villageVillagesDifferenceColumn = CreateTextColumn(VillageGridExRes.Difference, 45, VillageGridExRes.VillagesDiffTooltip);
            TextColumn   villageTribeColumn     = CreateTextColumn(VillageGridExRes.Tribe, 50, VillageGridExRes.TribeTagTooltip);
            NumberColumn villageTribeRankColumn = CreateNumberColumn(VillageGridExRes.Rank, 50, VillageGridExRes.TribeRankTooltip);

            villageImageColumn.Visible              = (fields & VillageFields.Type) != 0;
            villageNameColumn.Visible               = (fields & VillageFields.Name) != 0;
            villagePlayerColumn.Visible             = (fields & VillageFields.Player) != 0;
            villagePlayerDifferenceColumn.Visible   = (fields & VillageFields.PlayerDifference) != 0;
            villagePlayerPoints.Visible             = (fields & VillageFields.PlayerPoints) != 0;
            villagePlayerPointsDifference.Visible   = (fields & VillageFields.PlayerPointsDifference) != 0;
            villagePointsColumn.Visible             = (fields & VillageFields.Points) != 0;
            villagePointsDifferenceColumn.Visible   = (fields & VillageFields.PointsDifference) != 0;
            villageTribeColumn.Visible              = (fields & VillageFields.Tribe) != 0;
            villageTribeRankColumn.Visible          = (fields & VillageFields.TribeRank) != 0;
            villageVillagesColumn.Visible           = (fields & VillageFields.PlayerVillages) != 0;
            villageVillagesDifferenceColumn.Visible = (fields & VillageFields.PlayerVillagesDifference) != 0;

            return(new ColumnModel(new Column[] {
                visibleColumn,
                villageImageColumn,
                villageCoordColumn,
                villageNameColumn,
                villagePointsColumn,
                villagePointsDifferenceColumn,
                villagePlayerDifferenceColumn,
                villagePlayerColumn,
                villagePlayerPoints,
                villagePlayerPointsDifference,
                villageVillagesColumn,
                villageVillagesDifferenceColumn,
                villageTribeColumn,
                villageTribeRankColumn
            }));
        }
Exemplo n.º 10
0
        public void Cols()
        {
            IImage <double> image = ImageFactory.Generate(BunnyPath);

            ImageColumn <double>[] cols = image.Columns();
            Assert.IsNotNull(cols);
            Assert.IsTrue(cols.Length == image.Height);

            for (int j = 0; j < image.Width; j++)
            {
                ImageColumn <double> col = cols[j];
                Assert.IsNotNull(col);
                Assert.IsTrue(col.Count == col.Height);
                Assert.IsTrue(col.Count == image.Height);
            }
        }
Exemplo n.º 11
0
        protected virtual ColumnModel ColumnInitialize()
        {
            ImageColumn col1 = new ImageColumn(Translator.Instance.T("日志类型"), 100);

            col1.DrawText = true;

            TextColumn col2 = new TextColumn(Translator.Instance.T("时间"), 100);
            TextColumn col3 = new TextColumn(Translator.Instance.T("内容"), 100);

            ColumnModel r = new ColumnModel(new Column[] { col1, col2, col3 });

            foreach (Column col in r.Columns)
            {
                col.Resizable = true;
                col.Editable  = false;
            }
            return(r);
        }
Exemplo n.º 12
0
        /// <summary>
        /// 初始化表格
        /// </summary>
        private void InitTable()
        {
            this.tableFiles.ColumnModel     = this.columnModel;
            this.tableFiles.TableModel      = this.tableModel;
            this.tableFiles.CellMouseDown  += TableFiles_CellMouseDown;
            this.tableFiles.CellMouseEnter += TableFiles_CellMouseEnter;
            this.tableFiles.CellMouseLeave += TableFiles_CellMouseLeave;
            ImageColumn fileNameColumn = new ImageColumn("文件名", 240)
            {
                DrawText = true
            };
            TextColumn fileSizeColumn = new TextColumn("文件大小", 90)
            {
                Editable = false
            };
            NumberColumn pageStartColumn = new NumberColumn("起始页", 60)
            {
                Editable          = true,
                Minimum           = 1,
                Maximum           = 2000,
                ShowUpDownButtons = true
            };
            NumberColumn pageEndColumn = new NumberColumn("结束页", 60)
            {
                Editable          = true,
                Minimum           = 1,
                Maximum           = 2000,
                ShowUpDownButtons = true
            };
            ProgressBarColumn progressColumn = new ProgressBarColumn("状态", 100);
            ImageColumn       deleteColumn   = new ImageColumn("移除", 35)
            {
                DrawText = false
            };
            TextColumn filePathColumn = new TextColumn("文件路径", null, 0, false);

            this.columnModel.Columns.AddRange(new Column[] { fileNameColumn,
                                                             fileSizeColumn,
                                                             pageStartColumn,
                                                             pageEndColumn,
                                                             progressColumn,
                                                             deleteColumn, filePathColumn });
        }
Exemplo n.º 13
0
        public ScenarioPlayer()
        {
            InitializeComponent();

            this.table1.BeginUpdate();

            ImageColumn imageColumn = new ImageColumn("", 25);
            TextColumn  OrderColumn = new TextColumn("Ordre", 60);
            //OrderColumn.Maximum = 500;
            //OrderColumn.ShowUpDownButtons = true;

            TextColumn nomColumn = new TextColumn("Nom", 130);

            nomColumn.Editable = false;
            ProgressBarColumn progressColumn = new ProgressBarColumn("Progress", 150);

            TextColumn etatColumn = new TextColumn("Etat", 190);

            etatColumn.Editable = false;
            progressColumn.DrawPercentageText = true;
            this.table1.ColumnModel           = new ColumnModel(new Column[] { imageColumn,
                                                                               OrderColumn,
                                                                               nomColumn,
                                                                               progressColumn,
                                                                               etatColumn });

            this.table1.EndUpdate();

            MainEntry._ScenarioEvents.NewScenarioToPlay += new EventHandler(_ScenarioEvents_NewScenarioToPlay);
            MainEntry._ScenarioEvents.PlayerStatus      += new EventHandler(_ScenarioEvents_PlayerStatus);

            MainEntry._ScenarioEvents.ManagerStatus += new EventHandler(_ScenarioEvents_ManagerStatus);

            table1.CellClick += new XPTable.Events.CellMouseEventHandler(table1_CellClick);

            dateCheckBox.CheckedChanged += new EventHandler(dateCheckBox_CheckedChanged);

            TimerLabelUpdate = new TimerLabelUpdateHandler(UpdateTimeLabel);
        }
Exemplo n.º 14
0
        /// <summary>
        /// Creates a column model for a tribe
        /// </summary>
        /// <param name="fields">The visible columns</param>
        public static ColumnModel CreateColumnModel(TribeFields fields)
        {
            ImageColumn  visibleColumn                 = CreateImageColumn(string.Empty, 20, VillageGridExRes.Tribe_VisibleTooltip);
            NumberColumn tribeRankColumn               = CreateNumberColumn(VillageGridExRes.Rank, 40, VillageGridExRes.Tribe_RankTooltip);
            TextColumn   tribeTagColumn                = CreateTextColumn(VillageGridExRes.TribeTag, 50, VillageGridExRes.Tribe_TagTooltip);
            NumberColumn tribePlayersColumn            = CreateNumberColumn(VillageGridExRes.Players, 55, VillageGridExRes.Tribe_PlayersTooltip);
            TextColumn   tribePlayersDifferenceColumn  = CreateTextColumn(VillageGridExRes.Difference, 50, VillageGridExRes.Tribe_PlayersDiffTooltip);
            NumberColumn tribePointsColumn             = CreateNumberColumn(VillageGridExRes.Points, 75, VillageGridExRes.Tribe_PointsTooltip);
            NumberColumn tribePointsDifferenceColumn   = CreateNumberColumn(VillageGridExRes.Difference, 70, VillageGridExRes.Tribe_PointsDiffTooltip);
            NumberColumn tribeVillagesColumn           = CreateNumberColumn(VillageGridExRes.Villages, 55, VillageGridExRes.Tribe_VillagesTooltip);
            NumberColumn tribeVillagesDifferenceColumn = CreateNumberColumn(VillageGridExRes.Difference, 55, VillageGridExRes.Tribe_VillagesDiffTooltip);
            TextColumn   tribeNameColumn               = CreateTextColumn(VillageGridExRes.Name, 130, VillageGridExRes.Tribe_NameTooltip);

            tribeRankColumn.Visible               = (fields & TribeFields.Rank) != 0;
            tribeTagColumn.Visible                = (fields & TribeFields.Tag) != 0;
            tribeNameColumn.Visible               = (fields & TribeFields.Name) != 0;
            tribePlayersColumn.Visible            = (fields & TribeFields.Players) != 0;
            tribePlayersDifferenceColumn.Visible  = (fields & TribeFields.PlayersDifference) != 0;
            tribePointsColumn.Visible             = (fields & TribeFields.Points) != 0;
            tribePointsDifferenceColumn.Visible   = (fields & TribeFields.PointsDifference) != 0;
            tribeVillagesColumn.Visible           = (fields & TribeFields.Villages) != 0;
            tribeVillagesDifferenceColumn.Visible = (fields & TribeFields.VillagesDifference) != 0;

            return(new ColumnModel(new Column[] {
                visibleColumn,
                tribeRankColumn,
                tribeTagColumn,
                tribePlayersColumn,
                tribePlayersDifferenceColumn,
                tribePointsColumn,
                tribePointsDifferenceColumn,
                tribeVillagesColumn,
                tribeVillagesDifferenceColumn,
                tribeNameColumn
            }));
        }
Exemplo n.º 15
0
 public static ImageRow <T>[] Rows <T>(this ImageColumn <T> col)
     where T : struct, IEquatable <T>
 {
     return(col.Image.Rows());
 }
Exemplo n.º 16
0
        private void DoGroup()
        {
            Table table = this.table;       // The Table control on a form - already initialised

            //table.Font = new Font(table.Font.FontFamily, 12f);
            table.SelectionStyle = SelectionStyle.Grid;
            table.BeginUpdate();
            table.EnableWordWrap         = true; // If false, then Cell.WordWrap is ignored
            table.FamilyRowSelect        = true;
            table.FullRowSelect          = true;
            table.ShowSelectionRectangle = false;
            table.MultiSelect            = true;

            table.GridLines = GridLines.Both;

            GroupColumn col0 = new GroupColumn("", 20); // this is the NEW +/- column

            col0.Editable            = false;           // Double clicking on this is to toggle the collapsed state
            col0.Selectable          = false;
            col0.ToggleOnSingleClick = true;
            ImageColumn    col1 = new ImageColumn("", 20);
            TextColumn     col2 = new TextColumn("From", 200);
            DateTimeColumn col3 = new DateTimeColumn("Sent", 180); /// 493

            col3.ShowDropDownButton   = false;
            col3.DateTimeFormat       = DateTimePickerFormat.Custom;
            col3.CustomDateTimeFormat = "d/M/yyyy hh:mm";
            col3.Alignment            = ColumnAlignment.Right;
            col3.AutoResizeMode       = ColumnAutoResizeMode.Any;
            //NumberColumn col4 = new NumberColumn("num", 60);
            //col4.ShowUpDownButtons = true;
            ButtonColumn col4 = new ButtonColumn("butt");

            col4.FlatStyle = true;

            table.ColumnModel = new ColumnModel(new Column[] { col0, col1, col2, col3, col4 });

            TableModel model = new TableModel();

            //model.RowHeight = 24;

            AddEmailRows(model, true, "Dave ", "4/9/2007 12:34", "Here is the email subject", "Here is a preview of the text that is in the email. It wraps over too so you can see more of it");

            AddEmailRows(model, false, "Richard Richard Richard Richard Richard Richard Richard Richard Richard Richard Richard Richard Richard Richard", "5/4/2007 9:13", "An email abut something", "Another preview of another ficticious email. Not much to say really");

            AddEmailRows(model, true, "Andy", "13/2/2007 9:45", "Work stuff", "Can you get this finished by this afternoon please? Thanks");

            // Make and add the context menu:
            ContextMenu menu   = new ContextMenu();
            MenuItem    delete = new MenuItem("Delete");

            delete.Click += new EventHandler(delete_Click);
            menu.MenuItems.Add(delete);
            table.ContextMenu = menu;

            // Add an event handler for the key event
            table.CellKeyUp         += new CellKeyEventHandler(table_CellKeyUp);
            table.CellButtonClicked += new CellButtonEventHandler(table_CellButtonClicked);

            table.CellMouseDown += new CellMouseEventHandler(table_CellMouseDown);
            table.CellMouseUp   += new CellMouseEventHandler(table_CellMouseUp);

            this.table.TableModel = model;

            this.table.EndUpdate();

            return;

            #region Tracer stuff
            //_tracer = new Tracer(table, OnEventTrace);
            //_tracer.HookEvent("BeginEditing");
            //_tracer.HookEvent("CellClick");
            //_tracer.HookEvent("CellDoubleClick");
            //_tracer.HookEvent("CellMouseDown");
            //_tracer.HookEvent("CellMouseEnter");
            //_tracer.HookEvent("CellMouseHover");
            //_tracer.HookEvent("CellMouseLeave");
            //_tracer.HookEvent("CellMouseMove");
            //_tracer.HookEvent("CellMouseUp");
            //_tracer.HookEvent("CellPropertyChanged");
            //_tracer.HookEvent("Click");
            //_tracer.HookEvent("DoubleClick");
            //_tracer.HookEvent("EditingStopped");
            //_tracer.HookEvent("Enter");
            //_tracer.HookEvent("GotFocus");
            //_tracer.HookEvent("LostFocus");
            //_tracer.HookEvent("MouseCaptureChanged");
            //_tracer.HookEvent("MouseClick");
            //_tracer.HookEvent("MouseDoubleClick");
            //_tracer.HookEvent("MouseDown");
            //_tracer.HookEvent("MouseEnter");
            //_tracer.HookEvent("MouseHover");
            //_tracer.HookEvent("MouseLeave");
            //_tracer.HookEvent("MouseUp");
            //            _tracer.HookAllEvents();
            #endregion
        }
Exemplo n.º 17
0
 public static ImageRow <T> Row <T>(this ImageColumn <T> col, int row)
     where T : struct, IEquatable <T>
 {
     return(col.Image.Row(row));
 }
Exemplo n.º 18
0
 [DebuggerStepThrough()] private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(frmPP3750));
     this.ToolTip1     = new System.Windows.Forms.ToolTip(this.components);
     this.btnClose     = new System.Windows.Forms.Button();
     this.btnReceive   = new System.Windows.Forms.Button();
     this.grbMessage   = new System.Windows.Forms.GroupBox();
     this.xptMessage   = new XPTable.Models.Table();
     this.columnModel1 = new XPTable.Models.ColumnModel();
     this.cSTT         = new XPTable.Models.TextColumn();
     this.cDepartment  = new XPTable.Models.TextColumn();
     this.cCardID      = new XPTable.Models.TextColumn();
     this.cName        = new XPTable.Models.TextColumn();
     this.cWorkingDay  = new XPTable.Models.TextColumn();
     this.cTimeIn      = new XPTable.Models.TextColumn();
     this.cPic         = new XPTable.Models.ImageColumn();
     this.tableModel1  = new XPTable.Models.TableModel();
     this.btnClear     = new System.Windows.Forms.Button();
     this.btnConfig    = new System.Windows.Forms.Button();
     this.aTimer       = new System.Windows.Forms.Timer(this.components);
     this.contextMenu1 = new System.Windows.Forms.ContextMenu();
     this.mnuShow      = new System.Windows.Forms.MenuItem();
     this.mnuHide      = new System.Windows.Forms.MenuItem();
     this.menuItem3    = new System.Windows.Forms.MenuItem();
     this.mnuStart     = new System.Windows.Forms.MenuItem();
     this.mnuStop      = new System.Windows.Forms.MenuItem();
     this.menuItem6    = new System.Windows.Forms.MenuItem();
     this.mnuExit      = new System.Windows.Forms.MenuItem();
     this.notifyIcon1  = new System.Windows.Forms.NotifyIcon(this.components);
     this.imageList1   = new System.Windows.Forms.ImageList(this.components);
     this.button1      = new System.Windows.Forms.Button();
     this.grbMessage.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.xptMessage)).BeginInit();
     this.SuspendLayout();
     //
     // btnClose
     //
     this.btnClose.AccessibleDescription = resources.GetString("btnClose.AccessibleDescription");
     this.btnClose.AccessibleName        = resources.GetString("btnClose.AccessibleName");
     this.btnClose.Anchor          = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("btnClose.Anchor")));
     this.btnClose.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnClose.BackgroundImage")));
     this.btnClose.Dock            = ((System.Windows.Forms.DockStyle)(resources.GetObject("btnClose.Dock")));
     this.btnClose.Enabled         = ((bool)(resources.GetObject("btnClose.Enabled")));
     this.btnClose.FlatStyle       = ((System.Windows.Forms.FlatStyle)(resources.GetObject("btnClose.FlatStyle")));
     this.btnClose.Font            = ((System.Drawing.Font)(resources.GetObject("btnClose.Font")));
     this.btnClose.ForeColor       = System.Drawing.SystemColors.ControlText;
     this.btnClose.Image           = ((System.Drawing.Image)(resources.GetObject("btnClose.Image")));
     this.btnClose.ImageAlign      = ((System.Drawing.ContentAlignment)(resources.GetObject("btnClose.ImageAlign")));
     this.btnClose.ImageIndex      = ((int)(resources.GetObject("btnClose.ImageIndex")));
     this.btnClose.ImeMode         = ((System.Windows.Forms.ImeMode)(resources.GetObject("btnClose.ImeMode")));
     this.btnClose.Location        = ((System.Drawing.Point)(resources.GetObject("btnClose.Location")));
     this.btnClose.Name            = "btnClose";
     this.btnClose.RightToLeft     = ((System.Windows.Forms.RightToLeft)(resources.GetObject("btnClose.RightToLeft")));
     this.btnClose.Size            = ((System.Drawing.Size)(resources.GetObject("btnClose.Size")));
     this.btnClose.TabIndex        = ((int)(resources.GetObject("btnClose.TabIndex")));
     this.btnClose.Text            = resources.GetString("btnClose.Text");
     this.btnClose.TextAlign       = ((System.Drawing.ContentAlignment)(resources.GetObject("btnClose.TextAlign")));
     this.ToolTip1.SetToolTip(this.btnClose, resources.GetString("btnClose.ToolTip"));
     this.btnClose.Visible = ((bool)(resources.GetObject("btnClose.Visible")));
     this.btnClose.Click  += new System.EventHandler(this.btnClose_Click);
     //
     // btnReceive
     //
     this.btnReceive.AccessibleDescription = resources.GetString("btnReceive.AccessibleDescription");
     this.btnReceive.AccessibleName        = resources.GetString("btnReceive.AccessibleName");
     this.btnReceive.Anchor          = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("btnReceive.Anchor")));
     this.btnReceive.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnReceive.BackgroundImage")));
     this.btnReceive.Dock            = ((System.Windows.Forms.DockStyle)(resources.GetObject("btnReceive.Dock")));
     this.btnReceive.Enabled         = ((bool)(resources.GetObject("btnReceive.Enabled")));
     this.btnReceive.FlatStyle       = ((System.Windows.Forms.FlatStyle)(resources.GetObject("btnReceive.FlatStyle")));
     this.btnReceive.Font            = ((System.Drawing.Font)(resources.GetObject("btnReceive.Font")));
     this.btnReceive.ForeColor       = System.Drawing.SystemColors.ControlText;
     this.btnReceive.Image           = ((System.Drawing.Image)(resources.GetObject("btnReceive.Image")));
     this.btnReceive.ImageAlign      = ((System.Drawing.ContentAlignment)(resources.GetObject("btnReceive.ImageAlign")));
     this.btnReceive.ImageIndex      = ((int)(resources.GetObject("btnReceive.ImageIndex")));
     this.btnReceive.ImeMode         = ((System.Windows.Forms.ImeMode)(resources.GetObject("btnReceive.ImeMode")));
     this.btnReceive.Location        = ((System.Drawing.Point)(resources.GetObject("btnReceive.Location")));
     this.btnReceive.Name            = "btnReceive";
     this.btnReceive.RightToLeft     = ((System.Windows.Forms.RightToLeft)(resources.GetObject("btnReceive.RightToLeft")));
     this.btnReceive.Size            = ((System.Drawing.Size)(resources.GetObject("btnReceive.Size")));
     this.btnReceive.TabIndex        = ((int)(resources.GetObject("btnReceive.TabIndex")));
     this.btnReceive.Text            = resources.GetString("btnReceive.Text");
     this.btnReceive.TextAlign       = ((System.Drawing.ContentAlignment)(resources.GetObject("btnReceive.TextAlign")));
     this.ToolTip1.SetToolTip(this.btnReceive, resources.GetString("btnReceive.ToolTip"));
     this.btnReceive.Visible = ((bool)(resources.GetObject("btnReceive.Visible")));
     this.btnReceive.Click  += new System.EventHandler(this.btnReceive_Click);
     //
     // grbMessage
     //
     this.grbMessage.AccessibleDescription = resources.GetString("grbMessage.AccessibleDescription");
     this.grbMessage.AccessibleName        = resources.GetString("grbMessage.AccessibleName");
     this.grbMessage.Anchor          = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("grbMessage.Anchor")));
     this.grbMessage.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("grbMessage.BackgroundImage")));
     this.grbMessage.Controls.Add(this.xptMessage);
     this.grbMessage.Dock        = ((System.Windows.Forms.DockStyle)(resources.GetObject("grbMessage.Dock")));
     this.grbMessage.Enabled     = ((bool)(resources.GetObject("grbMessage.Enabled")));
     this.grbMessage.FlatStyle   = System.Windows.Forms.FlatStyle.System;
     this.grbMessage.Font        = ((System.Drawing.Font)(resources.GetObject("grbMessage.Font")));
     this.grbMessage.ForeColor   = System.Drawing.Color.Black;
     this.grbMessage.ImeMode     = ((System.Windows.Forms.ImeMode)(resources.GetObject("grbMessage.ImeMode")));
     this.grbMessage.Location    = ((System.Drawing.Point)(resources.GetObject("grbMessage.Location")));
     this.grbMessage.Name        = "grbMessage";
     this.grbMessage.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("grbMessage.RightToLeft")));
     this.grbMessage.Size        = ((System.Drawing.Size)(resources.GetObject("grbMessage.Size")));
     this.grbMessage.TabIndex    = ((int)(resources.GetObject("grbMessage.TabIndex")));
     this.grbMessage.TabStop     = false;
     this.grbMessage.Text        = resources.GetString("grbMessage.Text");
     this.ToolTip1.SetToolTip(this.grbMessage, resources.GetString("grbMessage.ToolTip"));
     this.grbMessage.Visible = ((bool)(resources.GetObject("grbMessage.Visible")));
     //
     // xptMessage
     //
     this.xptMessage.AccessibleDescription = resources.GetString("xptMessage.AccessibleDescription");
     this.xptMessage.AccessibleName        = resources.GetString("xptMessage.AccessibleName");
     this.xptMessage.AlternatingRowColor   = System.Drawing.Color.Azure;
     this.xptMessage.Anchor          = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("xptMessage.Anchor")));
     this.xptMessage.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("xptMessage.BackgroundImage")));
     this.xptMessage.ColumnModel     = this.columnModel1;
     this.xptMessage.Dock            = ((System.Windows.Forms.DockStyle)(resources.GetObject("xptMessage.Dock")));
     this.xptMessage.Enabled         = ((bool)(resources.GetObject("xptMessage.Enabled")));
     this.xptMessage.Font            = ((System.Drawing.Font)(resources.GetObject("xptMessage.Font")));
     this.xptMessage.ForeColor       = System.Drawing.Color.FromArgb(((System.Byte)(14)), ((System.Byte)(66)), ((System.Byte)(121)));
     this.xptMessage.FullRowSelect   = true;
     this.xptMessage.GridColor       = System.Drawing.SystemColors.ControlDark;
     this.xptMessage.GridLines       = XPTable.Models.GridLines.Rows;
     this.xptMessage.GridLineStyle   = XPTable.Models.GridLineStyle.Dash;
     this.xptMessage.HeaderFont      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(163)));
     this.xptMessage.ImeMode         = ((System.Windows.Forms.ImeMode)(resources.GetObject("xptMessage.ImeMode")));
     this.xptMessage.Location        = ((System.Drawing.Point)(resources.GetObject("xptMessage.Location")));
     this.xptMessage.Name            = "xptMessage";
     this.xptMessage.RightToLeft     = ((System.Windows.Forms.RightToLeft)(resources.GetObject("xptMessage.RightToLeft")));
     this.xptMessage.Size            = ((System.Drawing.Size)(resources.GetObject("xptMessage.Size")));
     this.xptMessage.TabIndex        = ((int)(resources.GetObject("xptMessage.TabIndex")));
     this.xptMessage.TableModel      = this.tableModel1;
     this.xptMessage.Text            = resources.GetString("xptMessage.Text");
     this.ToolTip1.SetToolTip(this.xptMessage, resources.GetString("xptMessage.ToolTip"));
     this.xptMessage.Visible = ((bool)(resources.GetObject("xptMessage.Visible")));
     //
     // columnModel1
     //
     this.columnModel1.Columns.AddRange(new XPTable.Models.Column[] {
         this.cSTT,
         this.cDepartment,
         this.cCardID,
         this.cName,
         this.cWorkingDay,
         this.cTimeIn,
         this.cPic
     });
     this.columnModel1.HeaderHeight = 30;
     //
     // cSTT
     //
     this.cSTT.Editable = false;
     this.cSTT.Text     = "STT";
     this.cSTT.Width    = 40;
     //
     // cDepartment
     //
     this.cDepartment.Text  = "Phòng";
     this.cDepartment.Width = 120;
     //
     // cCardID
     //
     this.cCardID.Editable = false;
     this.cCardID.Text     = "Mã thẻ";
     this.cCardID.Width    = 50;
     //
     // cName
     //
     this.cName.Editable = false;
     this.cName.Text     = "Tên nhân viên";
     this.cName.Width    = 140;
     //
     // cWorkingDay
     //
     this.cWorkingDay.Alignment = XPTable.Models.ColumnAlignment.Center;
     this.cWorkingDay.Editable  = false;
     this.cWorkingDay.Text      = "Ngày làm việc";
     this.cWorkingDay.Width     = 95;
     //
     // cTimeIn
     //
     this.cTimeIn.Alignment = XPTable.Models.ColumnAlignment.Center;
     this.cTimeIn.Editable  = false;
     this.cTimeIn.Text      = "Giờ quẹt thẻ";
     this.cTimeIn.Width     = 80;
     //
     // cPic
     //
     this.cPic.Text  = "Ảnh";
     this.cPic.Width = 70;
     //
     // tableModel1
     //
     this.tableModel1.RowHeight = 100;
     //
     // btnClear
     //
     this.btnClear.AccessibleDescription = resources.GetString("btnClear.AccessibleDescription");
     this.btnClear.AccessibleName        = resources.GetString("btnClear.AccessibleName");
     this.btnClear.Anchor          = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("btnClear.Anchor")));
     this.btnClear.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnClear.BackgroundImage")));
     this.btnClear.Dock            = ((System.Windows.Forms.DockStyle)(resources.GetObject("btnClear.Dock")));
     this.btnClear.Enabled         = ((bool)(resources.GetObject("btnClear.Enabled")));
     this.btnClear.FlatStyle       = ((System.Windows.Forms.FlatStyle)(resources.GetObject("btnClear.FlatStyle")));
     this.btnClear.Font            = ((System.Drawing.Font)(resources.GetObject("btnClear.Font")));
     this.btnClear.ForeColor       = System.Drawing.SystemColors.ControlText;
     this.btnClear.Image           = ((System.Drawing.Image)(resources.GetObject("btnClear.Image")));
     this.btnClear.ImageAlign      = ((System.Drawing.ContentAlignment)(resources.GetObject("btnClear.ImageAlign")));
     this.btnClear.ImageIndex      = ((int)(resources.GetObject("btnClear.ImageIndex")));
     this.btnClear.ImeMode         = ((System.Windows.Forms.ImeMode)(resources.GetObject("btnClear.ImeMode")));
     this.btnClear.Location        = ((System.Drawing.Point)(resources.GetObject("btnClear.Location")));
     this.btnClear.Name            = "btnClear";
     this.btnClear.RightToLeft     = ((System.Windows.Forms.RightToLeft)(resources.GetObject("btnClear.RightToLeft")));
     this.btnClear.Size            = ((System.Drawing.Size)(resources.GetObject("btnClear.Size")));
     this.btnClear.TabIndex        = ((int)(resources.GetObject("btnClear.TabIndex")));
     this.btnClear.Text            = resources.GetString("btnClear.Text");
     this.btnClear.TextAlign       = ((System.Drawing.ContentAlignment)(resources.GetObject("btnClear.TextAlign")));
     this.ToolTip1.SetToolTip(this.btnClear, resources.GetString("btnClear.ToolTip"));
     this.btnClear.Visible = ((bool)(resources.GetObject("btnClear.Visible")));
     this.btnClear.Click  += new System.EventHandler(this.btnClear_Click);
     //
     // btnConfig
     //
     this.btnConfig.AccessibleDescription = resources.GetString("btnConfig.AccessibleDescription");
     this.btnConfig.AccessibleName        = resources.GetString("btnConfig.AccessibleName");
     this.btnConfig.Anchor          = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("btnConfig.Anchor")));
     this.btnConfig.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnConfig.BackgroundImage")));
     this.btnConfig.Dock            = ((System.Windows.Forms.DockStyle)(resources.GetObject("btnConfig.Dock")));
     this.btnConfig.Enabled         = ((bool)(resources.GetObject("btnConfig.Enabled")));
     this.btnConfig.FlatStyle       = ((System.Windows.Forms.FlatStyle)(resources.GetObject("btnConfig.FlatStyle")));
     this.btnConfig.Font            = ((System.Drawing.Font)(resources.GetObject("btnConfig.Font")));
     this.btnConfig.Image           = ((System.Drawing.Image)(resources.GetObject("btnConfig.Image")));
     this.btnConfig.ImageAlign      = ((System.Drawing.ContentAlignment)(resources.GetObject("btnConfig.ImageAlign")));
     this.btnConfig.ImageIndex      = ((int)(resources.GetObject("btnConfig.ImageIndex")));
     this.btnConfig.ImeMode         = ((System.Windows.Forms.ImeMode)(resources.GetObject("btnConfig.ImeMode")));
     this.btnConfig.Location        = ((System.Drawing.Point)(resources.GetObject("btnConfig.Location")));
     this.btnConfig.Name            = "btnConfig";
     this.btnConfig.RightToLeft     = ((System.Windows.Forms.RightToLeft)(resources.GetObject("btnConfig.RightToLeft")));
     this.btnConfig.Size            = ((System.Drawing.Size)(resources.GetObject("btnConfig.Size")));
     this.btnConfig.TabIndex        = ((int)(resources.GetObject("btnConfig.TabIndex")));
     this.btnConfig.Text            = resources.GetString("btnConfig.Text");
     this.btnConfig.TextAlign       = ((System.Drawing.ContentAlignment)(resources.GetObject("btnConfig.TextAlign")));
     this.ToolTip1.SetToolTip(this.btnConfig, resources.GetString("btnConfig.ToolTip"));
     this.btnConfig.Visible = ((bool)(resources.GetObject("btnConfig.Visible")));
     this.btnConfig.Click  += new System.EventHandler(this.btnConfig_Click);
     //
     // aTimer
     //
     this.aTimer.Enabled  = true;
     this.aTimer.Interval = 120000;
     this.aTimer.Tick    += new System.EventHandler(this.aTimerUpdate);
     //
     // contextMenu1
     //
     this.contextMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.mnuShow,
         this.mnuHide,
         this.menuItem3,
         this.mnuStart,
         this.mnuStop,
         this.menuItem6,
         this.mnuExit
     });
     this.contextMenu1.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("contextMenu1.RightToLeft")));
     this.contextMenu1.Popup      += new System.EventHandler(this.contextMenu1_Popup);
     //
     // mnuShow
     //
     this.mnuShow.Enabled      = ((bool)(resources.GetObject("mnuShow.Enabled")));
     this.mnuShow.Index        = 0;
     this.mnuShow.Shortcut     = ((System.Windows.Forms.Shortcut)(resources.GetObject("mnuShow.Shortcut")));
     this.mnuShow.ShowShortcut = ((bool)(resources.GetObject("mnuShow.ShowShortcut")));
     this.mnuShow.Text         = resources.GetString("mnuShow.Text");
     this.mnuShow.Visible      = ((bool)(resources.GetObject("mnuShow.Visible")));
     this.mnuShow.Click       += new System.EventHandler(this.mnuShow_Click);
     //
     // mnuHide
     //
     this.mnuHide.Enabled      = ((bool)(resources.GetObject("mnuHide.Enabled")));
     this.mnuHide.Index        = 1;
     this.mnuHide.Shortcut     = ((System.Windows.Forms.Shortcut)(resources.GetObject("mnuHide.Shortcut")));
     this.mnuHide.ShowShortcut = ((bool)(resources.GetObject("mnuHide.ShowShortcut")));
     this.mnuHide.Text         = resources.GetString("mnuHide.Text");
     this.mnuHide.Visible      = ((bool)(resources.GetObject("mnuHide.Visible")));
     this.mnuHide.Click       += new System.EventHandler(this.mnuHide_Click);
     //
     // menuItem3
     //
     this.menuItem3.Enabled      = ((bool)(resources.GetObject("menuItem3.Enabled")));
     this.menuItem3.Index        = 2;
     this.menuItem3.Shortcut     = ((System.Windows.Forms.Shortcut)(resources.GetObject("menuItem3.Shortcut")));
     this.menuItem3.ShowShortcut = ((bool)(resources.GetObject("menuItem3.ShowShortcut")));
     this.menuItem3.Text         = resources.GetString("menuItem3.Text");
     this.menuItem3.Visible      = ((bool)(resources.GetObject("menuItem3.Visible")));
     //
     // mnuStart
     //
     this.mnuStart.Enabled      = ((bool)(resources.GetObject("mnuStart.Enabled")));
     this.mnuStart.Index        = 3;
     this.mnuStart.Shortcut     = ((System.Windows.Forms.Shortcut)(resources.GetObject("mnuStart.Shortcut")));
     this.mnuStart.ShowShortcut = ((bool)(resources.GetObject("mnuStart.ShowShortcut")));
     this.mnuStart.Text         = resources.GetString("mnuStart.Text");
     this.mnuStart.Visible      = ((bool)(resources.GetObject("mnuStart.Visible")));
     this.mnuStart.Click       += new System.EventHandler(this.mnuStart_Click);
     //
     // mnuStop
     //
     this.mnuStop.Enabled      = ((bool)(resources.GetObject("mnuStop.Enabled")));
     this.mnuStop.Index        = 4;
     this.mnuStop.Shortcut     = ((System.Windows.Forms.Shortcut)(resources.GetObject("mnuStop.Shortcut")));
     this.mnuStop.ShowShortcut = ((bool)(resources.GetObject("mnuStop.ShowShortcut")));
     this.mnuStop.Text         = resources.GetString("mnuStop.Text");
     this.mnuStop.Visible      = ((bool)(resources.GetObject("mnuStop.Visible")));
     this.mnuStop.Click       += new System.EventHandler(this.mnuStop_Click);
     //
     // menuItem6
     //
     this.menuItem6.Enabled      = ((bool)(resources.GetObject("menuItem6.Enabled")));
     this.menuItem6.Index        = 5;
     this.menuItem6.Shortcut     = ((System.Windows.Forms.Shortcut)(resources.GetObject("menuItem6.Shortcut")));
     this.menuItem6.ShowShortcut = ((bool)(resources.GetObject("menuItem6.ShowShortcut")));
     this.menuItem6.Text         = resources.GetString("menuItem6.Text");
     this.menuItem6.Visible      = ((bool)(resources.GetObject("menuItem6.Visible")));
     //
     // mnuExit
     //
     this.mnuExit.Enabled      = ((bool)(resources.GetObject("mnuExit.Enabled")));
     this.mnuExit.Index        = 6;
     this.mnuExit.Shortcut     = ((System.Windows.Forms.Shortcut)(resources.GetObject("mnuExit.Shortcut")));
     this.mnuExit.ShowShortcut = ((bool)(resources.GetObject("mnuExit.ShowShortcut")));
     this.mnuExit.Text         = resources.GetString("mnuExit.Text");
     this.mnuExit.Visible      = ((bool)(resources.GetObject("mnuExit.Visible")));
     this.mnuExit.Click       += new System.EventHandler(this.mnuExit_Click);
     //
     // notifyIcon1
     //
     this.notifyIcon1.ContextMenu  = this.contextMenu1;
     this.notifyIcon1.Icon         = ((System.Drawing.Icon)(resources.GetObject("notifyIcon1.Icon")));
     this.notifyIcon1.Text         = resources.GetString("notifyIcon1.Text");
     this.notifyIcon1.Visible      = ((bool)(resources.GetObject("notifyIcon1.Visible")));
     this.notifyIcon1.MouseDown   += new System.Windows.Forms.MouseEventHandler(this.notifyIcon1_MouseDown);
     this.notifyIcon1.DoubleClick += new System.EventHandler(this.notifyIcon1_DoubleClick);
     //
     // imageList1
     //
     this.imageList1.ImageSize        = ((System.Drawing.Size)(resources.GetObject("imageList1.ImageSize")));
     this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
     //
     // button1
     //
     this.button1.AccessibleDescription = resources.GetString("button1.AccessibleDescription");
     this.button1.AccessibleName        = resources.GetString("button1.AccessibleName");
     this.button1.Anchor          = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("button1.Anchor")));
     this.button1.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("button1.BackgroundImage")));
     this.button1.Dock            = ((System.Windows.Forms.DockStyle)(resources.GetObject("button1.Dock")));
     this.button1.Enabled         = ((bool)(resources.GetObject("button1.Enabled")));
     this.button1.FlatStyle       = ((System.Windows.Forms.FlatStyle)(resources.GetObject("button1.FlatStyle")));
     this.button1.Font            = ((System.Drawing.Font)(resources.GetObject("button1.Font")));
     this.button1.ForeColor       = System.Drawing.Color.Black;
     this.button1.Image           = ((System.Drawing.Image)(resources.GetObject("button1.Image")));
     this.button1.ImageAlign      = ((System.Drawing.ContentAlignment)(resources.GetObject("button1.ImageAlign")));
     this.button1.ImageIndex      = ((int)(resources.GetObject("button1.ImageIndex")));
     this.button1.ImeMode         = ((System.Windows.Forms.ImeMode)(resources.GetObject("button1.ImeMode")));
     this.button1.Location        = ((System.Drawing.Point)(resources.GetObject("button1.Location")));
     this.button1.Name            = "button1";
     this.button1.RightToLeft     = ((System.Windows.Forms.RightToLeft)(resources.GetObject("button1.RightToLeft")));
     this.button1.Size            = ((System.Drawing.Size)(resources.GetObject("button1.Size")));
     this.button1.TabIndex        = ((int)(resources.GetObject("button1.TabIndex")));
     this.button1.Text            = resources.GetString("button1.Text");
     this.button1.TextAlign       = ((System.Drawing.ContentAlignment)(resources.GetObject("button1.TextAlign")));
     this.ToolTip1.SetToolTip(this.button1, resources.GetString("button1.ToolTip"));
     this.button1.Visible = ((bool)(resources.GetObject("button1.Visible")));
     this.button1.Click  += new System.EventHandler(this.button1_Click);
     //
     // frmPP3750
     //
     this.AccessibleDescription = resources.GetString("$this.AccessibleDescription");
     this.AccessibleName        = resources.GetString("$this.AccessibleName");
     this.AutoScaleBaseSize     = ((System.Drawing.Size)(resources.GetObject("$this.AutoScaleBaseSize")));
     this.AutoScroll            = ((bool)(resources.GetObject("$this.AutoScroll")));
     this.AutoScrollMargin      = ((System.Drawing.Size)(resources.GetObject("$this.AutoScrollMargin")));
     this.AutoScrollMinSize     = ((System.Drawing.Size)(resources.GetObject("$this.AutoScrollMinSize")));
     this.BackColor             = System.Drawing.SystemColors.Control;
     this.BackgroundImage       = ((System.Drawing.Image)(resources.GetObject("$this.BackgroundImage")));
     this.ClientSize            = ((System.Drawing.Size)(resources.GetObject("$this.ClientSize")));
     this.Controls.Add(this.button1);
     this.Controls.Add(this.btnConfig);
     this.Controls.Add(this.btnClear);
     this.Controls.Add(this.grbMessage);
     this.Controls.Add(this.btnReceive);
     this.Controls.Add(this.btnClose);
     this.Cursor        = System.Windows.Forms.Cursors.Default;
     this.Enabled       = ((bool)(resources.GetObject("$this.Enabled")));
     this.Font          = ((System.Drawing.Font)(resources.GetObject("$this.Font")));
     this.ForeColor     = System.Drawing.Color.FromArgb(((System.Byte)(128)), ((System.Byte)(255)), ((System.Byte)(255)));
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.ImeMode       = ((System.Windows.Forms.ImeMode)(resources.GetObject("$this.ImeMode")));
     this.Location      = ((System.Drawing.Point)(resources.GetObject("$this.Location")));
     this.MaximumSize   = ((System.Drawing.Size)(resources.GetObject("$this.MaximumSize")));
     this.MinimumSize   = ((System.Drawing.Size)(resources.GetObject("$this.MinimumSize")));
     this.Name          = "frmPP3750";
     this.RightToLeft   = ((System.Windows.Forms.RightToLeft)(resources.GetObject("$this.RightToLeft")));
     this.StartPosition = ((System.Windows.Forms.FormStartPosition)(resources.GetObject("$this.StartPosition")));
     this.Text          = resources.GetString("$this.Text");
     this.ToolTip1.SetToolTip(this, resources.GetString("$this.ToolTip"));
     this.Resize  += new System.EventHandler(this.frmPP3750_Resize);
     this.Closing += new System.ComponentModel.CancelEventHandler(this.frmPP3750_Closing);
     this.Load    += new System.EventHandler(this.frmMain_Load);
     this.grbMessage.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.xptMessage)).EndInit();
     this.ResumeLayout(false);
 }