/// <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.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(ClientView)); this.dsClients1 = new BPS.BLL.Clients.DataSets.dsClients(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.cbSpecial = new System.Windows.Forms.CheckBox(); this.cbIsInner = new System.Windows.Forms.CheckBox(); this.tbName = new System.Windows.Forms.TextBox(); this.label2 = new System.Windows.Forms.Label(); this.imageList1 = new System.Windows.Forms.ImageList(this.components); this.dataGrid1 = new AM_Controls.DataGridV(); this.contextMenu1 = new System.Windows.Forms.ContextMenu(); this.dataView1 = new System.Data.DataView(); this.dataGridTableStyle1 = new System.Windows.Forms.DataGridTableStyle(); this.dataGridTextBoxColumn1 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn3 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn2 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn4 = new System.Windows.Forms.DataGridTextBoxColumn(); this.panel2 = new System.Windows.Forms.Panel(); this.toolBar1 = new System.Windows.Forms.ToolBar(); this.toolBarButton1 = new System.Windows.Forms.ToolBarButton(); this.toolBarButton2 = new System.Windows.Forms.ToolBarButton(); this.toolBarButton4 = new System.Windows.Forms.ToolBarButton(); this.toolBarButton3 = new System.Windows.Forms.ToolBarButton(); this.toolBarButton5 = new System.Windows.Forms.ToolBarButton(); this.toolBarButton6 = new System.Windows.Forms.ToolBarButton(); this.toolBarButton7 = new System.Windows.Forms.ToolBarButton(); this.toolBarButton8 = new System.Windows.Forms.ToolBarButton(); this.toolBarButton9 = new System.Windows.Forms.ToolBarButton(); this.dvGroups = new System.Data.DataView(); this.panel3 = new System.Windows.Forms.Panel(); this.panel1 = new System.Windows.Forms.Panel(); this.dataGridV1 = new AM_Controls.DataGridV(); this.dvClientRate = new System.Data.DataView(); this.dsInterestRate1 = new BPS.BLL.Clients.DataSets.dsInterestRate(); this.dataGridTableStyle2 = new System.Windows.Forms.DataGridTableStyle(); this.ReqType = new System.Windows.Forms.DataGridTextBoxColumn(); this.ReqTypeName = new System.Windows.Forms.DataGridTextBoxColumn(); this.RateNormal = new System.Windows.Forms.DataGridTextBoxColumn(); this.RateBlack = new System.Windows.Forms.DataGridTextBoxColumn(); this.dvRateList = new System.Data.DataView(); this.dsInterestRateList1 = new BPS.BLL.Clients.DataSets.dsInterestRateList(); this.dsReqTypes1 = new BPS.BLL.ClientsRequests.DataSets.dsReqTypes(); this.mainMenu1 = new System.Windows.Forms.MainMenu(); this.mnuEdit = new System.Windows.Forms.MenuItem(); this.menuItem2 = new System.Windows.Forms.MenuItem(); this.menuItem3 = new System.Windows.Forms.MenuItem(); this.menuItem4 = new System.Windows.Forms.MenuItem(); this.menuItem5 = new System.Windows.Forms.MenuItem(); this.menuItem6 = new System.Windows.Forms.MenuItem(); this.menuItem7 = new System.Windows.Forms.MenuItem(); this.menuItem8 = new System.Windows.Forms.MenuItem(); this.menuItem9 = new System.Windows.Forms.MenuItem(); this.menuItem10 = new System.Windows.Forms.MenuItem(); this.dsOrgsClients1 = new BPS.BLL.Clients.DataSets.dsOrgsClients(); ((System.ComponentModel.ISupportInitialize)(this.dsClients1)).BeginInit(); this.groupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dataView1)).BeginInit(); this.panel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dvGroups)).BeginInit(); this.panel3.SuspendLayout(); this.panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dataGridV1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dvClientRate)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dsInterestRate1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dvRateList)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dsInterestRateList1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dsReqTypes1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dsOrgsClients1)).BeginInit(); this.SuspendLayout(); // // dsClients1 // this.dsClients1.DataSetName = "dsClients"; this.dsClients1.Locale = new System.Globalization.CultureInfo("ru-RU"); // // groupBox1 // this.groupBox1.Controls.Add(this.cbSpecial); this.groupBox1.Controls.Add(this.cbIsInner); this.groupBox1.Controls.Add(this.tbName); this.groupBox1.Controls.Add(this.label2); this.groupBox1.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox1.Location = new System.Drawing.Point(0, 28); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(792, 38); this.groupBox1.TabIndex = 0; this.groupBox1.TabStop = false; this.groupBox1.Text = "Фильтр"; // // cbSpecial // this.cbSpecial.Location = new System.Drawing.Point(520, 14); this.cbSpecial.Name = "cbSpecial"; this.cbSpecial.TabIndex = 4; this.cbSpecial.Text = "Специальные"; // // cbIsInner // this.cbIsInner.Location = new System.Drawing.Point(414, 14); this.cbIsInner.Name = "cbIsInner"; this.cbIsInner.Size = new System.Drawing.Size(88, 24); this.cbIsInner.TabIndex = 3; this.cbIsInner.Text = "Внутренний"; // // tbName // this.tbName.Location = new System.Drawing.Point(64, 16); this.tbName.Name = "tbName"; this.tbName.Size = new System.Drawing.Size(184, 21); this.tbName.TabIndex = 0; this.tbName.Text = ""; // // label2 // this.label2.Location = new System.Drawing.Point(12, 20); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(48, 16); this.label2.TabIndex = 2; this.label2.Text = "Клиент:"; // // imageList1 // this.imageList1.ImageSize = new System.Drawing.Size(16, 16); this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream"))); this.imageList1.TransparentColor = System.Drawing.Color.Transparent; // // dataGrid1 // this.dataGrid1._CanEdit = false; this.dataGrid1._InvisibleColumn = 0; this.dataGrid1.AlternatingBackColor = System.Drawing.Color.LightGray; this.dataGrid1.BackColor = System.Drawing.Color.Gainsboro; this.dataGrid1.CaptionVisible = false; this.dataGrid1.ContextMenu = this.contextMenu1; this.dataGrid1.DataMember = ""; this.dataGrid1.DataSource = this.dataView1; this.dataGrid1.Dock = System.Windows.Forms.DockStyle.Fill; this.dataGrid1.GridLineColor = System.Drawing.Color.LightGray; this.dataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGrid1.Location = new System.Drawing.Point(0, 0); this.dataGrid1.Name = "dataGrid1"; this.dataGrid1.ReadOnly = true; this.dataGrid1.Size = new System.Drawing.Size(792, 391); this.dataGrid1.TabIndex = 1; this.dataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dataGridTableStyle1 }); this.dataGrid1.DoubleClick += new System.EventHandler(this.dataGrid1_DoubleClick); this.dataGrid1.Paint += new System.Windows.Forms.PaintEventHandler(this.dataGrid1_Paint); // // dataView1 // this.dataView1.Table = this.dsClients1.Clients; // // dataGridTableStyle1 // this.dataGridTableStyle1.AlternatingBackColor = System.Drawing.Color.LightGray; this.dataGridTableStyle1.BackColor = System.Drawing.Color.Gainsboro; this.dataGridTableStyle1.DataGrid = this.dataGrid1; this.dataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] { this.dataGridTextBoxColumn1, this.dataGridTextBoxColumn3, this.dataGridTextBoxColumn2, this.dataGridTextBoxColumn4 }); this.dataGridTableStyle1.GridLineColor = System.Drawing.Color.LightGray; this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGridTableStyle1.MappingName = "Clients"; // // dataGridTextBoxColumn1 // this.dataGridTextBoxColumn1.Format = ""; this.dataGridTextBoxColumn1.FormatInfo = null; this.dataGridTextBoxColumn1.MappingName = "ClientID"; this.dataGridTextBoxColumn1.NullText = ""; this.dataGridTextBoxColumn1.Width = 40; // // dataGridTextBoxColumn3 // this.dataGridTextBoxColumn3.Format = ""; this.dataGridTextBoxColumn3.FormatInfo = null; this.dataGridTextBoxColumn3.HeaderText = "Группа"; this.dataGridTextBoxColumn3.MappingName = "ClientGroupName"; this.dataGridTextBoxColumn3.NullText = ""; this.dataGridTextBoxColumn3.Width = 130; // // dataGridTextBoxColumn2 // this.dataGridTextBoxColumn2.Format = ""; this.dataGridTextBoxColumn2.FormatInfo = null; this.dataGridTextBoxColumn2.HeaderText = "Имя клиента"; this.dataGridTextBoxColumn2.MappingName = "ClientName"; this.dataGridTextBoxColumn2.NullText = ""; this.dataGridTextBoxColumn2.Width = 250; // // dataGridTextBoxColumn4 // this.dataGridTextBoxColumn4.Format = ""; this.dataGridTextBoxColumn4.FormatInfo = null; this.dataGridTextBoxColumn4.HeaderText = "Примечание"; this.dataGridTextBoxColumn4.MappingName = "ClientRemarks"; this.dataGridTextBoxColumn4.NullText = ""; this.dataGridTextBoxColumn4.Width = 330; // // panel2 // this.panel2.Controls.Add(this.groupBox1); this.panel2.Controls.Add(this.toolBar1); this.panel2.Dock = System.Windows.Forms.DockStyle.Top; this.panel2.Location = new System.Drawing.Point(0, 0); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(792, 66); this.panel2.TabIndex = 10; // // toolBar1 // this.toolBar1.Appearance = System.Windows.Forms.ToolBarAppearance.Flat; this.toolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] { this.toolBarButton1, this.toolBarButton2, this.toolBarButton4, this.toolBarButton3, this.toolBarButton5, this.toolBarButton6, this.toolBarButton7, this.toolBarButton8, this.toolBarButton9 }); this.toolBar1.ButtonSize = new System.Drawing.Size(100, 22); this.toolBar1.DropDownArrows = true; this.toolBar1.ImageList = this.imageList1; this.toolBar1.Location = new System.Drawing.Point(0, 0); this.toolBar1.Name = "toolBar1"; this.toolBar1.ShowToolTips = true; this.toolBar1.Size = new System.Drawing.Size(792, 28); this.toolBar1.TabIndex = 0; this.toolBar1.TextAlign = System.Windows.Forms.ToolBarTextAlign.Right; this.toolBar1.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.toolBar1_ButtonClick); // // toolBarButton1 // this.toolBarButton1.ImageIndex = 0; this.toolBarButton1.Text = "Новый"; // // toolBarButton2 // this.toolBarButton2.ImageIndex = 1; this.toolBarButton2.Text = "Открыть"; // // toolBarButton4 // this.toolBarButton4.ImageIndex = 2; this.toolBarButton4.Text = "Удалить"; // // toolBarButton3 // this.toolBarButton3.ImageIndex = 2; this.toolBarButton3.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // toolBarButton5 // this.toolBarButton5.ImageIndex = 3; this.toolBarButton5.Text = "Обновить"; // // toolBarButton6 // this.toolBarButton6.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // toolBarButton7 // this.toolBarButton7.ImageIndex = 5; this.toolBarButton7.Text = "Выбрать"; // // toolBarButton8 // this.toolBarButton8.ImageIndex = 6; this.toolBarButton8.Text = "Сбросить"; // // toolBarButton9 // this.toolBarButton9.ImageIndex = 7; this.toolBarButton9.Text = "Очистить"; // // panel3 // this.panel3.Controls.Add(this.dataGrid1); this.panel3.Controls.Add(this.panel1); this.panel3.Dock = System.Windows.Forms.DockStyle.Fill; this.panel3.Location = new System.Drawing.Point(0, 66); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(792, 507); this.panel3.TabIndex = 11; // // panel1 // this.panel1.Controls.Add(this.dataGridV1); this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel1.Location = new System.Drawing.Point(0, 391); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(792, 116); this.panel1.TabIndex = 3; // // dataGridV1 // this.dataGridV1._CanEdit = false; this.dataGridV1._InvisibleColumn = 0; this.dataGridV1.CaptionBackColor = System.Drawing.SystemColors.Control; this.dataGridV1.CaptionForeColor = System.Drawing.SystemColors.WindowText; this.dataGridV1.CaptionText = "Процентные ставки"; this.dataGridV1.DataMember = ""; this.dataGridV1.DataSource = this.dvClientRate; this.dataGridV1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGridV1.Location = new System.Drawing.Point(0, 0); this.dataGridV1.Name = "dataGridV1"; this.dataGridV1.ReadOnly = true; this.dataGridV1.Size = new System.Drawing.Size(440, 116); this.dataGridV1.TabIndex = 2; this.dataGridV1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dataGridTableStyle2 }); // // dvClientRate // this.dvClientRate.AllowDelete = false; this.dvClientRate.AllowNew = false; this.dvClientRate.Table = this.dsInterestRate1.InterestRate; // // dsInterestRate1 // this.dsInterestRate1.DataSetName = "dsInterestRate"; this.dsInterestRate1.Locale = new System.Globalization.CultureInfo("en-US"); // // dataGridTableStyle2 // this.dataGridTableStyle2.DataGrid = this.dataGridV1; this.dataGridTableStyle2.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] { this.ReqType, this.ReqTypeName, this.RateNormal, this.RateBlack }); this.dataGridTableStyle2.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGridTableStyle2.MappingName = "InterestRate"; // // ReqType // this.ReqType.Alignment = System.Windows.Forms.HorizontalAlignment.Right; this.ReqType.Format = ""; this.ReqType.FormatInfo = null; this.ReqType.HeaderText = "ID"; this.ReqType.MappingName = "ReqType"; this.ReqType.Width = 40; // // ReqTypeName // this.ReqTypeName.Format = ""; this.ReqTypeName.FormatInfo = null; this.ReqTypeName.HeaderText = "Тип операции"; this.ReqTypeName.MappingName = "ReqTypeName"; this.ReqTypeName.NullText = "-"; this.ReqTypeName.Width = 200; // // RateNormal // this.RateNormal.Alignment = System.Windows.Forms.HorizontalAlignment.Right; this.RateNormal.Format = "#,##0.00"; this.RateNormal.FormatInfo = null; this.RateNormal.HeaderText = "Процент н."; this.RateNormal.MappingName = "RateNormal"; this.RateNormal.NullText = "-"; this.RateNormal.Width = 80; // // RateBlack // this.RateBlack.Alignment = System.Windows.Forms.HorizontalAlignment.Right; this.RateBlack.Format = "#,##0.00"; this.RateBlack.FormatInfo = null; this.RateBlack.HeaderText = "Процент ч."; this.RateBlack.MappingName = "RateBlack"; this.RateBlack.NullText = "-"; this.RateBlack.Width = 80; // // dvRateList // this.dvRateList.Table = this.dsInterestRateList1.InterestRates; // // dsInterestRateList1 // this.dsInterestRateList1.DataSetName = "dsInterestRateList"; this.dsInterestRateList1.Locale = new System.Globalization.CultureInfo("ru-RU"); // // dsReqTypes1 // this.dsReqTypes1.DataSetName = "dsReqTypes"; this.dsReqTypes1.Locale = new System.Globalization.CultureInfo("ru-RU"); // // mainMenu1 // this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.mnuEdit }); // // mnuEdit // this.mnuEdit.Index = 0; this.mnuEdit.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItem2, this.menuItem3, this.menuItem4, this.menuItem5, this.menuItem6, this.menuItem7, this.menuItem8, this.menuItem9, this.menuItem10 }); this.mnuEdit.Text = "Редактирование"; // // menuItem2 // this.menuItem2.Index = 0; this.menuItem2.Shortcut = System.Windows.Forms.Shortcut.F3; this.menuItem2.Text = "Новый"; this.menuItem2.Click += new System.EventHandler(this.menuItem2_Click); // // menuItem3 // this.menuItem3.Index = 1; this.menuItem3.Shortcut = System.Windows.Forms.Shortcut.F10; this.menuItem3.Text = "Изменить"; this.menuItem3.Click += new System.EventHandler(this.menuItem3_Click); // // menuItem4 // this.menuItem4.Index = 2; this.menuItem4.Shortcut = System.Windows.Forms.Shortcut.CtrlDel; this.menuItem4.Text = "Удалить"; this.menuItem4.Click += new System.EventHandler(this.menuItem4_Click); // // menuItem5 // this.menuItem5.Index = 3; this.menuItem5.Text = "-"; // // menuItem6 // this.menuItem6.Index = 4; this.menuItem6.Shortcut = System.Windows.Forms.Shortcut.F5; this.menuItem6.Text = "Обновить"; this.menuItem6.Click += new System.EventHandler(this.menuItem6_Click); // // menuItem7 // this.menuItem7.Index = 5; this.menuItem7.Text = "-"; // // menuItem8 // this.menuItem8.Index = 6; this.menuItem8.Text = "Выбрать"; this.menuItem8.Click += new System.EventHandler(this.menuItem8_Click); // // menuItem9 // this.menuItem9.Index = 7; this.menuItem9.Text = "Сбросить"; this.menuItem9.Click += new System.EventHandler(this.menuItem9_Click); // // menuItem10 // this.menuItem10.Index = 8; this.menuItem10.Text = "Очистить"; this.menuItem10.Click += new System.EventHandler(this.menuItem10_Click); // // dsOrgsClients1 // this.dsOrgsClients1.DataSetName = "dsOrgsClients"; this.dsOrgsClients1.Locale = new System.Globalization.CultureInfo("ru-RU"); // // ClientView // this.AutoScaleBaseSize = new System.Drawing.Size(5, 14); this.ClientSize = new System.Drawing.Size(792, 573); this.Controls.Add(this.panel3); this.Controls.Add(this.panel2); this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Menu = this.mainMenu1; this.Name = "ClientView"; this.Text = "Клиенты"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.MdiChildActivate += new System.EventHandler(this.ClientView_MdiChildActivate); this.Load += new System.EventHandler(this.ClientView_Load); ((System.ComponentModel.ISupportInitialize)(this.dsClients1)).EndInit(); this.groupBox1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dataView1)).EndInit(); this.panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.dvGroups)).EndInit(); this.panel3.ResumeLayout(false); this.panel1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.dataGridV1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dvClientRate)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dsInterestRate1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dvRateList)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dsInterestRateList1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dsReqTypes1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dsOrgsClients1)).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.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(AcountStates_Our)); System.Configuration.AppSettingsReader configurationAppSettings = new System.Configuration.AppSettingsReader(); this.panel3 = new System.Windows.Forms.Panel(); this.dataGrid1 = new AM_Controls.DataGridV(); this.dataView1 = new System.Data.DataView(); this.dsClientsBalances1 = new BPS._Forms.dsClientsBalances(); this.dataGridTableStyle1 = new System.Windows.Forms.DataGridTableStyle(); this.ColumnAccountID = new System.Windows.Forms.DataGridTextBoxColumn(); this.ColumnClientName = new System.Windows.Forms.DataGridTextBoxColumn(); this.ColumnTypeName = new System.Windows.Forms.DataGridTextBoxColumn(); this.ColumnSaldo = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn1 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn2 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn3 = new System.Windows.Forms.DataGridTextBoxColumn(); this.ColumnCurrencyID = new System.Windows.Forms.DataGridTextBoxColumn(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.toolBar1 = new System.Windows.Forms.ToolBar(); this.tbbStore = new System.Windows.Forms.ToolBarButton(); this.toolBarButton1 = new System.Windows.Forms.ToolBarButton(); this.tbbRefresh = new System.Windows.Forms.ToolBarButton(); this.toolBarButton7 = new System.Windows.Forms.ToolBarButton(); this.tbbApply = new System.Windows.Forms.ToolBarButton(); this.tbbReset = new System.Windows.Forms.ToolBarButton(); this.tbbClear = new System.Windows.Forms.ToolBarButton(); this.imageList1 = new System.Windows.Forms.ImageList(this.components); this.sqlDataAdapter1 = new System.Data.SqlClient.SqlDataAdapter(); this.sqlSelectCommand1 = new System.Data.SqlClient.SqlCommand(); this.sqlConnection1 = new System.Data.SqlClient.SqlConnection(); this.mainMenu1 = new System.Windows.Forms.MainMenu(); this.menuItem1 = new System.Windows.Forms.MenuItem(); this.mnuRefresh = new System.Windows.Forms.MenuItem(); this.daSetSaldo = new System.Data.SqlClient.SqlDataAdapter(); this.sqlUpdateCommand1 = new System.Data.SqlClient.SqlCommand(); this.panel3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dataView1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dsClientsBalances1)).BeginInit(); this.SuspendLayout(); // // panel3 // this.panel3.Controls.Add(this.dataGrid1); this.panel3.Controls.Add(this.groupBox1); this.panel3.Controls.Add(this.toolBar1); this.panel3.Dock = System.Windows.Forms.DockStyle.Fill; this.panel3.Location = new System.Drawing.Point(0, 0); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(744, 481); this.panel3.TabIndex = 2; // // dataGrid1 // this.dataGrid1._CanEdit = false; this.dataGrid1._InvisibleColumn = 0; this.dataGrid1.CaptionVisible = false; this.dataGrid1.DataMember = ""; this.dataGrid1.DataSource = this.dataView1; this.dataGrid1.Dock = System.Windows.Forms.DockStyle.Fill; this.dataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGrid1.Location = new System.Drawing.Point(0, 67); this.dataGrid1.Name = "dataGrid1"; this.dataGrid1.Size = new System.Drawing.Size(744, 414); this.dataGrid1.TabIndex = 0; this.dataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dataGridTableStyle1 }); // // dataView1 // this.dataView1.AllowDelete = false; this.dataView1.AllowNew = false; this.dataView1.RowFilter = "Saldo<>0 OR SumReserved<>0 OR AccountTypeID=3 OR SumWaited<>0"; this.dataView1.Sort = "ClientID,AccountTypeID,CurrencyID"; this.dataView1.Table = this.dsClientsBalances1.Accounts; // // dsClientsBalances1 // this.dsClientsBalances1.DataSetName = "dsClientsBalances"; this.dsClientsBalances1.Locale = new System.Globalization.CultureInfo("ru-RU"); // // dataGridTableStyle1 // this.dataGridTableStyle1.DataGrid = this.dataGrid1; this.dataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] { this.ColumnAccountID, this.ColumnClientName, this.ColumnTypeName, this.ColumnSaldo, this.dataGridTextBoxColumn1, this.dataGridTextBoxColumn2, this.dataGridTextBoxColumn3, this.ColumnCurrencyID }); this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGridTableStyle1.MappingName = "Accounts"; // // ColumnAccountID // this.ColumnAccountID.Format = "00000"; this.ColumnAccountID.FormatInfo = null; this.ColumnAccountID.HeaderText = "ID"; this.ColumnAccountID.MappingName = "AccountID"; this.ColumnAccountID.ReadOnly = true; this.ColumnAccountID.Width = 40; // // ColumnClientName // this.ColumnClientName.Format = ""; this.ColumnClientName.FormatInfo = null; this.ColumnClientName.HeaderText = "Владелец"; this.ColumnClientName.MappingName = "ClientName"; this.ColumnClientName.NullText = "-"; this.ColumnClientName.Width = 75; // // ColumnTypeName // this.ColumnTypeName.Format = ""; this.ColumnTypeName.FormatInfo = null; this.ColumnTypeName.HeaderText = "Тип Счёта"; this.ColumnTypeName.MappingName = "TypeName"; this.ColumnTypeName.ReadOnly = true; this.ColumnTypeName.Width = 120; // // ColumnSaldo // this.ColumnSaldo.Alignment = System.Windows.Forms.HorizontalAlignment.Right; this.ColumnSaldo.Format = "#,##0.00;;\"-\""; this.ColumnSaldo.FormatInfo = null; this.ColumnSaldo.HeaderText = "Сальдо"; this.ColumnSaldo.MappingName = "Saldo"; this.ColumnSaldo.NullText = "-"; this.ColumnSaldo.ReadOnly = true; this.ColumnSaldo.Width = 90; // // dataGridTextBoxColumn1 // this.dataGridTextBoxColumn1.Alignment = System.Windows.Forms.HorizontalAlignment.Right; this.dataGridTextBoxColumn1.Format = "#,##0.00;;\"-\""; this.dataGridTextBoxColumn1.FormatInfo = null; this.dataGridTextBoxColumn1.HeaderText = "Зарезервировано"; this.dataGridTextBoxColumn1.MappingName = "SumReserved"; this.dataGridTextBoxColumn1.NullText = "-"; this.dataGridTextBoxColumn1.ReadOnly = true; this.dataGridTextBoxColumn1.Width = 90; // // dataGridTextBoxColumn2 // this.dataGridTextBoxColumn2.Alignment = System.Windows.Forms.HorizontalAlignment.Right; this.dataGridTextBoxColumn2.Format = "#,##0.00;;\"-\""; this.dataGridTextBoxColumn2.FormatInfo = null; this.dataGridTextBoxColumn2.HeaderText = "Ожидается"; this.dataGridTextBoxColumn2.MappingName = "SumWaited"; this.dataGridTextBoxColumn2.NullText = "-"; this.dataGridTextBoxColumn2.ReadOnly = true; this.dataGridTextBoxColumn2.Width = 90; // // dataGridTextBoxColumn3 // this.dataGridTextBoxColumn3.Alignment = System.Windows.Forms.HorizontalAlignment.Right; this.dataGridTextBoxColumn3.Format = "#,##0.00;;\"-\""; this.dataGridTextBoxColumn3.FormatInfo = null; this.dataGridTextBoxColumn3.HeaderText = "Свободно"; this.dataGridTextBoxColumn3.MappingName = "DisposableSum"; this.dataGridTextBoxColumn3.ReadOnly = true; this.dataGridTextBoxColumn3.Width = 90; // // ColumnCurrencyID // this.ColumnCurrencyID.Format = ""; this.ColumnCurrencyID.FormatInfo = null; this.ColumnCurrencyID.HeaderText = "Валюта"; this.ColumnCurrencyID.MappingName = "CurrencyID"; this.ColumnCurrencyID.ReadOnly = true; this.ColumnCurrencyID.Width = 50; // // groupBox1 // this.groupBox1.Dock = System.Windows.Forms.DockStyle.Top; this.groupBox1.Location = new System.Drawing.Point(0, 28); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(744, 39); this.groupBox1.TabIndex = 6; this.groupBox1.TabStop = false; this.groupBox1.Text = "Фильтр"; this.groupBox1.Visible = false; // // toolBar1 // this.toolBar1.Appearance = System.Windows.Forms.ToolBarAppearance.Flat; this.toolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] { this.tbbStore, this.toolBarButton1, this.tbbRefresh, this.toolBarButton7, this.tbbApply, this.tbbReset, this.tbbClear }); this.toolBar1.ButtonSize = new System.Drawing.Size(90, 22); this.toolBar1.DropDownArrows = true; this.toolBar1.ImageList = this.imageList1; this.toolBar1.Location = new System.Drawing.Point(0, 0); this.toolBar1.Name = "toolBar1"; this.toolBar1.ShowToolTips = true; this.toolBar1.Size = new System.Drawing.Size(744, 28); this.toolBar1.TabIndex = 5; this.toolBar1.TextAlign = System.Windows.Forms.ToolBarTextAlign.Right; this.toolBar1.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.toolBar1_ButtonClick); // // tbbStore // this.tbbStore.ImageIndex = 4; this.tbbStore.Text = "Сохранить"; // // toolBarButton1 // this.toolBarButton1.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // tbbRefresh // this.tbbRefresh.ImageIndex = 2; this.tbbRefresh.Text = "Обновить"; // // toolBarButton7 // this.toolBarButton7.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // tbbApply // this.tbbApply.ImageIndex = 6; this.tbbApply.Text = "Выбрать"; // // tbbReset // this.tbbReset.ImageIndex = 7; this.tbbReset.Text = "Cбросить"; // // tbbClear // this.tbbClear.ImageIndex = 5; this.tbbClear.Text = "Очистить"; // // imageList1 // this.imageList1.ImageSize = new System.Drawing.Size(16, 16); this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream"))); this.imageList1.TransparentColor = System.Drawing.Color.Transparent; // // sqlDataAdapter1 // this.sqlDataAdapter1.SelectCommand = this.sqlSelectCommand1; this.sqlDataAdapter1.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Accounts", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("ClientID", "ClientID"), new System.Data.Common.DataColumnMapping("ClientName", "ClientName"), new System.Data.Common.DataColumnMapping("AccountID", "AccountID"), new System.Data.Common.DataColumnMapping("TypeName", "TypeName"), new System.Data.Common.DataColumnMapping("CurrencyID", "CurrencyID"), new System.Data.Common.DataColumnMapping("Saldo", "Saldo"), new System.Data.Common.DataColumnMapping("AccountTypeID", "AccountTypeID"), new System.Data.Common.DataColumnMapping("SumReserved", "SumReserved"), new System.Data.Common.DataColumnMapping("SumWaited", "SumWaited"), new System.Data.Common.DataColumnMapping("DisposableSum", "DisposableSum"), new System.Data.Common.DataColumnMapping("ClientGroupName", "ClientGroupName") }) }); // // sqlSelectCommand1 // this.sqlSelectCommand1.CommandText = "[SelAccounts_Our]"; this.sqlSelectCommand1.CommandType = System.Data.CommandType.StoredProcedure; this.sqlSelectCommand1.Connection = this.sqlConnection1; this.sqlSelectCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@RETURN_VALUE", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.ReturnValue, false, ((System.Byte)(10)), ((System.Byte)(0)), "", System.Data.DataRowVersion.Current, null)); this.sqlSelectCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@AccountType", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.Input, false, ((System.Byte)(10)), ((System.Byte)(0)), "", System.Data.DataRowVersion.Current, null)); // // sqlConnection1 // this.sqlConnection1.ConnectionString = ((string)(configurationAppSettings.GetValue("ConnectionString", typeof(string)))); // // mainMenu1 // this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItem1 }); // // menuItem1 // this.menuItem1.Index = 0; this.menuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.mnuRefresh }); this.menuItem1.Text = "Вид"; // // mnuRefresh // this.mnuRefresh.Index = 0; this.mnuRefresh.MergeOrder = 1; this.mnuRefresh.Shortcut = System.Windows.Forms.Shortcut.F5; this.mnuRefresh.Text = "Обновить"; this.mnuRefresh.Click += new System.EventHandler(this.mnuRefresh_Click); // // daSetSaldo // this.daSetSaldo.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Accounts", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("AccountID", "AccountID"), new System.Data.Common.DataColumnMapping("Saldo", "Saldo") }) }); this.daSetSaldo.UpdateCommand = this.sqlUpdateCommand1; // // sqlUpdateCommand1 // this.sqlUpdateCommand1.CommandText = "[SetSaldo]"; this.sqlUpdateCommand1.CommandType = System.Data.CommandType.StoredProcedure; this.sqlUpdateCommand1.Connection = this.sqlConnection1; this.sqlUpdateCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@RETURN_VALUE", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.ReturnValue, false, ((System.Byte)(0)), ((System.Byte)(0)), "", System.Data.DataRowVersion.Current, null)); this.sqlUpdateCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Saldo", System.Data.SqlDbType.Float, 8, "Saldo")); this.sqlUpdateCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Original_AccountID", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.Input, false, ((System.Byte)(0)), ((System.Byte)(0)), "AccountID", System.Data.DataRowVersion.Original, null)); this.sqlUpdateCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Original_Saldo", System.Data.SqlDbType.Float, 8, System.Data.ParameterDirection.Input, false, ((System.Byte)(0)), ((System.Byte)(0)), "Saldo", System.Data.DataRowVersion.Original, null)); this.sqlUpdateCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@AccountID", System.Data.SqlDbType.Int, 4, "AccountID")); // // AcountStates_Our // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(744, 481); this.Controls.Add(this.panel3); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Menu = this.mainMenu1; this.Name = "AcountStates_Our"; this.Text = "Наши счета"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Closing += new System.ComponentModel.CancelEventHandler(this.AcountStates_Our_Closing); this.panel3.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dataView1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dsClientsBalances1)).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.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(OrgsList)); this.toolBar1 = new System.Windows.Forms.ToolBar(); this.toolBarButton1 = new System.Windows.Forms.ToolBarButton(); this.toolBarButton2 = new System.Windows.Forms.ToolBarButton(); this.toolBarButton4 = new System.Windows.Forms.ToolBarButton(); this.toolBarButton3 = new System.Windows.Forms.ToolBarButton(); this.toolBarButton5 = new System.Windows.Forms.ToolBarButton(); this.toolBarButton6 = new System.Windows.Forms.ToolBarButton(); this.toolBarButton7 = new System.Windows.Forms.ToolBarButton(); this.toolBarButton8 = new System.Windows.Forms.ToolBarButton(); this.toolBarButton9 = new System.Windows.Forms.ToolBarButton(); this.imageList1 = new System.Windows.Forms.ImageList(this.components); this.panel1 = new System.Windows.Forms.Panel(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.cmbClients = new System.Windows.Forms.ComboBox(); this.label2 = new System.Windows.Forms.Label(); this.cbRemoved = new System.Windows.Forms.CheckBox(); this.cbOut = new System.Windows.Forms.CheckBox(); this.cbInn = new System.Windows.Forms.CheckBox(); this.label1 = new System.Windows.Forms.Label(); this.tbName = new System.Windows.Forms.TextBox(); this.cbSpecial = new System.Windows.Forms.CheckBox(); this.panel2 = new System.Windows.Forms.Panel(); this.dataGrid1 = new AM_Controls.DataGridV(); this.contextMenu1 = new System.Windows.Forms.ContextMenu(); this.menuItem2 = new System.Windows.Forms.MenuItem(); this.menuItem3 = new System.Windows.Forms.MenuItem(); this.mnuBlock = new System.Windows.Forms.MenuItem(); this.mnuRestore = new System.Windows.Forms.MenuItem(); this.menuItem1 = new System.Windows.Forms.MenuItem(); this.menuItem4 = new System.Windows.Forms.MenuItem(); this.menuItem6 = new System.Windows.Forms.MenuItem(); this.menuItem8 = new System.Windows.Forms.MenuItem(); this.menuItem9 = new System.Windows.Forms.MenuItem(); this.dataView1 = new System.Data.DataView(); this.dsOrgs1 = new BPS.BLL.Orgs.DataSets.dsOrgs(); this.dataGridTableStyle1 = new System.Windows.Forms.DataGridTableStyle(); this.dataGridTextBoxColumn1 = new System.Windows.Forms.DataGridTextBoxColumn(); this.colIsRemoved = new System.Windows.Forms.DataGridBoolColumn(); this.dataGridBoolColumn1 = new System.Windows.Forms.DataGridBoolColumn(); this.dataGridBoolColumn2 = new System.Windows.Forms.DataGridBoolColumn(); this.dataGridBoolColumn3 = new System.Windows.Forms.DataGridBoolColumn(); this.dataGridTextBoxColumn2 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn3 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn8 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn12 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn4 = new System.Windows.Forms.DataGridTextBoxColumn(); this.ClientName = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn5 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn6 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn7 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn9 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn10 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn11 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn13 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn14 = new System.Windows.Forms.DataGridTextBoxColumn(); this.mainMenu1 = new System.Windows.Forms.MainMenu(); this.mnuEdit = new System.Windows.Forms.MenuItem(); this.dvClients = new System.Data.DataView(); this.MenuItemImageProvider1 = new AM_Controls.MenuItemImageProvider(); this.panel1.SuspendLayout(); this.groupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dataView1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dsOrgs1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dvClients)).BeginInit(); this.SuspendLayout(); // // toolBar1 // this.toolBar1.Appearance = System.Windows.Forms.ToolBarAppearance.Flat; this.toolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] { this.toolBarButton1, this.toolBarButton2, this.toolBarButton4, this.toolBarButton3, this.toolBarButton5, this.toolBarButton6, this.toolBarButton7, this.toolBarButton8, this.toolBarButton9 }); this.toolBar1.ButtonSize = new System.Drawing.Size(100, 22); this.toolBar1.DropDownArrows = true; this.toolBar1.ImageList = this.imageList1; this.toolBar1.Location = new System.Drawing.Point(0, 0); this.toolBar1.Name = "toolBar1"; this.toolBar1.ShowToolTips = true; this.toolBar1.Size = new System.Drawing.Size(738, 28); this.toolBar1.TabIndex = 0; this.toolBar1.TextAlign = System.Windows.Forms.ToolBarTextAlign.Right; this.toolBar1.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.toolBar1_ButtonClick); // // toolBarButton1 // this.toolBarButton1.ImageIndex = 2; this.toolBarButton1.Text = "Новый"; // // toolBarButton2 // this.toolBarButton2.ImageIndex = 4; this.toolBarButton2.Text = "Открыть"; // // toolBarButton4 // this.toolBarButton4.ImageIndex = 0; this.toolBarButton4.Text = "Удалить"; // // toolBarButton3 // this.toolBarButton3.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // toolBarButton5 // this.toolBarButton5.ImageIndex = 3; this.toolBarButton5.Text = "Обновить"; // // toolBarButton6 // this.toolBarButton6.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // toolBarButton7 // this.toolBarButton7.ImageIndex = 6; this.toolBarButton7.Text = "Выбрать"; // // toolBarButton8 // this.toolBarButton8.ImageIndex = 5; this.toolBarButton8.Text = "Сбросить"; // // toolBarButton9 // this.toolBarButton9.ImageIndex = 7; this.toolBarButton9.Text = "Очистить"; // // imageList1 // this.imageList1.ImageSize = new System.Drawing.Size(16, 16); this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream"))); this.imageList1.TransparentColor = System.Drawing.Color.Transparent; // // panel1 // this.panel1.Controls.Add(this.groupBox1); this.panel1.Controls.Add(this.toolBar1); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(738, 68); this.panel1.TabIndex = 4; // // groupBox1 // this.groupBox1.Controls.Add(this.cmbClients); this.groupBox1.Controls.Add(this.label2); this.groupBox1.Controls.Add(this.cbRemoved); this.groupBox1.Controls.Add(this.cbOut); this.groupBox1.Controls.Add(this.cbInn); this.groupBox1.Controls.Add(this.label1); this.groupBox1.Controls.Add(this.tbName); this.groupBox1.Controls.Add(this.cbSpecial); this.groupBox1.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox1.Location = new System.Drawing.Point(0, 28); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(738, 40); this.groupBox1.TabIndex = 4; this.groupBox1.TabStop = false; this.groupBox1.Text = "Фильтр"; // // cmbClients // this.cmbClients.Location = new System.Drawing.Point(610, 16); this.cmbClients.Name = "cmbClients"; this.cmbClients.TabIndex = 11; // // label2 // this.label2.Location = new System.Drawing.Point(562, 18); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(46, 16); this.label2.TabIndex = 10; this.label2.Text = "Клиент:"; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // cbRemoved // this.cbRemoved.Location = new System.Drawing.Point(474, 18); this.cbRemoved.Name = "cbRemoved"; this.cbRemoved.Size = new System.Drawing.Size(82, 16); this.cbRemoved.TabIndex = 9; this.cbRemoved.Text = "Удалённые"; this.cbRemoved.ThreeState = true; // // cbOut // this.cbOut.Checked = true; this.cbOut.CheckState = System.Windows.Forms.CheckState.Indeterminate; this.cbOut.Location = new System.Drawing.Point(308, 18); this.cbOut.Name = "cbOut"; this.cbOut.Size = new System.Drawing.Size(68, 16); this.cbOut.TabIndex = 2; this.cbOut.Text = "IsNormal"; this.cbOut.ThreeState = true; // // cbInn // this.cbInn.Checked = true; this.cbInn.CheckState = System.Windows.Forms.CheckState.Indeterminate; this.cbInn.Location = new System.Drawing.Point(254, 18); this.cbInn.Name = "cbInn"; this.cbInn.Size = new System.Drawing.Size(52, 16); this.cbInn.TabIndex = 1; this.cbInn.Text = "Наши"; this.cbInn.ThreeState = true; // // label1 // this.label1.Location = new System.Drawing.Point(8, 18); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(58, 20); this.label1.TabIndex = 8; this.label1.Text = "Название:"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // tbName // this.tbName.Location = new System.Drawing.Point(68, 14); this.tbName.Name = "tbName"; this.tbName.Size = new System.Drawing.Size(182, 21); this.tbName.TabIndex = 0; this.tbName.Text = ""; // // cbSpecial // this.cbSpecial.Checked = true; this.cbSpecial.CheckState = System.Windows.Forms.CheckState.Indeterminate; this.cbSpecial.Location = new System.Drawing.Point(378, 18); this.cbSpecial.Name = "cbSpecial"; this.cbSpecial.Size = new System.Drawing.Size(94, 16); this.cbSpecial.TabIndex = 2; this.cbSpecial.Text = "Специальные"; this.cbSpecial.ThreeState = true; // // panel2 // this.panel2.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel2.Location = new System.Drawing.Point(0, 443); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(738, 2); this.panel2.TabIndex = 5; // // dataGrid1 // this.dataGrid1._CanEdit = false; this.dataGrid1._InvisibleColumn = 0; this.dataGrid1.CaptionVisible = false; this.dataGrid1.ContextMenu = this.contextMenu1; this.dataGrid1.DataMember = ""; this.dataGrid1.DataSource = this.dataView1; this.dataGrid1.Dock = System.Windows.Forms.DockStyle.Fill; this.dataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGrid1.Location = new System.Drawing.Point(0, 68); this.dataGrid1.Name = "dataGrid1"; this.dataGrid1.ReadOnly = true; this.dataGrid1.Size = new System.Drawing.Size(738, 375); this.dataGrid1.TabIndex = 6; this.dataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dataGridTableStyle1 }); this.dataGrid1.DoubleClick += new System.EventHandler(this.dataGrid1_DoubleClick); // // contextMenu1 // this.contextMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItem2, this.menuItem3, this.mnuBlock, this.mnuRestore, this.menuItem1, this.menuItem4, this.menuItem6, this.menuItem8, this.menuItem9 }); // // menuItem2 // this.menuItem2.Index = 0; this.MenuItemImageProvider1.SetMenuItemImage(this.menuItem2, ((System.Drawing.Icon)(resources.GetObject("menuItem2.MenuItemImage")))); this.menuItem2.OwnerDraw = true; this.menuItem2.Shortcut = System.Windows.Forms.Shortcut.F3; this.menuItem2.Text = "Новая"; this.menuItem2.Click += new System.EventHandler(this.menuItem2_Click); // // menuItem3 // this.menuItem3.Index = 1; this.MenuItemImageProvider1.SetMenuItemImage(this.menuItem3, ((System.Drawing.Icon)(resources.GetObject("menuItem3.MenuItemImage")))); this.menuItem3.OwnerDraw = true; this.menuItem3.Shortcut = System.Windows.Forms.Shortcut.F10; this.menuItem3.Text = "Изменить"; this.menuItem3.Click += new System.EventHandler(this.menuItem3_Click); // // mnuBlock // this.mnuBlock.Index = 2; this.MenuItemImageProvider1.SetMenuItemImage(this.mnuBlock, null); this.mnuBlock.OwnerDraw = true; this.mnuBlock.Text = "Исключить"; this.mnuBlock.Click += new System.EventHandler(this.mnuBlock_Click); // // mnuRestore // this.mnuRestore.Index = 3; this.MenuItemImageProvider1.SetMenuItemImage(this.mnuRestore, null); this.mnuRestore.OwnerDraw = true; this.mnuRestore.Text = "Восстановить"; this.mnuRestore.Click += new System.EventHandler(this.mnuRestore_Click); // // menuItem1 // this.menuItem1.Index = 4; this.MenuItemImageProvider1.SetMenuItemImage(this.menuItem1, null); this.menuItem1.OwnerDraw = true; this.menuItem1.Text = "-"; // // menuItem4 // this.menuItem4.Index = 5; this.MenuItemImageProvider1.SetMenuItemImage(this.menuItem4, ((System.Drawing.Icon)(resources.GetObject("menuItem4.MenuItemImage")))); this.menuItem4.OwnerDraw = true; this.menuItem4.Shortcut = System.Windows.Forms.Shortcut.CtrlDel; this.menuItem4.Text = "Удалить"; this.menuItem4.Click += new System.EventHandler(this.menuItem4_Click); // // menuItem6 // this.menuItem6.Index = 6; this.MenuItemImageProvider1.SetMenuItemImage(this.menuItem6, null); this.menuItem6.OwnerDraw = true; this.menuItem6.Text = "-"; // // menuItem8 // this.menuItem8.Index = 7; this.MenuItemImageProvider1.SetMenuItemImage(this.menuItem8, ((System.Drawing.Icon)(resources.GetObject("menuItem8.MenuItemImage")))); this.menuItem8.OwnerDraw = true; this.menuItem8.Text = "Выбрать по фильтру"; this.menuItem8.Click += new System.EventHandler(this.menuItem8_Click); // // menuItem9 // this.menuItem9.Index = 8; this.MenuItemImageProvider1.SetMenuItemImage(this.menuItem9, ((System.Drawing.Icon)(resources.GetObject("menuItem9.MenuItemImage")))); this.menuItem9.OwnerDraw = true; this.menuItem9.Text = "Сбросить фильтр"; this.menuItem9.Click += new System.EventHandler(this.menuItem9_Click); // // dataView1 // this.dataView1.Sort = "IsInner desc,OrgName"; this.dataView1.Table = this.dsOrgs1.Orgs; // // dsOrgs1 // this.dsOrgs1.DataSetName = "dsOrgs"; this.dsOrgs1.Locale = new System.Globalization.CultureInfo("ru-RU"); // // dataGridTableStyle1 // this.dataGridTableStyle1.DataGrid = this.dataGrid1; this.dataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] { this.dataGridTextBoxColumn1, this.colIsRemoved, this.dataGridBoolColumn1, this.dataGridBoolColumn2, this.dataGridBoolColumn3, this.dataGridTextBoxColumn2, this.dataGridTextBoxColumn3, this.dataGridTextBoxColumn8, this.dataGridTextBoxColumn12, this.dataGridTextBoxColumn4, this.ClientName, this.dataGridTextBoxColumn5, this.dataGridTextBoxColumn6, this.dataGridTextBoxColumn7, this.dataGridTextBoxColumn9, this.dataGridTextBoxColumn10, this.dataGridTextBoxColumn11, this.dataGridTextBoxColumn13, this.dataGridTextBoxColumn14 }); this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGridTableStyle1.MappingName = "Orgs"; // // dataGridTextBoxColumn1 // this.dataGridTextBoxColumn1.Alignment = System.Windows.Forms.HorizontalAlignment.Right; this.dataGridTextBoxColumn1.Format = ""; this.dataGridTextBoxColumn1.FormatInfo = null; this.dataGridTextBoxColumn1.MappingName = "OrgID"; this.dataGridTextBoxColumn1.NullText = ""; this.dataGridTextBoxColumn1.Width = 30; // // colIsRemoved // this.colIsRemoved.Alignment = System.Windows.Forms.HorizontalAlignment.Center; this.colIsRemoved.FalseValue = false; this.colIsRemoved.HeaderText = "У"; this.colIsRemoved.MappingName = "IsRemoved"; this.colIsRemoved.NullValue = ((object)(resources.GetObject("colIsRemoved.NullValue"))); this.colIsRemoved.ReadOnly = true; this.colIsRemoved.TrueValue = true; this.colIsRemoved.Width = 20; // // dataGridBoolColumn1 // this.dataGridBoolColumn1.FalseValue = false; this.dataGridBoolColumn1.HeaderText = "Н"; this.dataGridBoolColumn1.MappingName = "IsInner"; this.dataGridBoolColumn1.NullText = ""; this.dataGridBoolColumn1.NullValue = ((object)(resources.GetObject("dataGridBoolColumn1.NullValue"))); this.dataGridBoolColumn1.TrueValue = true; this.dataGridBoolColumn1.Width = 20; // // dataGridBoolColumn2 // this.dataGridBoolColumn2.FalseValue = false; this.dataGridBoolColumn2.HeaderText = "B"; this.dataGridBoolColumn2.MappingName = "IsNormal"; this.dataGridBoolColumn2.NullText = ""; this.dataGridBoolColumn2.NullValue = ((object)(resources.GetObject("dataGridBoolColumn2.NullValue"))); this.dataGridBoolColumn2.TrueValue = true; this.dataGridBoolColumn2.Width = 20; // // dataGridBoolColumn3 // this.dataGridBoolColumn3.FalseValue = false; this.dataGridBoolColumn3.HeaderText = "S"; this.dataGridBoolColumn3.MappingName = "IsSpecial"; this.dataGridBoolColumn3.NullText = ""; this.dataGridBoolColumn3.NullValue = ((object)(resources.GetObject("dataGridBoolColumn3.NullValue"))); this.dataGridBoolColumn3.TrueValue = true; this.dataGridBoolColumn3.Width = 20; // // dataGridTextBoxColumn2 // this.dataGridTextBoxColumn2.Format = ""; this.dataGridTextBoxColumn2.FormatInfo = null; this.dataGridTextBoxColumn2.HeaderText = "Название"; this.dataGridTextBoxColumn2.MappingName = "OrgName"; this.dataGridTextBoxColumn2.NullText = ""; this.dataGridTextBoxColumn2.Width = 150; // // dataGridTextBoxColumn3 // this.dataGridTextBoxColumn3.Alignment = System.Windows.Forms.HorizontalAlignment.Right; this.dataGridTextBoxColumn3.Format = "0.00%"; this.dataGridTextBoxColumn3.FormatInfo = null; this.dataGridTextBoxColumn3.HeaderText = "%%"; this.dataGridTextBoxColumn3.MappingName = "DefaultServiceCharge"; this.dataGridTextBoxColumn3.NullText = ""; this.dataGridTextBoxColumn3.Width = 50; // // dataGridTextBoxColumn8 // this.dataGridTextBoxColumn8.Format = ""; this.dataGridTextBoxColumn8.FormatInfo = null; this.dataGridTextBoxColumn8.HeaderText = "Телефон1"; this.dataGridTextBoxColumn8.MappingName = "Phone1"; this.dataGridTextBoxColumn8.NullText = "-"; this.dataGridTextBoxColumn8.Width = 75; // // dataGridTextBoxColumn12 // this.dataGridTextBoxColumn12.Format = ""; this.dataGridTextBoxColumn12.FormatInfo = null; this.dataGridTextBoxColumn12.HeaderText = "Контактное лицо"; this.dataGridTextBoxColumn12.MappingName = "ContactPerson"; this.dataGridTextBoxColumn12.NullText = "-"; this.dataGridTextBoxColumn12.Width = 80; // // dataGridTextBoxColumn4 // this.dataGridTextBoxColumn4.Format = ""; this.dataGridTextBoxColumn4.FormatInfo = null; this.dataGridTextBoxColumn4.HeaderText = "ИНН"; this.dataGridTextBoxColumn4.MappingName = "CodeINN"; this.dataGridTextBoxColumn4.NullText = "-"; this.dataGridTextBoxColumn4.Width = 85; // // ClientName // this.ClientName.Format = ""; this.ClientName.FormatInfo = null; this.ClientName.HeaderText = "Клиент"; this.ClientName.MappingName = "ClientName"; this.ClientName.NullText = "-"; this.ClientName.Width = 75; // // dataGridTextBoxColumn5 // this.dataGridTextBoxColumn5.Format = ""; this.dataGridTextBoxColumn5.FormatInfo = null; this.dataGridTextBoxColumn5.HeaderText = "КПП"; this.dataGridTextBoxColumn5.MappingName = "CodeKPP"; this.dataGridTextBoxColumn5.NullText = "-"; this.dataGridTextBoxColumn5.Width = 75; // // dataGridTextBoxColumn6 // this.dataGridTextBoxColumn6.Format = ""; this.dataGridTextBoxColumn6.FormatInfo = null; this.dataGridTextBoxColumn6.HeaderText = "Юридический адрес"; this.dataGridTextBoxColumn6.MappingName = "AddrReg"; this.dataGridTextBoxColumn6.NullText = "-"; this.dataGridTextBoxColumn6.Width = 75; // // dataGridTextBoxColumn7 // this.dataGridTextBoxColumn7.Format = ""; this.dataGridTextBoxColumn7.FormatInfo = null; this.dataGridTextBoxColumn7.HeaderText = "Фактический адрес"; this.dataGridTextBoxColumn7.MappingName = "AddrFact"; this.dataGridTextBoxColumn7.NullText = "-"; this.dataGridTextBoxColumn7.Width = 75; // // dataGridTextBoxColumn9 // this.dataGridTextBoxColumn9.Format = ""; this.dataGridTextBoxColumn9.FormatInfo = null; this.dataGridTextBoxColumn9.HeaderText = "Телефон2"; this.dataGridTextBoxColumn9.MappingName = "Phone2"; this.dataGridTextBoxColumn9.NullText = "-"; this.dataGridTextBoxColumn9.Width = 75; // // dataGridTextBoxColumn10 // this.dataGridTextBoxColumn10.Format = ""; this.dataGridTextBoxColumn10.FormatInfo = null; this.dataGridTextBoxColumn10.HeaderText = "Факс1"; this.dataGridTextBoxColumn10.MappingName = "Fax1"; this.dataGridTextBoxColumn10.NullText = "-"; this.dataGridTextBoxColumn10.Width = 75; // // dataGridTextBoxColumn11 // this.dataGridTextBoxColumn11.Format = ""; this.dataGridTextBoxColumn11.FormatInfo = null; this.dataGridTextBoxColumn11.HeaderText = "Факс2"; this.dataGridTextBoxColumn11.MappingName = "Fax2"; this.dataGridTextBoxColumn11.NullText = "-"; this.dataGridTextBoxColumn11.Width = 75; // // dataGridTextBoxColumn13 // this.dataGridTextBoxColumn13.Format = ""; this.dataGridTextBoxColumn13.FormatInfo = null; this.dataGridTextBoxColumn13.HeaderText = "ОКПО"; this.dataGridTextBoxColumn13.MappingName = "OKPO"; this.dataGridTextBoxColumn13.NullText = "-"; this.dataGridTextBoxColumn13.Width = 75; // // dataGridTextBoxColumn14 // this.dataGridTextBoxColumn14.Format = ""; this.dataGridTextBoxColumn14.FormatInfo = null; this.dataGridTextBoxColumn14.HeaderText = "ОКОНХ"; this.dataGridTextBoxColumn14.MappingName = "OKONH"; this.dataGridTextBoxColumn14.NullText = "-"; this.dataGridTextBoxColumn14.Width = 75; // // mainMenu1 // this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.mnuEdit }); // // mnuEdit // this.mnuEdit.Index = 0; this.MenuItemImageProvider1.SetMenuItemImage(this.mnuEdit, null); this.mnuEdit.OwnerDraw = true; this.mnuEdit.Text = "Редактировать"; // // MenuItemImageProvider1 // this.MenuItemImageProvider1.BackColor = System.Drawing.Color.WhiteSmoke; this.MenuItemImageProvider1.Font = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(204))); this.MenuItemImageProvider1.HighliteColor = System.Drawing.Color.Lavender; this.MenuItemImageProvider1.SelectionColor = System.Drawing.Color.Lavender; this.MenuItemImageProvider1.SideColor = System.Drawing.Color.Gainsboro; // // OrgsList // this.AutoScaleBaseSize = new System.Drawing.Size(5, 14); this.ClientSize = new System.Drawing.Size(738, 445); this.Controls.Add(this.dataGrid1); this.Controls.Add(this.panel2); this.Controls.Add(this.panel1); this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Menu = this.mainMenu1; this.Name = "OrgsList"; this.Text = "Организации"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.OrgsList_Load); this.panel1.ResumeLayout(false); this.groupBox1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dataView1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dsOrgs1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dvClients)).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.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(CurrList)); this.dataGrid1 = new AM_Controls.DataGridV(); this.contextMenu1 = new System.Windows.Forms.ContextMenu(); this.dataView1 = new System.Data.DataView(); this.dsCurr1 = new BPS.BLL.Currency.DataSets.dsCurr(); this.dataGridTableStyle1 = new System.Windows.Forms.DataGridTableStyle(); this.dataGridTextBoxColumn1 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn2 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn3 = new System.Windows.Forms.DataGridTextBoxColumn(); this.toolBar1 = new System.Windows.Forms.ToolBar(); this.toolBarButton1 = new System.Windows.Forms.ToolBarButton(); this.toolBarButton2 = new System.Windows.Forms.ToolBarButton(); this.toolBarButton4 = new System.Windows.Forms.ToolBarButton(); this.toolBarButton3 = new System.Windows.Forms.ToolBarButton(); this.toolBarButton5 = new System.Windows.Forms.ToolBarButton(); this.tbbRate = new System.Windows.Forms.ToolBarButton(); this.imageList1 = new System.Windows.Forms.ImageList(this.components); this.mainMenu1 = new System.Windows.Forms.MainMenu(); this.mnuEdit = new System.Windows.Forms.MenuItem(); this.menuItem2 = new System.Windows.Forms.MenuItem(); this.menuItem3 = new System.Windows.Forms.MenuItem(); this.menuItem4 = new System.Windows.Forms.MenuItem(); this.menuItem5 = new System.Windows.Forms.MenuItem(); this.menuItem6 = new System.Windows.Forms.MenuItem(); this.menuItem1 = new System.Windows.Forms.MenuItem(); this.mnuSetCurrencyRate = new System.Windows.Forms.MenuItem(); ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dataView1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dsCurr1)).BeginInit(); this.SuspendLayout(); // // dataGrid1 // this.dataGrid1._CanEdit = false; this.dataGrid1._InvisibleColumn = 0; this.dataGrid1.CaptionVisible = false; this.dataGrid1.ContextMenu = this.contextMenu1; this.dataGrid1.DataMember = ""; this.dataGrid1.DataSource = this.dataView1; this.dataGrid1.Dock = System.Windows.Forms.DockStyle.Fill; this.dataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGrid1.Location = new System.Drawing.Point(0, 72); this.dataGrid1.Name = "dataGrid1"; this.dataGrid1.ReadOnly = true; this.dataGrid1.Size = new System.Drawing.Size(340, 175); this.dataGrid1.TabIndex = 1; this.dataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dataGridTableStyle1 }); this.dataGrid1.DoubleClick += new System.EventHandler(this.dataGrid1_DoubleClick); // // dataView1 // this.dataView1.Table = this.dsCurr1.Currencies; // // dsCurr1 // this.dsCurr1.DataSetName = "dsCurr"; this.dsCurr1.Locale = new System.Globalization.CultureInfo("ru-RU"); // // dataGridTableStyle1 // this.dataGridTableStyle1.DataGrid = this.dataGrid1; this.dataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] { this.dataGridTextBoxColumn1, this.dataGridTextBoxColumn2, this.dataGridTextBoxColumn3 }); this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGridTableStyle1.MappingName = "Currencies"; // // dataGridTextBoxColumn1 // this.dataGridTextBoxColumn1.Format = ""; this.dataGridTextBoxColumn1.FormatInfo = null; this.dataGridTextBoxColumn1.HeaderText = "Код"; this.dataGridTextBoxColumn1.MappingName = "CurrencyID"; this.dataGridTextBoxColumn1.NullText = "?"; this.dataGridTextBoxColumn1.Width = 50; // // dataGridTextBoxColumn2 // this.dataGridTextBoxColumn2.Format = ""; this.dataGridTextBoxColumn2.FormatInfo = null; this.dataGridTextBoxColumn2.HeaderText = "Название"; this.dataGridTextBoxColumn2.MappingName = "CurrencyName"; this.dataGridTextBoxColumn2.NullText = ""; this.dataGridTextBoxColumn2.Width = 150; // // dataGridTextBoxColumn3 // this.dataGridTextBoxColumn3.Format = "#,##0.00"; this.dataGridTextBoxColumn3.FormatInfo = null; this.dataGridTextBoxColumn3.HeaderText = "Курс"; this.dataGridTextBoxColumn3.MappingName = "CurrencyRate"; this.dataGridTextBoxColumn3.NullText = "-"; this.dataGridTextBoxColumn3.Width = 75; // // toolBar1 // this.toolBar1.Appearance = System.Windows.Forms.ToolBarAppearance.Flat; this.toolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] { this.toolBarButton1, this.toolBarButton2, this.toolBarButton4, this.toolBarButton3, this.toolBarButton5, this.tbbRate }); this.toolBar1.ButtonSize = new System.Drawing.Size(100, 22); this.toolBar1.DropDownArrows = true; this.toolBar1.ImageList = this.imageList1; this.toolBar1.Location = new System.Drawing.Point(0, 0); this.toolBar1.Name = "toolBar1"; this.toolBar1.ShowToolTips = true; this.toolBar1.Size = new System.Drawing.Size(340, 72); this.toolBar1.TabIndex = 0; this.toolBar1.TextAlign = System.Windows.Forms.ToolBarTextAlign.Right; this.toolBar1.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.toolBar1_ButtonClick); // // toolBarButton1 // this.toolBarButton1.ImageIndex = 3; this.toolBarButton1.Text = "Новый"; // // toolBarButton2 // this.toolBarButton2.ImageIndex = 0; this.toolBarButton2.Text = "Изменить"; // // toolBarButton4 // this.toolBarButton4.ImageIndex = 1; this.toolBarButton4.Text = "Удалить"; // // toolBarButton3 // this.toolBarButton3.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // toolBarButton5 // this.toolBarButton5.ImageIndex = 2; this.toolBarButton5.Text = "Обновить"; // // tbbRate // this.tbbRate.ImageIndex = 4; this.tbbRate.Text = "Курс"; // // imageList1 // this.imageList1.ImageSize = new System.Drawing.Size(16, 16); this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream"))); this.imageList1.TransparentColor = System.Drawing.Color.Transparent; // // mainMenu1 // this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.mnuEdit }); // // mnuEdit // this.mnuEdit.Index = 0; this.mnuEdit.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItem2, this.menuItem3, this.menuItem4, this.menuItem5, this.menuItem6, this.menuItem1, this.mnuSetCurrencyRate }); this.mnuEdit.Text = "Редактирование"; // // menuItem2 // this.menuItem2.Index = 0; this.menuItem2.Shortcut = System.Windows.Forms.Shortcut.F3; this.menuItem2.Text = "Новая"; this.menuItem2.Click += new System.EventHandler(this.menuItem2_Click); // // menuItem3 // this.menuItem3.Index = 1; this.menuItem3.Shortcut = System.Windows.Forms.Shortcut.F10; this.menuItem3.Text = "Изменить"; this.menuItem3.Click += new System.EventHandler(this.menuItem3_Click); // // menuItem4 // this.menuItem4.Index = 2; this.menuItem4.Shortcut = System.Windows.Forms.Shortcut.CtrlDel; this.menuItem4.Text = "Удалить"; this.menuItem4.Click += new System.EventHandler(this.menuItem4_Click); // // menuItem5 // this.menuItem5.Index = 3; this.menuItem5.Text = "-"; // // menuItem6 // this.menuItem6.Index = 4; this.menuItem6.Shortcut = System.Windows.Forms.Shortcut.F5; this.menuItem6.Text = "Обновить"; this.menuItem6.Click += new System.EventHandler(this.menuItem6_Click); // // menuItem1 // this.menuItem1.Index = 5; this.menuItem1.Text = "-"; // // mnuSetCurrencyRate // this.mnuSetCurrencyRate.Index = 6; this.mnuSetCurrencyRate.Text = "Изменить Курс"; this.mnuSetCurrencyRate.Click += new System.EventHandler(this.mnuSetCurrencyRate_Click); // // CurrList // this.AutoScaleBaseSize = new System.Drawing.Size(5, 14); this.ClientSize = new System.Drawing.Size(340, 247); this.Controls.Add(this.dataGrid1); this.Controls.Add(this.toolBar1); this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Menu = this.mainMenu1; this.Name = "CurrList"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "Валюты"; this.Load += new System.EventHandler(this.CurrList_Load); ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dataView1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dsCurr1)).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.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(BanksList)); this.toolBar1 = new System.Windows.Forms.ToolBar(); this.toolBarButton1 = new System.Windows.Forms.ToolBarButton(); this.toolBarButton2 = new System.Windows.Forms.ToolBarButton(); this.toolBarButton4 = new System.Windows.Forms.ToolBarButton(); this.toolBarButton3 = new System.Windows.Forms.ToolBarButton(); this.toolBarButton5 = new System.Windows.Forms.ToolBarButton(); this.toolBarButton8 = new System.Windows.Forms.ToolBarButton(); this.toolBarButton6 = new System.Windows.Forms.ToolBarButton(); this.toolBarButton7 = new System.Windows.Forms.ToolBarButton(); this.toolBarButton9 = new System.Windows.Forms.ToolBarButton(); this.imlToolBar = new System.Windows.Forms.ImageList(this.components); this.panel1 = new System.Windows.Forms.Panel(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.label2 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.tbCity = new System.Windows.Forms.TextBox(); this.tbName = new System.Windows.Forms.TextBox(); this.dataGrid1 = new AM_Controls.DataGridV(); this.contextMenu1 = new System.Windows.Forms.ContextMenu(); this.dvBanks = new System.Data.DataView(); this.dsBanks1 = new BPS.BLL.Bank.DataSets.dsBanks(); this.dataGridTableStyle1 = new System.Windows.Forms.DataGridTableStyle(); this.dataGridTextBoxColumn1 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn2 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn3 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn4 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn5 = new System.Windows.Forms.DataGridTextBoxColumn(); this.mainMenu1 = new System.Windows.Forms.MainMenu(); this.mnuEdit = new System.Windows.Forms.MenuItem(); this.menuItem1 = new System.Windows.Forms.MenuItem(); this.menuItem2 = new System.Windows.Forms.MenuItem(); this.menuItem3 = new System.Windows.Forms.MenuItem(); this.menuItem4 = new System.Windows.Forms.MenuItem(); this.menuItem5 = new System.Windows.Forms.MenuItem(); this.menuItem6 = new System.Windows.Forms.MenuItem(); this.menuItem7 = new System.Windows.Forms.MenuItem(); this.menuItem8 = new System.Windows.Forms.MenuItem(); this.menuItem9 = new System.Windows.Forms.MenuItem(); this.dvCities = new System.Data.DataView(); this.panel1.SuspendLayout(); this.groupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dvBanks)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dsBanks1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dvCities)).BeginInit(); this.SuspendLayout(); // // toolBar1 // this.toolBar1.Appearance = System.Windows.Forms.ToolBarAppearance.Flat; this.toolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] { this.toolBarButton1, this.toolBarButton2, this.toolBarButton4, this.toolBarButton3, this.toolBarButton5, this.toolBarButton8, this.toolBarButton6, this.toolBarButton7, this.toolBarButton9 }); this.toolBar1.ButtonSize = new System.Drawing.Size(100, 22); this.toolBar1.DropDownArrows = true; this.toolBar1.ImageList = this.imlToolBar; this.toolBar1.Location = new System.Drawing.Point(0, 0); this.toolBar1.Name = "toolBar1"; this.toolBar1.ShowToolTips = true; this.toolBar1.Size = new System.Drawing.Size(598, 28); this.toolBar1.TabIndex = 0; this.toolBar1.TextAlign = System.Windows.Forms.ToolBarTextAlign.Right; this.toolBar1.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.toolBar1_ButtonClick); // // toolBarButton1 // this.toolBarButton1.ImageIndex = 0; this.toolBarButton1.Text = "Новый"; // // toolBarButton2 // this.toolBarButton2.ImageIndex = 1; this.toolBarButton2.Text = "Открыть"; // // toolBarButton4 // this.toolBarButton4.ImageIndex = 2; this.toolBarButton4.Text = "Удалить"; // // toolBarButton3 // this.toolBarButton3.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // toolBarButton5 // this.toolBarButton5.ImageIndex = 6; this.toolBarButton5.Text = "Обновить"; // // toolBarButton8 // this.toolBarButton8.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // toolBarButton6 // this.toolBarButton6.ImageIndex = 4; this.toolBarButton6.Text = "Выбрать"; // // toolBarButton7 // this.toolBarButton7.ImageIndex = 5; this.toolBarButton7.Text = "Сбросить"; // // toolBarButton9 // this.toolBarButton9.ImageIndex = 9; this.toolBarButton9.Text = "Очистить"; // // imlToolBar // this.imlToolBar.ImageSize = new System.Drawing.Size(16, 16); this.imlToolBar.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imlToolBar.ImageStream"))); this.imlToolBar.TransparentColor = System.Drawing.Color.Transparent; // // panel1 // this.panel1.Controls.Add(this.groupBox1); this.panel1.Controls.Add(this.toolBar1); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(598, 70); this.panel1.TabIndex = 2; // // groupBox1 // this.groupBox1.Controls.Add(this.label2); this.groupBox1.Controls.Add(this.label1); this.groupBox1.Controls.Add(this.tbCity); this.groupBox1.Controls.Add(this.tbName); this.groupBox1.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox1.Location = new System.Drawing.Point(0, 28); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(598, 42); this.groupBox1.TabIndex = 1; this.groupBox1.TabStop = false; this.groupBox1.Text = "Фильтр"; // // label2 // this.label2.Location = new System.Drawing.Point(230, 14); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(46, 23); this.label2.TabIndex = 11; this.label2.Text = "Город:"; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // label1 // this.label1.Location = new System.Drawing.Point(14, 14); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(62, 23); this.label1.TabIndex = 10; this.label1.Text = "Название:"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // tbCity // this.tbCity.Location = new System.Drawing.Point(276, 16); this.tbCity.Name = "tbCity"; this.tbCity.Size = new System.Drawing.Size(136, 21); this.tbCity.TabIndex = 1; this.tbCity.Text = ""; // // tbName // this.tbName.Location = new System.Drawing.Point(80, 16); this.tbName.Name = "tbName"; this.tbName.Size = new System.Drawing.Size(118, 21); this.tbName.TabIndex = 0; this.tbName.Text = ""; // // dataGrid1 // this.dataGrid1._CanEdit = false; this.dataGrid1._InvisibleColumn = 0; this.dataGrid1.CaptionVisible = false; this.dataGrid1.ContextMenu = this.contextMenu1; this.dataGrid1.DataMember = ""; this.dataGrid1.DataSource = this.dvBanks; this.dataGrid1.Dock = System.Windows.Forms.DockStyle.Fill; this.dataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGrid1.Location = new System.Drawing.Point(0, 70); this.dataGrid1.Name = "dataGrid1"; this.dataGrid1.ReadOnly = true; this.dataGrid1.Size = new System.Drawing.Size(598, 335); this.dataGrid1.TabIndex = 2; this.dataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dataGridTableStyle1 }); this.dataGrid1.DoubleClick += new System.EventHandler(this.dataGrid1_DoubleClick); // // dvBanks // this.dvBanks.Table = this.dsBanks1.Banks; // // dsBanks1 // this.dsBanks1.DataSetName = "dsBanks"; this.dsBanks1.Locale = new System.Globalization.CultureInfo("ru-RU"); // // dataGridTableStyle1 // this.dataGridTableStyle1.DataGrid = this.dataGrid1; this.dataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] { this.dataGridTextBoxColumn1, this.dataGridTextBoxColumn2, this.dataGridTextBoxColumn3, this.dataGridTextBoxColumn4, this.dataGridTextBoxColumn5 }); this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGridTableStyle1.MappingName = "Banks"; // // dataGridTextBoxColumn1 // this.dataGridTextBoxColumn1.Alignment = System.Windows.Forms.HorizontalAlignment.Right; this.dataGridTextBoxColumn1.Format = ""; this.dataGridTextBoxColumn1.FormatInfo = null; this.dataGridTextBoxColumn1.MappingName = "BankID"; this.dataGridTextBoxColumn1.NullText = ""; this.dataGridTextBoxColumn1.Width = 30; // // dataGridTextBoxColumn2 // this.dataGridTextBoxColumn2.Format = ""; this.dataGridTextBoxColumn2.FormatInfo = null; this.dataGridTextBoxColumn2.HeaderText = "Название"; this.dataGridTextBoxColumn2.MappingName = "BankName"; this.dataGridTextBoxColumn2.NullText = ""; this.dataGridTextBoxColumn2.Width = 150; // // dataGridTextBoxColumn3 // this.dataGridTextBoxColumn3.Format = ""; this.dataGridTextBoxColumn3.FormatInfo = null; this.dataGridTextBoxColumn3.HeaderText = "Город"; this.dataGridTextBoxColumn3.MappingName = "CityName"; this.dataGridTextBoxColumn3.NullText = ""; this.dataGridTextBoxColumn3.Width = 110; // // dataGridTextBoxColumn4 // this.dataGridTextBoxColumn4.Format = ""; this.dataGridTextBoxColumn4.FormatInfo = null; this.dataGridTextBoxColumn4.HeaderText = "БИК"; this.dataGridTextBoxColumn4.MappingName = "CodeBIK"; this.dataGridTextBoxColumn4.NullText = ""; this.dataGridTextBoxColumn4.Width = 101; // // dataGridTextBoxColumn5 // this.dataGridTextBoxColumn5.Format = ""; this.dataGridTextBoxColumn5.FormatInfo = null; this.dataGridTextBoxColumn5.HeaderText = "Кор. счёт"; this.dataGridTextBoxColumn5.MappingName = "KAccount"; this.dataGridTextBoxColumn5.NullText = ""; this.dataGridTextBoxColumn5.Width = 150; // // mainMenu1 // this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.mnuEdit }); // // mnuEdit // this.mnuEdit.Index = 0; this.mnuEdit.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItem1, this.menuItem2, this.menuItem3, this.menuItem4, this.menuItem5, this.menuItem6, this.menuItem7, this.menuItem8, this.menuItem9 }); this.mnuEdit.Text = "Редактирование"; // // menuItem1 // this.menuItem1.Index = 0; this.menuItem1.Shortcut = System.Windows.Forms.Shortcut.F3; this.menuItem1.Text = "Новый"; this.menuItem1.Click += new System.EventHandler(this.menuItem1_Click); // // menuItem2 // this.menuItem2.Index = 1; this.menuItem2.Shortcut = System.Windows.Forms.Shortcut.F10; this.menuItem2.Text = "Изменить"; this.menuItem2.Click += new System.EventHandler(this.menuItem2_Click); // // menuItem3 // this.menuItem3.Index = 2; this.menuItem3.Shortcut = System.Windows.Forms.Shortcut.CtrlDel; this.menuItem3.Text = "Удалить"; this.menuItem3.Click += new System.EventHandler(this.menuItem3_Click); // // menuItem4 // this.menuItem4.Index = 3; this.menuItem4.Text = "-"; // // menuItem5 // this.menuItem5.Index = 4; this.menuItem5.Shortcut = System.Windows.Forms.Shortcut.F5; this.menuItem5.Text = "Обновить"; this.menuItem5.Click += new System.EventHandler(this.menuItem5_Click); // // menuItem6 // this.menuItem6.Index = 5; this.menuItem6.Text = "-"; // // menuItem7 // this.menuItem7.Index = 6; this.menuItem7.Text = "Выбрать"; this.menuItem7.Click += new System.EventHandler(this.menuItem7_Click); // // menuItem8 // this.menuItem8.Index = 7; this.menuItem8.Text = "Сбросить"; this.menuItem8.Click += new System.EventHandler(this.menuItem8_Click); // // menuItem9 // this.menuItem9.Index = 8; this.menuItem9.Text = "Очистить"; this.menuItem9.Click += new System.EventHandler(this.menuItem9_Click); // // BanksList // this.AutoScaleBaseSize = new System.Drawing.Size(5, 14); this.ClientSize = new System.Drawing.Size(598, 405); this.Controls.Add(this.dataGrid1); this.Controls.Add(this.panel1); this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Menu = this.mainMenu1; this.Name = "BanksList"; this.Text = "Банки"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.BanksList_Load); this.panel1.ResumeLayout(false); this.groupBox1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dvBanks)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dsBanks1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dvCities)).EndInit(); this.ResumeLayout(false); }