/// <summary> /// 显示自动消失提示消息 /// </summary> /// <param name="Error">提示文本</param> /// <param name="Detail">提示详情信息</param> /// <param name="icon">提示的图标</param> public static void Toast(string Error, string Detail, Image icon) { if (Provider.Get("MyToast") != null) { DevExpress.XtraBars.ToastNotifications.ToastNotificationsManager myToast = (DevExpress.XtraBars.ToastNotifications.ToastNotificationsManager)Provider.Get("MyToast"); DevExpress.XtraBars.ToastNotifications.ToastNotification tn = new DevExpress.XtraBars.ToastNotifications.ToastNotification(Guid.NewGuid(), icon, Error, Detail, null, DevExpress.XtraBars.ToastNotifications.ToastNotificationTemplate.ImageAndText02); myToast.Notifications.Clear(); myToast.Notifications.Add(tn); myToast.ShowNotification(tn); } }
private static void CreateToastNotificationsManager() { tnm = new DevExpress.XtraBars.ToastNotifications.ToastNotificationsManager( ); ((System.ComponentModel.ISupportInitialize)(tnm)).BeginInit( ); { //tnm.Activated += Tnm_Activated; //tnm.Dropped += Tnm_Dropped; //tnm.Hidden += Tnm_Hidden; //tnm.TimedOut += Tnm_TimedOut; //tnm.UserCancelled += Tnm_UserCancelled; tnm.ApplicationIconPath = null; tnm.ApplicationId = "74fdcbed-8893-48df-8872-10569d072e21"; tnm.ApplicationName = "AQBTest"; //tnm.Notifications.AddRange( new DevExpress.XtraBars.ToastNotifications.IToastNotificationProperties[ ] {} ); tnm.CreateApplicationShortcut = DevExpress.Utils.DefaultBoolean.Default; } ((System.ComponentModel.ISupportInitialize)(tnm)).EndInit( ); }
private static void CreateToastNotificationsManager() { tnm = new DevExpress.XtraBars.ToastNotifications.ToastNotificationsManager( ); ((System.ComponentModel.ISupportInitialize)(tnm)).BeginInit( ); { tnm.ApplicationId = "74fdcbed-8893-48df-8872-10569d072e21"; tnm.ApplicationName = "AQBTest"; tnm.Notifications.AddRange(new DevExpress.XtraBars.ToastNotifications.IToastNotificationProperties[] { new DevExpress.XtraBars.ToastNotifications.ToastNotification( "cf47cb4e-394e-4ac9-a978-111715c1fc56", // id null, // image "Pellentesque lacinia tellus eget volutpat", // header "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor i" + "ncididunt ut labore et dolore magna aliqua.", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor i" + "ncididunt ut labore et dolore magna aliqua.", // body DevExpress.XtraBars.ToastNotifications.ToastNotificationTemplate.Text04 // template ) }); } ((System.ComponentModel.ISupportInitialize)(tnm)).EndInit( ); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(StrategiesCollectionForm)); this.barManager1 = new DevExpress.XtraBars.BarManager(this.components); this.bar1 = new DevExpress.XtraBars.Bar(); this.siAdd = new DevExpress.XtraBars.BarSubItem(); this.biRemove = new DevExpress.XtraBars.BarButtonItem(); this.biEdit = new DevExpress.XtraBars.BarButtonItem(); this.biStart = new DevExpress.XtraBars.BarButtonItem(); this.biStop = new DevExpress.XtraBars.BarButtonItem(); this.biSimulation = new DevExpress.XtraBars.BarButtonItem(); this.biOptimizeParams = new DevExpress.XtraBars.BarButtonItem(); this.btShowData = new DevExpress.XtraBars.BarButtonItem(); this.bcShowLog = new DevExpress.XtraBars.BarCheckItem(); this.biSettings = new DevExpress.XtraBars.BarButtonItem(); this.bar3 = new DevExpress.XtraBars.Bar(); this.siStatus = new DevExpress.XtraBars.BarStaticItem(); this.beSimulationProgress = new DevExpress.XtraBars.BarEditItem(); this.repositoryItemProgressBar1 = new DevExpress.XtraEditors.Repository.RepositoryItemProgressBar(); this.barDockControlTop = new DevExpress.XtraBars.BarDockControl(); this.barDockControlBottom = new DevExpress.XtraBars.BarDockControl(); this.barDockControlLeft = new DevExpress.XtraBars.BarDockControl(); this.barDockControlRight = new DevExpress.XtraBars.BarDockControl(); this.dockManager1 = new DevExpress.XtraBars.Docking.DockManager(this.components); this.dpLogPanel = new DevExpress.XtraBars.Docking.DockPanel(); this.dockPanel1_Container = new DevExpress.XtraBars.Docking.ControlContainer(); this.logMessagesControl = new CryptoMarketClient.LogMessagesControl(); this.gridControl1 = new DevExpress.XtraGrid.GridControl(); this.strategyBaseBindingSource = new System.Windows.Forms.BindingSource(this.components); this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); this.colEnabled = new DevExpress.XtraGrid.Columns.GridColumn(); this.repositoryItemCheckEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit(); this.colDemoMode = new DevExpress.XtraGrid.Columns.GridColumn(); this.repositoryItemCheckEdit2 = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit(); this.colDescription = new DevExpress.XtraGrid.Columns.GridColumn(); this.repositoryItemTextEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.colName = new DevExpress.XtraGrid.Columns.GridColumn(); this.colStateText = new DevExpress.XtraGrid.Columns.GridColumn(); this.riTextEditState = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.colEarned = new DevExpress.XtraGrid.Columns.GridColumn(); this.colEnableNotifications = new DevExpress.XtraGrid.Columns.GridColumn(); this.repositoryItemCheckEdit3 = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit(); this.behaviorManager1 = new DevExpress.Utils.Behaviors.BehaviorManager(this.components); this.toastNotificationsManager1 = new DevExpress.XtraBars.ToastNotifications.ToastNotificationsManager(this.components); ((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemProgressBar1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dockManager1)).BeginInit(); this.dpLogPanel.SuspendLayout(); this.dockPanel1_Container.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.strategyBaseBindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.riTextEditState)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.behaviorManager1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.toastNotificationsManager1)).BeginInit(); this.SuspendLayout(); // // barManager1 // this.barManager1.AllowHtmlText = true; this.barManager1.Bars.AddRange(new DevExpress.XtraBars.Bar[] { this.bar1, this.bar3}); this.barManager1.DockControls.Add(this.barDockControlTop); this.barManager1.DockControls.Add(this.barDockControlBottom); this.barManager1.DockControls.Add(this.barDockControlLeft); this.barManager1.DockControls.Add(this.barDockControlRight); this.barManager1.DockManager = this.dockManager1; this.barManager1.Form = this; this.barManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { this.siAdd, this.biRemove, this.biEdit, this.siStatus, this.biStart, this.biStop, this.btShowData, this.biSimulation, this.bcShowLog, this.biOptimizeParams, this.beSimulationProgress, this.biSettings}); this.barManager1.MaxItemId = 15; this.barManager1.OptionsStubGlyphs.AllowStubGlyphs = DevExpress.Utils.DefaultBoolean.True; this.barManager1.OptionsStubGlyphs.CaseMode = DevExpress.Utils.Drawing.GlyphTextCaseMode.UpperCase; this.barManager1.OptionsStubGlyphs.CornerRadius = 3; this.barManager1.OptionsStubGlyphs.Font = new System.Drawing.Font("Segoe UI", 12F); this.barManager1.OptionsStubGlyphs.LetterCount = DevExpress.Utils.Drawing.GlyphTextSymbolCount.Two; this.barManager1.OptionsStubGlyphs.UseFont = true; this.barManager1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.repositoryItemProgressBar1}); // // bar1 // this.bar1.BarAppearance.Hovered.FontStyleDelta = System.Drawing.FontStyle.Bold; this.bar1.BarAppearance.Hovered.Options.UseFont = true; this.bar1.BarAppearance.Normal.FontStyleDelta = System.Drawing.FontStyle.Bold; this.bar1.BarAppearance.Normal.Options.UseFont = true; this.bar1.BarAppearance.Pressed.FontStyleDelta = System.Drawing.FontStyle.Bold; this.bar1.BarAppearance.Pressed.Options.UseFont = true; this.bar1.BarName = "Tools"; this.bar1.DockCol = 0; this.bar1.DockRow = 0; this.bar1.DockStyle = DevExpress.XtraBars.BarDockStyle.Top; this.bar1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.siAdd), new DevExpress.XtraBars.LinkPersistInfo(this.biRemove), new DevExpress.XtraBars.LinkPersistInfo(this.biEdit), new DevExpress.XtraBars.LinkPersistInfo(this.biStart, true), new DevExpress.XtraBars.LinkPersistInfo(this.biStop), new DevExpress.XtraBars.LinkPersistInfo(this.biSimulation), new DevExpress.XtraBars.LinkPersistInfo(this.biOptimizeParams), new DevExpress.XtraBars.LinkPersistInfo(this.btShowData, true), new DevExpress.XtraBars.LinkPersistInfo(this.bcShowLog), new DevExpress.XtraBars.LinkPersistInfo(this.biSettings)}); this.bar1.OptionsBar.DrawBorder = false; this.bar1.OptionsBar.UseWholeRow = true; this.bar1.Text = "Tools"; // // siAdd // this.siAdd.Caption = "New"; this.siAdd.Id = 0; this.siAdd.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("siAdd.ImageOptions.SvgImage"))); this.siAdd.Name = "siAdd"; this.siAdd.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // biRemove // this.biRemove.Caption = "Remove Selected"; this.biRemove.Id = 1; this.biRemove.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("biRemove.ImageOptions.SvgImage"))); this.biRemove.Name = "biRemove"; this.biRemove.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; this.biRemove.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.biRemove_ItemClick); // // biEdit // this.biEdit.Caption = "Edit"; this.biEdit.Id = 2; this.biEdit.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("biEdit.ImageOptions.SvgImage"))); this.biEdit.Name = "biEdit"; this.biEdit.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; this.biEdit.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.biEdit_ItemClick); // // biStart // this.biStart.AllowHtmlText = DevExpress.Utils.DefaultBoolean.True; this.biStart.Caption = "<b>Run!</b>"; this.biStart.Id = 4; this.biStart.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("biStart.ImageOptions.SvgImage"))); this.biStart.ItemAppearance.Normal.ForeColor = DevExpress.LookAndFeel.DXSkinColors.ForeColors.Information; this.biStart.ItemAppearance.Normal.Options.UseForeColor = true; this.biStart.Name = "biStart"; this.biStart.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; this.biStart.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.biStart_ItemClick); // // biStop // this.biStop.AllowHtmlText = DevExpress.Utils.DefaultBoolean.True; this.biStop.Caption = "<b>Stop</b>"; this.biStop.Id = 5; this.biStop.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("biStop.ImageOptions.SvgImage"))); this.biStop.ItemAppearance.Normal.ForeColor = DevExpress.LookAndFeel.DXSkinColors.ForeColors.Critical; this.biStop.ItemAppearance.Normal.Options.UseForeColor = true; this.biStop.Name = "biStop"; this.biStop.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; this.biStop.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.biStop_ItemClick); // // biSimulation // this.biSimulation.AllowHtmlText = DevExpress.Utils.DefaultBoolean.True; this.biSimulation.Caption = "<b>Simulation</b>"; this.biSimulation.Id = 8; this.biSimulation.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("biSimulation.ImageOptions.SvgImage"))); this.biSimulation.ItemAppearance.Hovered.ForeColor = DevExpress.LookAndFeel.DXSkinColors.ForeColors.Question; this.biSimulation.ItemAppearance.Hovered.Options.UseForeColor = true; this.biSimulation.ItemAppearance.Normal.ForeColor = DevExpress.LookAndFeel.DXSkinColors.ForeColors.Question; this.biSimulation.ItemAppearance.Normal.Options.UseForeColor = true; this.biSimulation.ItemAppearance.Pressed.ForeColor = DevExpress.LookAndFeel.DXSkinColors.ForeColors.Question; this.biSimulation.ItemAppearance.Pressed.Options.UseForeColor = true; this.biSimulation.Name = "biSimulation"; this.biSimulation.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; this.biSimulation.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.biSimulation_ItemClick); // // biOptimizeParams // this.biOptimizeParams.Caption = "Optimize Params"; this.biOptimizeParams.Id = 11; this.biOptimizeParams.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("biOptimizeParams.ImageOptions.SvgImage"))); this.biOptimizeParams.ItemAppearance.Normal.ForeColor = DevExpress.LookAndFeel.DXSkinColors.ForeColors.Question; this.biOptimizeParams.ItemAppearance.Normal.Options.UseForeColor = true; this.biOptimizeParams.Name = "biOptimizeParams"; this.biOptimizeParams.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; this.biOptimizeParams.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.biOptimizeParams_ItemClick); // // btShowData // this.btShowData.Caption = "<b>Show Data</b>"; this.btShowData.Id = 6; this.btShowData.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("btShowData.ImageOptions.SvgImage"))); this.btShowData.Name = "btShowData"; this.btShowData.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; this.btShowData.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btShowData_ItemClick); // // bcShowLog // this.bcShowLog.Alignment = DevExpress.XtraBars.BarItemLinkAlignment.Right; this.bcShowLog.Caption = "<b>Show Log</b>"; this.bcShowLog.Id = 10; this.bcShowLog.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("bcShowLog.ImageOptions.SvgImage"))); this.bcShowLog.Name = "bcShowLog"; this.bcShowLog.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; this.bcShowLog.CheckedChanged += new DevExpress.XtraBars.ItemClickEventHandler(this.bcShowLog_CheckedChanged); // // biSettings // this.biSettings.Alignment = DevExpress.XtraBars.BarItemLinkAlignment.Right; this.biSettings.Caption = "Settings"; this.biSettings.Id = 14; this.biSettings.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("biSettings.ImageOptions.SvgImage"))); this.biSettings.Name = "biSettings"; this.biSettings.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; this.biSettings.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.biSettings_ItemClick); // // bar3 // this.bar3.BarName = "Status bar"; this.bar3.CanDockStyle = DevExpress.XtraBars.BarCanDockStyle.Bottom; this.bar3.DockCol = 0; this.bar3.DockRow = 0; this.bar3.DockStyle = DevExpress.XtraBars.BarDockStyle.Bottom; this.bar3.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.siStatus), new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.Width, this.beSimulationProgress, "", false, true, true, 210)}); this.bar3.OptionsBar.AllowQuickCustomization = false; this.bar3.OptionsBar.DrawDragBorder = false; this.bar3.OptionsBar.UseWholeRow = true; this.bar3.Text = "Status bar"; // // siStatus // this.siStatus.AllowHtmlText = DevExpress.Utils.DefaultBoolean.True; this.siStatus.Border = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.siStatus.Caption = " "; this.siStatus.Id = 3; this.siStatus.ItemAppearance.Normal.ForeColor = DevExpress.LookAndFeel.DXSkinColors.ForeColors.Information; this.siStatus.ItemAppearance.Normal.Options.UseForeColor = true; this.siStatus.Name = "siStatus"; // // beSimulationProgress // this.beSimulationProgress.AutoFillWidth = true; this.beSimulationProgress.Caption = "barEditItem1"; this.beSimulationProgress.Edit = this.repositoryItemProgressBar1; this.beSimulationProgress.Id = 13; this.beSimulationProgress.Name = "beSimulationProgress"; this.beSimulationProgress.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; // // repositoryItemProgressBar1 // this.repositoryItemProgressBar1.Maximum = 100000; this.repositoryItemProgressBar1.Name = "repositoryItemProgressBar1"; this.repositoryItemProgressBar1.ShowTitle = true; // // barDockControlTop // this.barDockControlTop.CausesValidation = false; this.barDockControlTop.Dock = System.Windows.Forms.DockStyle.Top; this.barDockControlTop.Location = new System.Drawing.Point(0, 0); this.barDockControlTop.Manager = this.barManager1; this.barDockControlTop.Size = new System.Drawing.Size(1667, 60); // // barDockControlBottom // this.barDockControlBottom.CausesValidation = false; this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom; this.barDockControlBottom.Location = new System.Drawing.Point(0, 974); this.barDockControlBottom.Manager = this.barManager1; this.barDockControlBottom.Size = new System.Drawing.Size(1667, 52); // // barDockControlLeft // this.barDockControlLeft.CausesValidation = false; this.barDockControlLeft.Dock = System.Windows.Forms.DockStyle.Left; this.barDockControlLeft.Location = new System.Drawing.Point(0, 60); this.barDockControlLeft.Manager = this.barManager1; this.barDockControlLeft.Size = new System.Drawing.Size(0, 914); // // barDockControlRight // this.barDockControlRight.CausesValidation = false; this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right; this.barDockControlRight.Location = new System.Drawing.Point(1667, 60); this.barDockControlRight.Manager = this.barManager1; this.barDockControlRight.Size = new System.Drawing.Size(0, 914); // // dockManager1 // this.dockManager1.Form = this; this.dockManager1.HiddenPanels.AddRange(new DevExpress.XtraBars.Docking.DockPanel[] { this.dpLogPanel}); this.dockManager1.MenuManager = this.barManager1; this.dockManager1.TopZIndexControls.AddRange(new string[] { "DevExpress.XtraBars.BarDockControl", "DevExpress.XtraBars.StandaloneBarDockControl", "System.Windows.Forms.StatusBar", "System.Windows.Forms.MenuStrip", "System.Windows.Forms.StatusStrip", "DevExpress.XtraBars.Ribbon.RibbonStatusBar", "DevExpress.XtraBars.Ribbon.RibbonControl", "DevExpress.XtraBars.Navigation.OfficeNavigationBar", "DevExpress.XtraBars.Navigation.TileNavPane", "DevExpress.XtraBars.TabFormControl", "DevExpress.XtraBars.FluentDesignSystem.FluentDesignFormControl", "DevExpress.XtraBars.ToolbarForm.ToolbarFormControl"}); // // dpLogPanel // this.dpLogPanel.Controls.Add(this.dockPanel1_Container); this.dpLogPanel.Dock = DevExpress.XtraBars.Docking.DockingStyle.Bottom; this.dpLogPanel.ID = new System.Guid("10bbb36d-c4c6-4135-83c3-42595d23e751"); this.dpLogPanel.Location = new System.Drawing.Point(0, 526); this.dpLogPanel.Name = "dpLogPanel"; this.dpLogPanel.OriginalSize = new System.Drawing.Size(200, 441); this.dpLogPanel.SavedDock = DevExpress.XtraBars.Docking.DockingStyle.Bottom; this.dpLogPanel.SavedIndex = 0; this.dpLogPanel.Size = new System.Drawing.Size(1667, 441); this.dpLogPanel.Text = "Log"; this.dpLogPanel.Visibility = DevExpress.XtraBars.Docking.DockVisibility.Hidden; // // dockPanel1_Container // this.dockPanel1_Container.Controls.Add(this.logMessagesControl); this.dockPanel1_Container.Location = new System.Drawing.Point(8, 51); this.dockPanel1_Container.Name = "dockPanel1_Container"; this.dockPanel1_Container.Size = new System.Drawing.Size(1651, 382); this.dockPanel1_Container.TabIndex = 0; // // logMessagesControl // this.logMessagesControl.Dock = System.Windows.Forms.DockStyle.Fill; this.logMessagesControl.Location = new System.Drawing.Point(0, 0); this.logMessagesControl.Name = "logMessagesControl"; this.logMessagesControl.Size = new System.Drawing.Size(1651, 382); this.logMessagesControl.TabIndex = 0; // // gridControl1 // this.gridControl1.DataSource = this.strategyBaseBindingSource; this.gridControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.gridControl1.Location = new System.Drawing.Point(0, 60); this.gridControl1.MainView = this.gridView1; this.gridControl1.MenuManager = this.barManager1; this.gridControl1.Name = "gridControl1"; this.gridControl1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.repositoryItemTextEdit1, this.repositoryItemCheckEdit1, this.repositoryItemCheckEdit2, this.repositoryItemCheckEdit3, this.riTextEditState}); this.gridControl1.Size = new System.Drawing.Size(1667, 914); this.gridControl1.TabIndex = 4; this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridView1}); this.gridControl1.Click += new System.EventHandler(this.gridControl1_Click); // // strategyBaseBindingSource // this.strategyBaseBindingSource.DataSource = typeof(Crypto.Core.Strategies.StrategyBase); // // gridView1 // this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.colEnabled, this.colDemoMode, this.colDescription, this.colName, this.colStateText, this.colEarned, this.colEnableNotifications}); this.gridView1.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFullFocus; this.gridView1.GridControl = this.gridControl1; this.gridView1.Name = "gridView1"; this.gridView1.OptionsDetail.EnableMasterViewMode = false; this.gridView1.OptionsSelection.EnableAppearanceFocusedCell = false; this.gridView1.OptionsView.BestFitMode = DevExpress.XtraGrid.Views.Grid.GridBestFitMode.Full; this.gridView1.OptionsView.ShowHorizontalLines = DevExpress.Utils.DefaultBoolean.False; this.gridView1.OptionsView.ShowVerticalLines = DevExpress.Utils.DefaultBoolean.False; this.gridView1.RowStyle += new DevExpress.XtraGrid.Views.Grid.RowStyleEventHandler(this.gridView1_RowStyle); // // colEnabled // this.colEnabled.ColumnEdit = this.repositoryItemCheckEdit1; this.colEnabled.FieldName = "Enabled"; this.colEnabled.MinWidth = 40; this.colEnabled.Name = "colEnabled"; this.colEnabled.Visible = true; this.colEnabled.VisibleIndex = 0; this.colEnabled.Width = 160; // // repositoryItemCheckEdit1 // this.repositoryItemCheckEdit1.AutoHeight = false; this.repositoryItemCheckEdit1.CheckBoxOptions.Style = DevExpress.XtraEditors.Controls.CheckBoxStyle.SvgToggle1; this.repositoryItemCheckEdit1.Name = "repositoryItemCheckEdit1"; this.repositoryItemCheckEdit1.EditValueChanged += new System.EventHandler(this.repositoryItemCheckEdit1_EditValueChanged); // // colDemoMode // this.colDemoMode.ColumnEdit = this.repositoryItemCheckEdit2; this.colDemoMode.FieldName = "DemoMode"; this.colDemoMode.MinWidth = 40; this.colDemoMode.Name = "colDemoMode"; this.colDemoMode.Visible = true; this.colDemoMode.VisibleIndex = 1; this.colDemoMode.Width = 195; // // repositoryItemCheckEdit2 // this.repositoryItemCheckEdit2.AutoHeight = false; this.repositoryItemCheckEdit2.CheckBoxOptions.Style = DevExpress.XtraEditors.Controls.CheckBoxStyle.SvgToggle1; this.repositoryItemCheckEdit2.Name = "repositoryItemCheckEdit2"; this.repositoryItemCheckEdit2.EditValueChanged += new System.EventHandler(this.repositoryItemCheckEdit2_EditValueChanged); // // colDescription // this.colDescription.ColumnEdit = this.repositoryItemTextEdit1; this.colDescription.FieldName = "Description"; this.colDescription.MinWidth = 40; this.colDescription.Name = "colDescription"; this.colDescription.OptionsColumn.AllowEdit = false; this.colDescription.Width = 554; // // repositoryItemTextEdit1 // this.repositoryItemTextEdit1.AutoHeight = false; this.repositoryItemTextEdit1.Name = "repositoryItemTextEdit1"; this.repositoryItemTextEdit1.Padding = new System.Windows.Forms.Padding(0, 3, 0, 3); // // colName // this.colName.FieldName = "Name"; this.colName.MinWidth = 40; this.colName.Name = "colName"; this.colName.OptionsColumn.AllowEdit = false; this.colName.OptionsColumn.ReadOnly = true; this.colName.Visible = true; this.colName.VisibleIndex = 3; this.colName.Width = 361; // // colStateText // this.colStateText.ColumnEdit = this.riTextEditState; this.colStateText.FieldName = "StateText"; this.colStateText.MinWidth = 40; this.colStateText.Name = "colStateText"; this.colStateText.OptionsColumn.AllowEdit = false; this.colStateText.Visible = true; this.colStateText.VisibleIndex = 4; this.colStateText.Width = 366; // // riTextEditState // this.riTextEditState.AllowHtmlDraw = DevExpress.Utils.DefaultBoolean.True; this.riTextEditState.AutoHeight = false; this.riTextEditState.Name = "riTextEditState"; // // colEarned // this.colEarned.DisplayFormat.FormatString = "0.0000000"; this.colEarned.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.colEarned.FieldName = "Earned"; this.colEarned.MinWidth = 40; this.colEarned.Name = "colEarned"; this.colEarned.OptionsColumn.AllowEdit = false; this.colEarned.Visible = true; this.colEarned.VisibleIndex = 5; this.colEarned.Width = 412; // // colEnableNotifications // this.colEnableNotifications.Caption = "Notifications"; this.colEnableNotifications.ColumnEdit = this.repositoryItemCheckEdit3; this.colEnableNotifications.FieldName = "EnableNotifications"; this.colEnableNotifications.MinWidth = 40; this.colEnableNotifications.Name = "colEnableNotifications"; this.colEnableNotifications.Visible = true; this.colEnableNotifications.VisibleIndex = 2; this.colEnableNotifications.Width = 137; // // repositoryItemCheckEdit3 // this.repositoryItemCheckEdit3.AutoHeight = false; this.repositoryItemCheckEdit3.CheckBoxOptions.Style = DevExpress.XtraEditors.Controls.CheckBoxStyle.SvgToggle1; this.repositoryItemCheckEdit3.Name = "repositoryItemCheckEdit3"; this.repositoryItemCheckEdit3.EditValueChanged += new System.EventHandler(this.repositoryItemCheckEdit3_EditValueChanged); // // toastNotificationsManager1 // this.toastNotificationsManager1.ApplicationId = "ab6decea-81d2-4ad9-b8b7-45653fe59087"; this.toastNotificationsManager1.Notifications.AddRange(new DevExpress.XtraBars.ToastNotifications.IToastNotificationProperties[] { new DevExpress.XtraBars.ToastNotifications.ToastNotification("404ef86f-183c-4fea-960b-86f54e52ea76", global::Crypto.UI.Properties.Resources.notification_image2, "Strategies Simulator", "Strategy simulation finished!", "", DevExpress.XtraBars.ToastNotifications.ToastNotificationSound.Default, DevExpress.XtraBars.ToastNotifications.ToastNotificationDuration.Long, DevExpress.XtraBars.ToastNotifications.ToastNotificationTemplate.ImageAndText01)}); // // StrategiesCollectionForm // this.AutoScaleDimensions = new System.Drawing.SizeF(12F, 25F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1667, 1026); this.Controls.Add(this.gridControl1); this.Controls.Add(this.barDockControlLeft); this.Controls.Add(this.barDockControlRight); this.Controls.Add(this.barDockControlBottom); this.Controls.Add(this.barDockControlTop); this.Name = "StrategiesCollectionForm"; this.Text = "Active Strategies"; ((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemProgressBar1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dockManager1)).EndInit(); this.dpLogPanel.ResumeLayout(false); this.dockPanel1_Container.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.strategyBaseBindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.riTextEditState)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.behaviorManager1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.toastNotificationsManager1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { Vssoft.Common.MenuButton menuButton1 = new Vssoft.Common.MenuButton(); Vssoft.Common.ItemCommand itemCommand1 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand2 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand3 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand4 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand5 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand6 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand7 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand8 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand9 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand10 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand11 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand12 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand13 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand14 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand15 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand16 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand17 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand18 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand19 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand20 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand21 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand22 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand23 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand24 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand25 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand26 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand27 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand28 = new Vssoft.Common.ItemCommand(); Vssoft.Common.ItemCommand itemCommand29 = new Vssoft.Common.ItemCommand(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ucBaseBasicView)); this.pnlGroupView = new DevExpress.XtraEditors.PanelControl(); this.pnlViewData = new DevExpress.XtraEditors.PanelControl(); this.ucToolBar = new Vssoft.Common.Base.XucToolBar(); this.gcList = new DevExpress.XtraGrid.GridControl(); this.gbList = new DevExpress.XtraGrid.Views.BandedGrid.AdvBandedGridView(); this.gridBand1 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); this.toastNotificationsManager = new DevExpress.XtraBars.ToastNotifications.ToastNotificationsManager(); ((System.ComponentModel.ISupportInitialize)(this.pnlGroupView)).BeginInit(); this.pnlGroupView.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pnlViewData)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gcList)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gbList)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.toastNotificationsManager)).BeginInit(); this.SuspendLayout(); // // pnlGroupView // this.pnlGroupView.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.pnlGroupView.Controls.Add(this.pnlViewData); this.pnlGroupView.Controls.Add(this.ucToolBar); this.pnlGroupView.Dock = System.Windows.Forms.DockStyle.Top; this.pnlGroupView.Location = new System.Drawing.Point(0, 0); this.pnlGroupView.Name = "pnlGroupView"; this.pnlGroupView.Size = new System.Drawing.Size(1132, 143); this.pnlGroupView.TabIndex = 11; // // pnlViewData // this.pnlViewData.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.pnlViewData.Dock = System.Windows.Forms.DockStyle.Fill; this.pnlViewData.Location = new System.Drawing.Point(0, 0); this.pnlViewData.Name = "pnlViewData"; this.pnlViewData.Size = new System.Drawing.Size(1132, 100); this.pnlViewData.TabIndex = 1; // // ucToolBar // this.ucToolBar.ButtonAdd = DevExpress.XtraBars.BarItemVisibility.Always; this.ucToolBar.ButtonCancel = DevExpress.XtraBars.BarItemVisibility.Never; this.ucToolBar.ButtonChange = DevExpress.XtraBars.BarItemVisibility.Never; this.ucToolBar.ButtonDelete = DevExpress.XtraBars.BarItemVisibility.Always; this.ucToolBar.ButtonEdit = DevExpress.XtraBars.BarItemVisibility.Always; this.ucToolBar.ButtonExport = DevExpress.XtraBars.BarItemVisibility.Always; this.ucToolBar.ButtonOption = DevExpress.XtraBars.BarItemVisibility.Never; this.ucToolBar.ButtonPrint = DevExpress.XtraBars.BarItemVisibility.Always; this.ucToolBar.ButtonSave = DevExpress.XtraBars.BarItemVisibility.Never; this.ucToolBar.ButtonSaveNew = DevExpress.XtraBars.BarItemVisibility.Never; this.ucToolBar.Dock = System.Windows.Forms.DockStyle.Bottom; this.ucToolBar.IsClose = Vssoft.Common.Common.Class.CloseOrNew.None; this.ucToolBar.Location = new System.Drawing.Point(0, 100); this.ucToolBar.Name = "ucToolBar"; this.ucToolBar.NotSave = false; itemCommand1.Caption = ""; itemCommand1.Enable = false; itemCommand1.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.Add = itemCommand1; itemCommand2.Caption = ""; itemCommand2.Enable = false; itemCommand2.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.Cancel = itemCommand2; itemCommand3.Caption = ""; itemCommand3.Enable = false; itemCommand3.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.Change = itemCommand3; itemCommand4.Caption = ""; itemCommand4.Enable = false; itemCommand4.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.Close = itemCommand4; itemCommand5.Caption = ""; itemCommand5.Enable = false; itemCommand5.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.Custom = itemCommand5; itemCommand6.Caption = ""; itemCommand6.Enable = false; itemCommand6.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.Delete = itemCommand6; itemCommand7.Caption = ""; itemCommand7.Enable = false; itemCommand7.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.Export = itemCommand7; itemCommand8.Caption = ""; itemCommand8.Enable = false; itemCommand8.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.Filter = itemCommand8; itemCommand9.Caption = ""; itemCommand9.Enable = false; itemCommand9.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.FilterCustomer = itemCommand9; itemCommand10.Caption = ""; itemCommand10.Enable = false; itemCommand10.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.FilterStock = itemCommand10; itemCommand11.Caption = ""; itemCommand11.Enable = false; itemCommand11.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.Find = itemCommand11; menuButton1.GClose = false; menuButton1.GCommand = false; menuButton1.GExport = false; itemCommand12.Caption = ""; itemCommand12.Enable = false; itemCommand12.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.Go = itemCommand12; menuButton1.GOption = false; menuButton1.GPrint = false; menuButton1.GRecords = false; menuButton1.GSearchBar = false; menuButton1.GSettings = false; menuButton1.GVaildation = false; itemCommand13.Caption = ""; itemCommand13.Enable = false; itemCommand13.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.Import = itemCommand13; itemCommand14.Caption = ""; itemCommand14.Enable = false; itemCommand14.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.Next = itemCommand14; itemCommand15.Caption = ""; itemCommand15.Enable = false; itemCommand15.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.PageSetup = itemCommand15; menuButton1.PHome = false; itemCommand16.Caption = ""; itemCommand16.Enable = false; itemCommand16.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.Previous = itemCommand16; itemCommand17.Caption = ""; itemCommand17.Enable = false; itemCommand17.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.Print = itemCommand17; itemCommand18.Caption = ""; itemCommand18.Enable = false; itemCommand18.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.PrintPreview = itemCommand18; menuButton1.PTool = false; itemCommand19.Caption = ""; itemCommand19.Enable = false; itemCommand19.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.Redo = itemCommand19; itemCommand20.Caption = ""; itemCommand20.Enable = false; itemCommand20.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.Refresh = itemCommand20; itemCommand21.Caption = ""; itemCommand21.Enable = false; itemCommand21.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.Save = itemCommand21; itemCommand22.Caption = ""; itemCommand22.Enable = false; itemCommand22.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.SaveAndClose = itemCommand22; itemCommand23.Caption = ""; itemCommand23.Enable = false; itemCommand23.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.SaveAndNew = itemCommand23; itemCommand24.Caption = ""; itemCommand24.Enable = false; itemCommand24.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.Search = itemCommand24; itemCommand25.Caption = ""; itemCommand25.Enable = false; itemCommand25.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.SearchText = itemCommand25; itemCommand26.Caption = ""; itemCommand26.Enable = false; itemCommand26.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.Task = itemCommand26; itemCommand27.Caption = ""; itemCommand27.Enable = false; itemCommand27.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.Undo = itemCommand27; itemCommand28.Caption = ""; itemCommand28.Enable = false; itemCommand28.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.Vaildate = itemCommand28; itemCommand29.Caption = ""; itemCommand29.Enable = false; itemCommand29.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; menuButton1.View = itemCommand29; this.ucToolBar.RibbonBar = menuButton1; this.ucToolBar.Size = new System.Drawing.Size(1132, 43); this.ucToolBar.Status = Vssoft.Common.Common.Class.Actions.None; this.ucToolBar.TabIndex = 0; this.ucToolBar.Title = ""; this.ucToolBar.CancelClick += new Vssoft.Common.Common.Class.ButtonClickEventHander(this.ucToolBar_CancelClick); this.ucToolBar.SaveNewClick += new Vssoft.Common.Common.Class.ButtonClickEventHander(this.ucToolBar_SaveNewClick); // // gcList // this.gcList.Dock = System.Windows.Forms.DockStyle.Fill; this.gcList.EmbeddedNavigator.Buttons.Append.Visible = false; this.gcList.EmbeddedNavigator.Buttons.CancelEdit.Visible = false; this.gcList.EmbeddedNavigator.Buttons.Edit.Visible = false; this.gcList.EmbeddedNavigator.Buttons.EndEdit.Visible = false; this.gcList.EmbeddedNavigator.Buttons.Remove.Visible = false; this.gcList.EmbeddedNavigator.TextStringFormat = "{0}/{1}"; this.gcList.Location = new System.Drawing.Point(0, 143); this.gcList.LookAndFeel.SkinName = "Office 2007 Black"; this.gcList.MainView = this.gbList; this.gcList.Name = "gcList"; this.gcList.Size = new System.Drawing.Size(1132, 457); this.gcList.TabIndex = 12; this.gcList.UseEmbeddedNavigator = true; this.gcList.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gbList }); this.gcList.MouseUp += new System.Windows.Forms.MouseEventHandler(this.gcList_MouseUp); // // gbList // this.gbList.Bands.AddRange(new DevExpress.XtraGrid.Views.BandedGrid.GridBand[] { this.gridBand1 }); this.gbList.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Flat; this.gbList.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus; this.gbList.GridControl = this.gcList; this.gbList.GroupSummary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] { new DevExpress.XtraGrid.GridGroupSummaryItem(DevExpress.Data.SummaryItemType.None, "", null, "") }); this.gbList.IndicatorWidth = 45; this.gbList.Name = "gbList"; this.gbList.OptionsPrint.ExpandAllDetails = true; this.gbList.OptionsPrint.PrintDetails = true; this.gbList.OptionsPrint.PrintFilterInfo = true; this.gbList.OptionsPrint.PrintPreview = true; this.gbList.OptionsSelection.InvertSelection = true; this.gbList.OptionsSelection.MultiSelect = true; this.gbList.OptionsView.ColumnAutoWidth = true; this.gbList.OptionsView.EnableAppearanceEvenRow = true; this.gbList.OptionsView.HeaderFilterButtonShowMode = DevExpress.XtraEditors.Controls.FilterButtonShowMode.Button; this.gbList.OptionsView.ShowAutoFilterRow = true; this.gbList.OptionsView.ShowBands = false; this.gbList.OptionsView.ShowButtonMode = DevExpress.XtraGrid.Views.Base.ShowButtonModeEnum.ShowAlways; this.gbList.OptionsView.ShowDetailButtons = false; this.gbList.OptionsView.ShowGroupPanel = false; this.gbList.RowCellClick += new DevExpress.XtraGrid.Views.Grid.RowCellClickEventHandler(this.gbList_RowCellClick); this.gbList.CustomDrawRowIndicator += new DevExpress.XtraGrid.Views.Grid.RowIndicatorCustomDrawEventHandler(this.gbList_CustomDrawRowIndicator); this.gbList.FocusedRowChanged += new DevExpress.XtraGrid.Views.Base.FocusedRowChangedEventHandler(this.gbList_FocusedRowChanged); this.gbList.KeyDown += new System.Windows.Forms.KeyEventHandler(this.gbList_KeyDown); this.gbList.MouseDown += new System.Windows.Forms.MouseEventHandler(this.gbList_MouseDown); this.gbList.MouseUp += new System.Windows.Forms.MouseEventHandler(this.gbList_MouseUp); this.gbList.Click += new System.EventHandler(this.gbList_Click); this.gbList.DoubleClick += new System.EventHandler(this.gbList_DoubleClick); this.gbList.Layout += new System.EventHandler(this.gbList_Layout); // // gridBand1 // this.gridBand1.Caption = "DANH MỤC"; this.gridBand1.Name = "gridBand1"; this.gridBand1.OptionsBand.ShowCaption = false; this.gridBand1.ToolTip = "DANH MỤC"; this.gridBand1.VisibleIndex = 0; // // toastNotificationsManager // this.toastNotificationsManager.ApplicationId = "8397c21b-3d47-48a4-8c8e-8ff3217d1fb2"; this.toastNotificationsManager.ApplicationName = "Vssoft.Common"; this.toastNotificationsManager.Notifications.AddRange(new DevExpress.XtraBars.ToastNotifications.IToastNotificationProperties[] { new DevExpress.XtraBars.ToastNotifications.ToastNotification("a84d28f6-2e00-4134-a39d-d4effbacd468", ((System.Drawing.Image)(resources.GetObject("toastNotificationsManager.Notifications"))), "", "Thêm mới thành công", "", DevExpress.XtraBars.ToastNotifications.ToastNotificationTemplate.ImageAndText01), new DevExpress.XtraBars.ToastNotifications.ToastNotification("a67f5081-87b8-4df8-aeed-5679d7ddedec", ((System.Drawing.Image)(resources.GetObject("toastNotificationsManager.Notifications1"))), "", "Cập nhật thành công", "", DevExpress.XtraBars.ToastNotifications.ToastNotificationTemplate.ImageAndText01), new DevExpress.XtraBars.ToastNotifications.ToastNotification("74366fee-5902-4a5f-8d09-f2a26c08ac23", ((System.Drawing.Image)(resources.GetObject("toastNotificationsManager.Notifications2"))), "", "Xóa bản ghi thành công", "", DevExpress.XtraBars.ToastNotifications.ToastNotificationTemplate.ImageAndText01), new DevExpress.XtraBars.ToastNotifications.ToastNotification("d445bb91-4fda-41f9-9fe4-92c2ad47745e", ((System.Drawing.Image)(resources.GetObject("toastNotificationsManager.Notifications3"))), "", "Thao tác chưa được thực hiện thành công, thử lại sau.", "", DevExpress.XtraBars.ToastNotifications.ToastNotificationTemplate.ImageAndText01), new DevExpress.XtraBars.ToastNotifications.ToastNotification("8e062083-d7a4-48ba-bb43-144c45a8783d", ((System.Drawing.Image)(resources.GetObject("toastNotificationsManager.Notifications4"))), "", "Không xóa được bản ghi này, kiểm tra lại dữ liệu.", "", DevExpress.XtraBars.ToastNotifications.ToastNotificationTemplate.ImageAndText01) }); // // ucBaseBasicView // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.gcList); this.Controls.Add(this.pnlGroupView); this.DoubleBuffered = true; this.Name = "ucBaseBasicView"; this.Size = new System.Drawing.Size(1132, 600); ((System.ComponentModel.ISupportInitialize)(this.pnlGroupView)).EndInit(); this.pnlGroupView.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.pnlViewData)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gcList)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gbList)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.toastNotificationsManager)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); dataGridView1 = new System.Windows.Forms.DataGridView(); this.STT = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Check = new System.Windows.Forms.DataGridViewCheckBoxColumn(); this.Vocabulary = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.PhienAm = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Mean = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.textBox1 = new System.Windows.Forms.TextBox(); this.textBox2 = new System.Windows.Forms.TextBox(); this.button2 = new System.Windows.Forms.Button(); this.toastNotificationsManager1 = new DevExpress.XtraBars.ToastNotifications.ToastNotificationsManager(this.components); this.button3 = new System.Windows.Forms.Button(); toastNotificationsManager2 = new DevExpress.XtraBars.ToastNotifications.ToastNotificationsManager(this.components); this.toastNotificationsManager3 = new DevExpress.XtraBars.ToastNotifications.ToastNotificationsManager(this.components); this.checkBox1 = new System.Windows.Forms.CheckBox(); this.textBox3 = new System.Windows.Forms.TextBox(); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.textBox4 = new System.Windows.Forms.TextBox(); this.button1 = new System.Windows.Forms.Button(); this.checkBox2 = new System.Windows.Forms.CheckBox(); this.label3 = new System.Windows.Forms.Label(); this.linkLabel1 = new System.Windows.Forms.LinkLabel(); this.button4 = new System.Windows.Forms.Button(); this.checkBox3 = new System.Windows.Forms.CheckBox(); checkBox4 = new System.Windows.Forms.CheckBox(); checkBox5 = new System.Windows.Forms.CheckBox(); this.btnTN = new System.Windows.Forms.Button(); this.btnAN = new System.Windows.Forms.Button(); this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components); this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); this.notifyIcon1 = new System.Windows.Forms.NotifyIcon(this.components); this.btnAsyn = new System.Windows.Forms.Button(); this.btnUpdata = new System.Windows.Forms.Button(); this.btnDown = new System.Windows.Forms.Button(); ((System.ComponentModel.ISupportInitialize)(dataGridView1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.toastNotificationsManager1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(toastNotificationsManager2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.toastNotificationsManager3)).BeginInit(); this.contextMenuStrip1.SuspendLayout(); this.SuspendLayout(); // // dataGridView1 // dataGridView1.AllowUserToAddRows = false; dataGridView1.AllowUserToDeleteRows = false; dataGridView1.AllowUserToOrderColumns = true; dataGridView1.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))); dataGridView1.BackgroundColor = System.Drawing.Color.White; dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.STT, this.Check, this.Vocabulary, this.PhienAm, this.Mean }); dataGridView1.GridColor = System.Drawing.Color.White; dataGridView1.Location = new System.Drawing.Point(6, 74); dataGridView1.Name = "dataGridView1"; dataGridView1.RowHeadersVisible = false; dataGridView1.Size = new System.Drawing.Size(833, 143); dataGridView1.TabIndex = 0; // // STT // this.STT.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; this.STT.HeaderText = "STT"; this.STT.Name = "STT"; this.STT.Visible = false; // // Check // this.Check.HeaderText = "Check"; this.Check.Name = "Check"; this.Check.Width = 50; // // Vocabulary // this.Vocabulary.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; this.Vocabulary.FillWeight = 82.47423F; this.Vocabulary.HeaderText = "Vocabulary"; this.Vocabulary.Name = "Vocabulary"; this.Vocabulary.Resizable = System.Windows.Forms.DataGridViewTriState.True; // // PhienAm // this.PhienAm.HeaderText = "Phiên Âm"; this.PhienAm.Name = "PhienAm"; this.PhienAm.Width = 50; // // Mean // this.Mean.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; this.Mean.FillWeight = 117.5258F; this.Mean.HeaderText = "Mean"; this.Mean.Name = "Mean"; this.Mean.Resizable = System.Windows.Forms.DataGridViewTriState.True; // // textBox1 // this.textBox1.Location = new System.Drawing.Point(6, 12); this.textBox1.Name = "textBox1"; this.textBox1.Size = new System.Drawing.Size(111, 20); this.textBox1.TabIndex = 2; this.textBox1.Tag = "0"; this.textBox1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.textBox1_KeyDown); // // textBox2 // this.textBox2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.textBox2.Location = new System.Drawing.Point(123, 12); this.textBox2.Multiline = true; this.textBox2.Name = "textBox2"; this.textBox2.Size = new System.Drawing.Size(704, 20); this.textBox2.TabIndex = 3; this.textBox2.Tag = "1"; this.textBox2.TextChanged += new System.EventHandler(this.textBox2_TextChanged); this.textBox2.KeyDown += new System.Windows.Forms.KeyEventHandler(this.textBox2_KeyDown); this.textBox2.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox2_KeyPress); this.textBox2.KeyUp += new System.Windows.Forms.KeyEventHandler(this.textBox2_KeyUp); this.textBox2.MouseDown += new System.Windows.Forms.MouseEventHandler(this.textBox2_MouseDown); // // button2 // this.button2.Location = new System.Drawing.Point(49, 38); this.button2.Name = "button2"; this.button2.Size = new System.Drawing.Size(52, 23); this.button2.TabIndex = 6; this.button2.Text = "Delete"; this.button2.UseVisualStyleBackColor = true; this.button2.Click += new System.EventHandler(this.button2_Click); // // toastNotificationsManager1 // this.toastNotificationsManager1.ApplicationId = "37ee412e-c9a1-4d98-90bb-ee8f4c4badd1"; this.toastNotificationsManager1.ApplicationName = "DemoXML"; this.toastNotificationsManager1.CreateApplicationShortcut = DevExpress.Utils.DefaultBoolean.True; // // button3 // this.button3.Location = new System.Drawing.Point(589, 36); this.button3.Name = "button3"; this.button3.Size = new System.Drawing.Size(66, 23); this.button3.TabIndex = 4; this.button3.Text = "Nhắt nhở"; this.button3.UseVisualStyleBackColor = true; this.button3.Click += new System.EventHandler(this.button3_Click); // // toastNotificationsManager2 // toastNotificationsManager2.ApplicationId = "88b5159d-4ec4-43f7-be18-ed1764c05be6"; toastNotificationsManager2.ApplicationName = "DemoXML"; toastNotificationsManager2.CreateApplicationShortcut = DevExpress.Utils.DefaultBoolean.True; // // toastNotificationsManager3 // this.toastNotificationsManager3.ApplicationId = "37ee412e-c9a1-4d98-90bb-ee8f4c4badd1"; this.toastNotificationsManager3.ApplicationName = "DemoXML"; this.toastNotificationsManager3.CreateApplicationShortcut = DevExpress.Utils.DefaultBoolean.True; this.toastNotificationsManager3.TimedOut += new System.EventHandler <DevExpress.XtraBars.ToastNotifications.ToastNotificationEventArgs>(this.toastNotificationsManager1_TimedOut); // // checkBox1 // this.checkBox1.AutoSize = true; this.checkBox1.Location = new System.Drawing.Point(6, 45); this.checkBox1.Name = "checkBox1"; this.checkBox1.Size = new System.Drawing.Size(37, 17); this.checkBox1.TabIndex = 7; this.checkBox1.Text = "All"; this.checkBox1.UseVisualStyleBackColor = true; this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged); // // textBox3 // this.textBox3.Anchor = System.Windows.Forms.AnchorStyles.Bottom; this.textBox3.Location = new System.Drawing.Point(264, 223); this.textBox3.Name = "textBox3"; this.textBox3.Size = new System.Drawing.Size(38, 20); this.textBox3.TabIndex = 8; this.textBox3.Text = "8"; this.textBox3.TextChanged += new System.EventHandler(this.textBox3_TextChanged); this.textBox3.KeyDown += new System.Windows.Forms.KeyEventHandler(this.textBox3_KeyDown); this.textBox3.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox3_KeyPress); this.textBox3.Leave += new System.EventHandler(this.textBox3_Leave); // // label1 // this.label1.Anchor = System.Windows.Forms.AnchorStyles.Bottom; this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(188, 226); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(70, 13); this.label1.TabIndex = 9; this.label1.Text = "Giãn cách (s)"; // // label2 // this.label2.Anchor = System.Windows.Forms.AnchorStyles.Bottom; this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(388, 226); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(112, 13); this.label2.TabIndex = 10; this.label2.Text = "Số lần lặp lại của 1 từ "; // // textBox4 // this.textBox4.Anchor = System.Windows.Forms.AnchorStyles.Bottom; this.textBox4.Location = new System.Drawing.Point(506, 223); this.textBox4.Name = "textBox4"; this.textBox4.Size = new System.Drawing.Size(36, 20); this.textBox4.TabIndex = 11; this.textBox4.Text = "1"; this.textBox4.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox4_KeyPress); this.textBox4.Leave += new System.EventHandler(this.textBox4_Leave); // // button1 // this.button1.Location = new System.Drawing.Point(107, 39); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(66, 23); this.button1.TabIndex = 12; this.button1.Text = "Cập nhật"; this.button1.UseVisualStyleBackColor = true; this.button1.Click += new System.EventHandler(this.button1_Click_1); // // checkBox2 // this.checkBox2.AutoSize = true; this.checkBox2.Checked = true; this.checkBox2.CheckState = System.Windows.Forms.CheckState.Checked; this.checkBox2.Location = new System.Drawing.Point(447, 39); this.checkBox2.Name = "checkBox2"; this.checkBox2.Size = new System.Drawing.Size(65, 17); this.checkBox2.TabIndex = 13; this.checkBox2.Text = "Phát âm"; this.checkBox2.UseVisualStyleBackColor = true; this.checkBox2.CheckedChanged += new System.EventHandler(this.checkBox2_CheckedChanged); // // label3 // this.label3.Anchor = System.Windows.Forms.AnchorStyles.Bottom; this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(548, 226); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(41, 13); this.label3.TabIndex = 14; this.label3.Text = "Góp ý :"; // // linkLabel1 // this.linkLabel1.Anchor = System.Windows.Forms.AnchorStyles.Bottom; this.linkLabel1.AutoSize = true; this.linkLabel1.Location = new System.Drawing.Point(595, 226); this.linkLabel1.Name = "linkLabel1"; this.linkLabel1.Size = new System.Drawing.Size(179, 13); this.linkLabel1.TabIndex = 15; this.linkLabel1.TabStop = true; this.linkLabel1.Text = "https://www.facebook.com/nmtri.uit"; this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked); // // button4 // this.button4.Location = new System.Drawing.Point(179, 38); this.button4.Name = "button4"; this.button4.Size = new System.Drawing.Size(62, 23); this.button4.TabIndex = 17; this.button4.Text = "Auto"; this.button4.UseVisualStyleBackColor = true; this.button4.Click += new System.EventHandler(this.button4_Click); // // checkBox3 // this.checkBox3.AutoSize = true; this.checkBox3.Location = new System.Drawing.Point(527, 39); this.checkBox3.Name = "checkBox3"; this.checkBox3.Size = new System.Drawing.Size(56, 17); this.checkBox3.TabIndex = 18; this.checkBox3.Text = "Ẩn TB"; this.checkBox3.UseVisualStyleBackColor = true; // // checkBox4 // checkBox4.AutoSize = true; checkBox4.Location = new System.Drawing.Point(367, 38); checkBox4.Name = "checkBox4"; checkBox4.Size = new System.Drawing.Size(56, 17); checkBox4.TabIndex = 19; checkBox4.Text = "Offline"; checkBox4.UseVisualStyleBackColor = true; // // checkBox5 // checkBox5.Anchor = System.Windows.Forms.AnchorStyles.Bottom; checkBox5.AutoSize = true; checkBox5.Checked = true; checkBox5.CheckState = System.Windows.Forms.CheckState.Checked; checkBox5.Location = new System.Drawing.Point(308, 225); checkBox5.Name = "checkBox5"; checkBox5.Size = new System.Drawing.Size(74, 17); checkBox5.TabIndex = 20; checkBox5.Text = "Auto Time"; checkBox5.UseVisualStyleBackColor = true; // // btnTN // this.btnTN.Location = new System.Drawing.Point(247, 36); this.btnTN.Name = "btnTN"; this.btnTN.Size = new System.Drawing.Size(83, 23); this.btnTN.TabIndex = 21; this.btnTN.Text = "Trắc Nghiệm"; this.btnTN.UseVisualStyleBackColor = true; this.btnTN.Click += new System.EventHandler(this.btnTN_Click); // // btnAN // this.btnAN.Anchor = System.Windows.Forms.AnchorStyles.Bottom; this.btnAN.Location = new System.Drawing.Point(780, 223); this.btnAN.Name = "btnAN"; this.btnAN.Size = new System.Drawing.Size(47, 23); this.btnAN.TabIndex = 22; this.btnAN.Text = "Ẩn"; this.btnAN.UseVisualStyleBackColor = true; this.btnAN.Click += new System.EventHandler(this.btnAN_Click); // // contextMenuStrip1 // this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStripMenuItem1 }); this.contextMenuStrip1.Name = "contextMenuStrip1"; this.contextMenuStrip1.Size = new System.Drawing.Size(130, 26); this.contextMenuStrip1.DoubleClick += new System.EventHandler(this.contextMenuStrip1_DoubleClick); // // toolStripMenuItem1 // this.toolStripMenuItem1.Name = "toolStripMenuItem1"; this.toolStripMenuItem1.Size = new System.Drawing.Size(129, 22); this.toolStripMenuItem1.Text = "Hiện Bảng"; this.toolStripMenuItem1.Click += new System.EventHandler(this.toolStripMenuItem1_Click); // // notifyIcon1 // this.notifyIcon1.ContextMenuStrip = this.contextMenuStrip1; this.notifyIcon1.Icon = ((System.Drawing.Icon)(resources.GetObject("notifyIcon1.Icon"))); this.notifyIcon1.Text = "UIT"; this.notifyIcon1.Visible = true; this.notifyIcon1.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.notifyIcon1_MouseDoubleClick); // // btnAsyn // this.btnAsyn.Anchor = System.Windows.Forms.AnchorStyles.Bottom; this.btnAsyn.Location = new System.Drawing.Point(12, 221); this.btnAsyn.Name = "btnAsyn"; this.btnAsyn.Size = new System.Drawing.Size(74, 25); this.btnAsyn.TabIndex = 23; this.btnAsyn.Text = "Account"; this.btnAsyn.UseVisualStyleBackColor = true; this.btnAsyn.Click += new System.EventHandler(this.btnAsyn_Click); // // btnUpdata // this.btnUpdata.Location = new System.Drawing.Point(93, 221); this.btnUpdata.Name = "btnUpdata"; this.btnUpdata.Anchor = System.Windows.Forms.AnchorStyles.Bottom; this.btnUpdata.Size = new System.Drawing.Size(37, 25); this.btnUpdata.TabIndex = 24; this.btnUpdata.Text = "Up"; this.btnUpdata.UseVisualStyleBackColor = true; this.btnUpdata.Click += new System.EventHandler(this.btnUpdata_Click); // // btnDown // this.btnDown.Anchor = System.Windows.Forms.AnchorStyles.Bottom; this.btnDown.Location = new System.Drawing.Point(136, 221); this.btnDown.Name = "btnDown"; this.btnDown.Size = new System.Drawing.Size(46, 25); this.btnDown.TabIndex = 25; this.btnDown.Text = "Down"; this.btnDown.UseVisualStyleBackColor = true; this.btnDown.Click += new System.EventHandler(this.btnDown_Click); // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(839, 248); this.Controls.Add(this.btnDown); this.Controls.Add(this.btnUpdata); this.Controls.Add(this.btnAsyn); this.Controls.Add(this.btnAN); this.Controls.Add(this.btnTN); this.Controls.Add(checkBox5); this.Controls.Add(checkBox4); this.Controls.Add(this.checkBox3); this.Controls.Add(this.button4); this.Controls.Add(this.linkLabel1); this.Controls.Add(this.label3); this.Controls.Add(this.checkBox2); this.Controls.Add(this.button1); this.Controls.Add(this.textBox4); this.Controls.Add(this.label2); this.Controls.Add(this.label1); this.Controls.Add(this.textBox3); this.Controls.Add(this.checkBox1); this.Controls.Add(this.button3); this.Controls.Add(this.button2); this.Controls.Add(this.textBox2); this.Controls.Add(this.textBox1); this.Controls.Add(dataGridView1); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "Form1"; this.Text = "UIT-SE08"; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form1_FormClosing); this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(dataGridView1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.toastNotificationsManager1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(toastNotificationsManager2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.toastNotificationsManager3)).EndInit(); this.contextMenuStrip1.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); }