コード例 #1
0
 public AccountOperationJournalChangeTypeForm(GroupOperation groupOperation)
     : this()
 {
     this.sfdViewOp.Faset = FasetsEnum.PaymentAgentType;
     this.sfdViewOp.RefreshValuesWithNull();
     this.sfdViewOp.SelectedFasetItem = groupOperation.GetSubType();
     this.m_groupOperation = groupOperation;
 }
コード例 #2
0
 public AccountOperationJournalChangeForm(GroupOperation gro)
     : this()
 {
     this.m_GroupOperation = gro;
     if (((this.m_GroupOperation != null) && (this.m_GroupOperation != GroupOperation.Null)) && (this.m_GroupOperation.DocId != 0L))
     {
         this.selectOrgDocument.SelectedOrgDocument = OrgDocument.FindById(gro.DocId);
     }
 }
コード例 #3
0
 public PenaltyTransferForm(GroupOperation sourceGroupOperation, OrgDocument doc)
 {
     this.InitializeComponent();
     this.btnTransfer.set_Enabled(true);
     if ((sourceGroupOperation == null) || (sourceGroupOperation == GroupOperation.Null))
     {
         Messages.ShowError("Ошибка: не задана групповая операция - источник!");
         base.set_DialogResult(System.Windows.Forms.DialogResult.Abort);
         base.Close();
     }
     else
     {
         this.m_SourceGroupOperation = sourceGroupOperation;
         this.bsJn.set_DataSource(this.m_SourceGroupOperation.GetJnPenaltyServices());
         this.UpdateTotalSummView();
         if ((doc != null) && (doc != OrgDocument.Null))
         {
             this.selectOrgDocument.SelectedOrgDocument = doc;
         }
     }
 }
コード例 #4
0
 public AccountOperationJournalChangeForm()
 {
     this.m_GroupOperation = GroupOperation.Null;
     this.InitializeComponent();
     this.set_Font(Manager.WindowFont);
 }
コード例 #5
0
ファイル: JnOperationsView.cs プロジェクト: u4097/SQLScript
 private void UpdateGroupOperation(GroupOperation groupOperation)
 {
     this.accountServiceJournalView.GroupOperation = this.m_GroupOperation = groupOperation;
     this.RefreshTabcontrol();
 }
コード例 #6
0
ファイル: JnOperationsView.cs プロジェクト: u4097/SQLScript
 private void InitializeComponent()
 {
     GroupOperation operation = new GroupOperation();
     this.splitContainer1 = new System.Windows.Forms.SplitContainer();
     this.panel1 = new System.Windows.Forms.Panel();
     this.chbxLoadSumm = new System.Windows.Forms.CheckBox();
     this.label5 = new System.Windows.Forms.Label();
     this.label4 = new System.Windows.Forms.Label();
     this.label1 = new System.Windows.Forms.Label();
     this.btnSelect = new System.Windows.Forms.Button();
     this.label3 = new System.Windows.Forms.Label();
     this.label2 = new System.Windows.Forms.Label();
     this.m_Tabs = new System.Windows.Forms.TabControl();
     this.tpAccountServicesJn = new System.Windows.Forms.TabPage();
     this.m_WorkerFind = new BackgroundWorker();
     this.groupOperationsView = new GroupOperationsView();
     this.dateTimePeriod = new DateTimePeriod();
     this.selAccount = new SelectAccount();
     this.selectAgentType = new SelectFasetData();
     this.selTypeRecalc = new SelectFasetData();
     this.selTypeOperations = new SelectFasetData();
     this.accountServiceJournalView = new AccountServiceJournalView();
     this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn9 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn10 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn11 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn12 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn14 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn15 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn16 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn17 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn18 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn19 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn20 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn21 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn22 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn23 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn24 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn25 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn26 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.splitContainer1.Panel1.SuspendLayout();
     this.splitContainer1.Panel2.SuspendLayout();
     this.splitContainer1.SuspendLayout();
     this.panel1.SuspendLayout();
     this.m_Tabs.SuspendLayout();
     this.tpAccountServicesJn.SuspendLayout();
     base.SuspendLayout();
     this.splitContainer1.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.splitContainer1.set_Location(new System.Drawing.Point(0, 0));
     this.splitContainer1.set_Name("splitContainer1");
     this.splitContainer1.set_Orientation(System.Windows.Forms.Orientation.Horizontal);
     this.splitContainer1.Panel1.set_AutoScroll(true);
     this.splitContainer1.Panel1.Controls.Add(this.groupOperationsView);
     this.splitContainer1.Panel1.Controls.Add(this.panel1);
     this.splitContainer1.Panel2.Controls.Add(this.m_Tabs);
     this.splitContainer1.set_Size(new System.Drawing.Size(0x399, 0x1e5));
     this.splitContainer1.set_SplitterDistance(0xdf);
     this.splitContainer1.set_TabIndex(0);
     this.panel1.Controls.Add(this.chbxLoadSumm);
     this.panel1.Controls.Add(this.dateTimePeriod);
     this.panel1.Controls.Add(this.selAccount);
     this.panel1.Controls.Add(this.label5);
     this.panel1.Controls.Add(this.label4);
     this.panel1.Controls.Add(this.selectAgentType);
     this.panel1.Controls.Add(this.label1);
     this.panel1.Controls.Add(this.selTypeRecalc);
     this.panel1.Controls.Add(this.selTypeOperations);
     this.panel1.Controls.Add(this.btnSelect);
     this.panel1.Controls.Add(this.label3);
     this.panel1.Controls.Add(this.label2);
     this.panel1.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.panel1.set_Location(new System.Drawing.Point(0, 0));
     this.panel1.set_Name("panel1");
     this.panel1.set_Size(new System.Drawing.Size(0x399, 0x49));
     this.panel1.set_TabIndex(0);
     this.chbxLoadSumm.set_AutoSize(true);
     this.chbxLoadSumm.set_Location(new System.Drawing.Point(0x298, 0x26));
     this.chbxLoadSumm.set_Name("chbxLoadSumm");
     this.chbxLoadSumm.set_Size(new System.Drawing.Size(0x76, 0x11));
     this.chbxLoadSumm.set_TabIndex(11);
     this.chbxLoadSumm.set_Text("Загружать суммы");
     this.chbxLoadSumm.set_UseVisualStyleBackColor(true);
     this.label5.set_AutoSize(true);
     this.label5.set_Location(new System.Drawing.Point(4, 0x25));
     this.label5.set_Name("label5");
     this.label5.set_Size(new System.Drawing.Size(0x4c, 13));
     this.label5.set_TabIndex(8);
     this.label5.set_Text("Лицевой счет");
     this.label4.set_AutoSize(true);
     this.label4.set_Location(new System.Drawing.Point(0x181, 0x25));
     this.label4.set_Name("label4");
     this.label4.set_Size(new System.Drawing.Size(130, 13));
     this.label4.set_TabIndex(7);
     this.label4.set_Text("Тип агента (для оплаты)");
     this.label1.set_AutoSize(true);
     this.label1.set_Location(new System.Drawing.Point(0x295, 11));
     this.label1.set_Name("label1");
     this.label1.set_Size(new System.Drawing.Size(50, 13));
     this.label1.set_TabIndex(5);
     this.label1.set_Text("Причина");
     this.btnSelect.set_ImageAlign(System.Drawing.ContentAlignment.MiddleRight);
     this.btnSelect.set_Location(new System.Drawing.Point(850, 6));
     this.btnSelect.set_Name("btnSelect");
     this.btnSelect.set_Size(new System.Drawing.Size(0x40, 0x17));
     this.btnSelect.set_TabIndex(3);
     this.btnSelect.set_Text("Выбрать");
     this.btnSelect.set_TextAlign(System.Drawing.ContentAlignment.MiddleLeft);
     this.btnSelect.set_UseVisualStyleBackColor(true);
     this.btnSelect.add_Click(new System.EventHandler(this.btnSelect_Click));
     this.label3.set_AutoSize(true);
     this.label3.set_Location(new System.Drawing.Point(3, 10));
     this.label3.set_Name("label3");
     this.label3.set_Size(new System.Drawing.Size(0x2d, 13));
     this.label3.set_TabIndex(3);
     this.label3.set_Text("Период");
     this.label2.set_AutoSize(true);
     this.label2.set_Location(new System.Drawing.Point(0x183, 11));
     this.label2.set_Name("label2");
     this.label2.set_Size(new System.Drawing.Size(0x4d, 13));
     this.label2.set_TabIndex(1);
     this.label2.set_Text("Вид операции");
     this.m_Tabs.Controls.Add(this.tpAccountServicesJn);
     this.m_Tabs.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.m_Tabs.set_Location(new System.Drawing.Point(0, 0));
     this.m_Tabs.set_Name("m_Tabs");
     this.m_Tabs.set_SelectedIndex(0);
     this.m_Tabs.set_Size(new System.Drawing.Size(0x399, 0x102));
     this.m_Tabs.set_TabIndex(2);
     this.m_Tabs.add_SelectedIndexChanged(new System.EventHandler(this.m_Tabs_SelectedIndexChanged));
     this.tpAccountServicesJn.Controls.Add(this.accountServiceJournalView);
     this.tpAccountServicesJn.set_Location(new System.Drawing.Point(4, 0x16));
     this.tpAccountServicesJn.set_Name("tpAccountServicesJn");
     this.tpAccountServicesJn.set_Padding(new System.Windows.Forms.Padding(3));
     this.tpAccountServicesJn.set_Size(new System.Drawing.Size(0x391, 0xe8));
     this.tpAccountServicesJn.set_TabIndex(0);
     this.tpAccountServicesJn.set_Text("Журнал операций по услугам ЛС");
     this.tpAccountServicesJn.set_UseVisualStyleBackColor(true);
     this.m_WorkerFind.add_DoWork(new DoWorkEventHandler(this.m_WorkerFind_DoWork));
     this.m_WorkerFind.add_RunWorkerCompleted(new RunWorkerCompletedEventHandler(this.m_WorkerFind_RunWorkerCompleted));
     this.groupOperationsView.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.groupOperationsView.set_Location(new System.Drawing.Point(0, 0x49));
     this.groupOperationsView.set_Margin(new System.Windows.Forms.Padding(3, 4, 3, 4));
     this.groupOperationsView.set_Name("groupOperationsView");
     this.groupOperationsView.set_Size(new System.Drawing.Size(0x399, 150));
     this.groupOperationsView.set_TabIndex(1);
     this.dateTimePeriod.set_Location(new System.Drawing.Point(0x37, 4));
     this.dateTimePeriod.set_Margin(new System.Windows.Forms.Padding(4));
     this.dateTimePeriod.set_MaximumSize(new System.Drawing.Size(400, 0x1c));
     this.dateTimePeriod.set_MinimumSize(new System.Drawing.Size(0x144, 0x18));
     this.dateTimePeriod.set_Name("dateTimePeriod");
     this.dateTimePeriod.set_Size(new System.Drawing.Size(0x144, 0x18));
     this.dateTimePeriod.set_TabIndex(10);
     this.dateTimePeriod.TimeBeginReadOnly = false;
     this.dateTimePeriod.TimeEndReadonly = false;
     this.selAccount.set_Location(new System.Drawing.Point(0x52, 0x22));
     this.selAccount.set_Name("selAccount");
     this.selAccount.set_Size(new System.Drawing.Size(0x129, 20));
     this.selAccount.set_TabIndex(9);
     this.selectAgentType.set_AutoCompleteMode(System.Windows.Forms.AutoCompleteMode.SuggestAppend);
     this.selectAgentType.set_AutoCompleteSource(System.Windows.Forms.AutoCompleteSource.ListItems);
     this.selectAgentType.set_FormattingEnabled(true);
     this.selectAgentType.set_Location(new System.Drawing.Point(0x20b, 0x22));
     this.selectAgentType.set_Name("selectAgentType");
     this.selectAgentType.set_Size(new System.Drawing.Size(0x84, 0x15));
     this.selectAgentType.set_Sorted(true);
     this.selectAgentType.set_TabIndex(6);
     this.selTypeRecalc.set_AutoCompleteMode(System.Windows.Forms.AutoCompleteMode.SuggestAppend);
     this.selTypeRecalc.set_AutoCompleteSource(System.Windows.Forms.AutoCompleteSource.ListItems);
     this.selTypeRecalc.set_FormattingEnabled(true);
     this.selTypeRecalc.set_Location(new System.Drawing.Point(0x2c8, 8));
     this.selTypeRecalc.set_Name("selTypeRecalc");
     this.selTypeRecalc.set_Size(new System.Drawing.Size(0x84, 0x15));
     this.selTypeRecalc.set_Sorted(true);
     this.selTypeRecalc.set_TabIndex(4);
     this.selTypeOperations.set_FormattingEnabled(true);
     this.selTypeOperations.set_Location(new System.Drawing.Point(0x20b, 8));
     this.selTypeOperations.set_Name("selTypeOperations");
     this.selTypeOperations.set_Size(new System.Drawing.Size(130, 0x15));
     this.selTypeOperations.set_Sorted(true);
     this.selTypeOperations.set_TabIndex(2);
     this.selTypeOperations.add_SelectedIndexChanged(new System.EventHandler(this.selTypeOperations_SelectedIndexChanged));
     this.accountServiceJournalView.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.accountServiceJournalView.set_Font(new System.Drawing.Font("Tahoma", 9.75f));
     operation.AccountId = 0L;
     operation.AccountsCount = 0;
     operation.CalcId = 0L;
     operation.Comment = null;
     operation.Created = new System.DateTime(0L);
     operation.Dateb = new System.DateTime(0L);
     operation.Datec = new System.DateTime(0L);
     operation.Datee = new System.DateTime(0L);
     operation.DocDate = new System.DateTime(0L);
     operation.DocId = 0L;
     operation.DocName = null;
     operation.DocNumber = null;
     operation.FromDate = new System.DateTime(0L);
     operation.Id = 0L;
     operation.IncomingTransferDate = new System.DateTime(0L);
     operation.IncomingTransferNumber = null;
     operation.IncomingTransferPack = null;
     operation.IsDeleted = false;
     operation.IsDirty = true;
     operation.LoginName = null;
     operation.ObjectWithIdType = null;
     operation.OldId = 0L;
     operation.OperatorName = null;
     operation.OrgCode = 0;
     operation.OrgDocument = null;
     operation.OrgDocumentId = 0L;
     operation.OrgDocumentView = null;
     operation.OrgName = null;
     operation.PaymentAgentId = 0L;
     operation.PaymentAgentName = null;
     int[] numArray = new int[4];
     operation.PaymentSumm = new decimal(numArray);
     operation.ReesterDate = new System.DateTime(0L);
     operation.ReesterNumber = "";
     operation.SubTypeId = 0;
     operation.SubTypeName = null;
     int[] numArray2 = new int[4];
     operation.Summ = new decimal(numArray2);
     operation.Terminal = null;
     operation.ToDate = new System.DateTime(0L);
     operation.TransactionDate = new System.DateTime(0L);
     operation.TransactionNumber = 0L;
     operation.TypeDocName = null;
     operation.TypeId = 0;
     operation.TypeName = null;
     operation.UserId = 0L;
     operation.UserName = null;
     this.accountServiceJournalView.GroupOperation = operation;
     this.accountServiceJournalView.IsVisiblePanel = true;
     this.accountServiceJournalView.set_Location(new System.Drawing.Point(3, 3));
     this.accountServiceJournalView.set_Name("accountServiceJournalView");
     this.accountServiceJournalView.set_Size(new System.Drawing.Size(0x38b, 0xe2));
     this.accountServiceJournalView.set_TabIndex(0);
     this.dataGridViewTextBoxColumn1.set_DataPropertyName("Created");
     this.dataGridViewTextBoxColumn1.set_HeaderText("Created");
     this.dataGridViewTextBoxColumn1.set_MinimumWidth(80);
     this.dataGridViewTextBoxColumn1.set_Name("dataGridViewTextBoxColumn1");
     this.dataGridViewTextBoxColumn1.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn1.set_Width(80);
     this.dataGridViewTextBoxColumn2.set_DataPropertyName("UserName");
     this.dataGridViewTextBoxColumn2.set_HeaderText("UserName");
     this.dataGridViewTextBoxColumn2.set_MinimumWidth(100);
     this.dataGridViewTextBoxColumn2.set_Name("dataGridViewTextBoxColumn2");
     this.dataGridViewTextBoxColumn2.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn3.set_DataPropertyName("FromDate");
     this.dataGridViewTextBoxColumn3.set_HeaderText("FromDate");
     this.dataGridViewTextBoxColumn3.set_MinimumWidth(80);
     this.dataGridViewTextBoxColumn3.set_Name("dataGridViewTextBoxColumn3");
     this.dataGridViewTextBoxColumn3.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn3.set_Width(80);
     this.dataGridViewTextBoxColumn4.set_DataPropertyName("ToDate");
     this.dataGridViewTextBoxColumn4.set_HeaderText("ToDate");
     this.dataGridViewTextBoxColumn4.set_MinimumWidth(80);
     this.dataGridViewTextBoxColumn4.set_Name("dataGridViewTextBoxColumn4");
     this.dataGridViewTextBoxColumn4.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn4.set_Width(80);
     this.dataGridViewTextBoxColumn5.set_DataPropertyName("TypeName");
     this.dataGridViewTextBoxColumn5.set_HeaderText("TypeName");
     this.dataGridViewTextBoxColumn5.set_MinimumWidth(80);
     this.dataGridViewTextBoxColumn5.set_Name("dataGridViewTextBoxColumn5");
     this.dataGridViewTextBoxColumn5.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn5.set_Width(80);
     this.dataGridViewTextBoxColumn6.set_DataPropertyName("SubTypeName");
     this.dataGridViewTextBoxColumn6.set_HeaderText("SubTypeName");
     this.dataGridViewTextBoxColumn6.set_MinimumWidth(80);
     this.dataGridViewTextBoxColumn6.set_Name("dataGridViewTextBoxColumn6");
     this.dataGridViewTextBoxColumn6.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn6.set_Width(80);
     this.dataGridViewTextBoxColumn7.set_DataPropertyName("Comment");
     this.dataGridViewTextBoxColumn7.set_HeaderText("Comment");
     this.dataGridViewTextBoxColumn7.set_MinimumWidth(80);
     this.dataGridViewTextBoxColumn7.set_Name("dataGridViewTextBoxColumn7");
     this.dataGridViewTextBoxColumn7.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn7.set_Width(80);
     this.dataGridViewTextBoxColumn8.set_DataPropertyName("DocNumber");
     this.dataGridViewTextBoxColumn8.set_HeaderText("DocNumber");
     this.dataGridViewTextBoxColumn8.set_MinimumWidth(80);
     this.dataGridViewTextBoxColumn8.set_Name("dataGridViewTextBoxColumn8");
     this.dataGridViewTextBoxColumn8.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn8.set_Width(80);
     this.dataGridViewTextBoxColumn9.set_DataPropertyName("DocDate");
     this.dataGridViewTextBoxColumn9.set_HeaderText("DocDate");
     this.dataGridViewTextBoxColumn9.set_MinimumWidth(80);
     this.dataGridViewTextBoxColumn9.set_Name("dataGridViewTextBoxColumn9");
     this.dataGridViewTextBoxColumn9.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn9.set_Width(80);
     this.dataGridViewTextBoxColumn10.set_DataPropertyName("Id");
     this.dataGridViewTextBoxColumn10.set_HeaderText("Id");
     this.dataGridViewTextBoxColumn10.set_MinimumWidth(80);
     this.dataGridViewTextBoxColumn10.set_Name("dataGridViewTextBoxColumn10");
     this.dataGridViewTextBoxColumn10.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn10.set_Width(80);
     this.dataGridViewTextBoxColumn11.set_DataPropertyName("ObjectWithIdType");
     this.dataGridViewTextBoxColumn11.set_HeaderText("ObjectWithIdType");
     this.dataGridViewTextBoxColumn11.set_MinimumWidth(80);
     this.dataGridViewTextBoxColumn11.set_Name("dataGridViewTextBoxColumn11");
     this.dataGridViewTextBoxColumn11.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn11.set_Width(80);
     this.dataGridViewTextBoxColumn12.set_DataPropertyName("OriginalSumm");
     this.dataGridViewTextBoxColumn12.set_HeaderText("OriginalSumm");
     this.dataGridViewTextBoxColumn12.set_MinimumWidth(80);
     this.dataGridViewTextBoxColumn12.set_Name("dataGridViewTextBoxColumn12");
     this.dataGridViewTextBoxColumn12.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn12.set_Width(80);
     this.dataGridViewTextBoxColumn13.set_DataPropertyName("Period");
     this.dataGridViewTextBoxColumn13.set_HeaderText("Period");
     this.dataGridViewTextBoxColumn13.set_MinimumWidth(80);
     this.dataGridViewTextBoxColumn13.set_Name("dataGridViewTextBoxColumn13");
     this.dataGridViewTextBoxColumn13.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn13.set_Width(80);
     this.dataGridViewTextBoxColumn14.set_DataPropertyName("Date");
     this.dataGridViewTextBoxColumn14.set_HeaderText("Date");
     this.dataGridViewTextBoxColumn14.set_MinimumWidth(80);
     this.dataGridViewTextBoxColumn14.set_Name("dataGridViewTextBoxColumn14");
     this.dataGridViewTextBoxColumn14.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn14.set_Width(80);
     this.dataGridViewTextBoxColumn15.set_DataPropertyName("Datee");
     this.dataGridViewTextBoxColumn15.set_HeaderText("Datee");
     this.dataGridViewTextBoxColumn15.set_Name("dataGridViewTextBoxColumn15");
     this.dataGridViewTextBoxColumn16.set_DataPropertyName("Dateb");
     this.dataGridViewTextBoxColumn16.set_HeaderText("Dateb");
     this.dataGridViewTextBoxColumn16.set_Name("dataGridViewTextBoxColumn16");
     this.dataGridViewTextBoxColumn17.set_DataPropertyName("Datec");
     this.dataGridViewTextBoxColumn17.set_HeaderText("Datec");
     this.dataGridViewTextBoxColumn17.set_Name("dataGridViewTextBoxColumn17");
     this.dataGridViewTextBoxColumn18.set_DataPropertyName("FromDate");
     this.dataGridViewTextBoxColumn18.set_HeaderText("FromDate");
     this.dataGridViewTextBoxColumn18.set_Name("dataGridViewTextBoxColumn18");
     this.dataGridViewTextBoxColumn19.set_DataPropertyName("ToDate");
     this.dataGridViewTextBoxColumn19.set_HeaderText("ToDate");
     this.dataGridViewTextBoxColumn19.set_Name("dataGridViewTextBoxColumn19");
     this.dataGridViewTextBoxColumn20.set_DataPropertyName("OrgDocument");
     this.dataGridViewTextBoxColumn20.set_HeaderText("OrgDocument");
     this.dataGridViewTextBoxColumn20.set_Name("dataGridViewTextBoxColumn20");
     this.dataGridViewTextBoxColumn21.set_DataPropertyName("Created");
     this.dataGridViewTextBoxColumn21.set_HeaderText("Created");
     this.dataGridViewTextBoxColumn21.set_Name("dataGridViewTextBoxColumn21");
     this.dataGridViewTextBoxColumn22.set_DataPropertyName("OrgDocumentId");
     this.dataGridViewTextBoxColumn22.set_HeaderText("OrgDocumentId");
     this.dataGridViewTextBoxColumn22.set_Name("dataGridViewTextBoxColumn22");
     this.dataGridViewTextBoxColumn23.set_DataPropertyName("Num");
     this.dataGridViewTextBoxColumn23.set_HeaderText("Num");
     this.dataGridViewTextBoxColumn23.set_Name("dataGridViewTextBoxColumn23");
     this.dataGridViewTextBoxColumn24.set_DataPropertyName("OperId");
     this.dataGridViewTextBoxColumn24.set_HeaderText("OperId");
     this.dataGridViewTextBoxColumn24.set_Name("dataGridViewTextBoxColumn24");
     this.dataGridViewTextBoxColumn25.set_DataPropertyName("OperName");
     this.dataGridViewTextBoxColumn25.set_HeaderText("OperName");
     this.dataGridViewTextBoxColumn25.set_Name("dataGridViewTextBoxColumn25");
     this.dataGridViewTextBoxColumn26.set_DataPropertyName("OrgDocumentView");
     this.dataGridViewTextBoxColumn26.set_HeaderText("OrgDocumentView");
     this.dataGridViewTextBoxColumn26.set_Name("dataGridViewTextBoxColumn26");
     base.set_AutoScaleDimensions(new System.Drawing.SizeF(6f, 13f));
     base.set_AutoScaleMode(System.Windows.Forms.AutoScaleMode.Font);
     base.Controls.Add(this.splitContainer1);
     base.set_Name("JnOperationsView");
     base.set_Size(new System.Drawing.Size(0x399, 0x1e5));
     base.add_Load(new System.EventHandler(this.JnOperationsView_Load));
     this.splitContainer1.Panel1.ResumeLayout(false);
     this.splitContainer1.Panel2.ResumeLayout(false);
     this.splitContainer1.ResumeLayout(false);
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     this.m_Tabs.ResumeLayout(false);
     this.tpAccountServicesJn.ResumeLayout(false);
     base.ResumeLayout(false);
 }
コード例 #7
0
ファイル: AccountServiceForm.cs プロジェクト: u4097/SQLScript
 private void InitializeComponent()
 {
     GroupOperation operation = new GroupOperation();
     this.tpAccountService = new System.Windows.Forms.TabControl();
     this.tbJournal = new System.Windows.Forms.TabPage();
     this.accountServiceJournalView = new AccountServiceJournalView();
     this.tbCounters = new System.Windows.Forms.TabPage();
     this.accountServiceCountersView = new AccountServiceCountersView();
     this.tbEquipments = new System.Windows.Forms.TabPage();
     this.accountServiceEquipmentsView = new AccountServiceEquipmentsView();
     this.tbAccountServiceSuspension = new System.Windows.Forms.TabPage();
     this.accountServiceSuspensionView = new AccountServiceSuspensionView();
     this.tbAccountServiceSubQualities = new System.Windows.Forms.TabPage();
     this._accountServiceSubQualityView = new AccountServiceSubQualityView();
     this.tbPenaltyRemission = new System.Windows.Forms.TabPage();
     this.accountServicePenaltyRemissionView = new AccountServicePenaltyRemissionView();
     this.tbAccountServiceRelations = new System.Windows.Forms.TabPage();
     this.accountServiceRelationsView = new AccountServiceRelationsView();
     this.tbAccountServiceTarrifs = new System.Windows.Forms.TabPage();
     this.accountServiceTarrifsView = new AccountServiceTarrifsView();
     this.tbAccountServiceNotms = new System.Windows.Forms.TabPage();
     this.accountServiceNormsView = new AccountServiceNormsView();
     this.tbBenefitDebts = new System.Windows.Forms.TabPage();
     this.benefitDebtsView = new BenefitDebtsView();
     this.tcAccountServiceAndServiceProvider = new System.Windows.Forms.TabControl();
     this.tpAccountServices = new System.Windows.Forms.TabPage();
     this.tpServiceProvider = new System.Windows.Forms.TabPage();
     this.tcServiceProvider = new System.Windows.Forms.TabControl();
     this.tpTarrifs = new System.Windows.Forms.TabPage();
     this.serviceTariffCollectionView = new ServiceTariffCollectionView();
     this.tpNorms = new System.Windows.Forms.TabPage();
     this.serviceNormCollectionView = new ServiceNormCollectionView();
     this.tpSeason = new System.Windows.Forms.TabPage();
     this.houseServiceSeasonsView = new HouseServiceSeasonsView();
     this.tpAccountService.SuspendLayout();
     this.tbJournal.SuspendLayout();
     this.tbCounters.SuspendLayout();
     this.tbEquipments.SuspendLayout();
     this.tbAccountServiceSuspension.SuspendLayout();
     this.tbAccountServiceSubQualities.SuspendLayout();
     this.tbPenaltyRemission.SuspendLayout();
     this.tbAccountServiceRelations.SuspendLayout();
     this.tbAccountServiceTarrifs.SuspendLayout();
     this.tbAccountServiceNotms.SuspendLayout();
     this.tbBenefitDebts.SuspendLayout();
     this.tcAccountServiceAndServiceProvider.SuspendLayout();
     this.tpAccountServices.SuspendLayout();
     this.tpServiceProvider.SuspendLayout();
     this.tcServiceProvider.SuspendLayout();
     this.tpTarrifs.SuspendLayout();
     this.tpNorms.SuspendLayout();
     this.tpSeason.SuspendLayout();
     base.SuspendLayout();
     this.tpAccountService.Controls.Add(this.tbJournal);
     this.tpAccountService.Controls.Add(this.tbCounters);
     this.tpAccountService.Controls.Add(this.tbEquipments);
     this.tpAccountService.Controls.Add(this.tbAccountServiceSuspension);
     this.tpAccountService.Controls.Add(this.tbAccountServiceSubQualities);
     this.tpAccountService.Controls.Add(this.tbPenaltyRemission);
     this.tpAccountService.Controls.Add(this.tbAccountServiceRelations);
     this.tpAccountService.Controls.Add(this.tbAccountServiceTarrifs);
     this.tpAccountService.Controls.Add(this.tbAccountServiceNotms);
     this.tpAccountService.Controls.Add(this.tbBenefitDebts);
     this.tpAccountService.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.tpAccountService.set_Location(new System.Drawing.Point(3, 3));
     this.tpAccountService.set_Name("tpAccountService");
     this.tpAccountService.set_SelectedIndex(0);
     this.tpAccountService.set_Size(new System.Drawing.Size(860, 0x254));
     this.tpAccountService.set_TabIndex(0);
     this.tpAccountService.add_SelectedIndexChanged(new System.EventHandler(this.tbAccountService_SelectedIndexChanged));
     this.tbJournal.Controls.Add(this.accountServiceJournalView);
     this.tbJournal.set_Location(new System.Drawing.Point(4, 0x16));
     this.tbJournal.set_Name("tbJournal");
     this.tbJournal.set_Padding(new System.Windows.Forms.Padding(3));
     this.tbJournal.set_Size(new System.Drawing.Size(0x354, 570));
     this.tbJournal.set_TabIndex(0);
     this.tbJournal.set_Text("Журнал");
     this.tbJournal.set_UseVisualStyleBackColor(true);
     this.accountServiceJournalView.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.accountServiceJournalView.set_Font(new System.Drawing.Font("Tahoma", 9.75f));
     operation.AccountId = 0L;
     operation.AccountsCount = 0;
     operation.CalcId = 0L;
     operation.Comment = null;
     operation.Created = new System.DateTime(0L);
     operation.Dateb = new System.DateTime(0L);
     operation.Datec = new System.DateTime(0L);
     operation.Datee = new System.DateTime(0L);
     operation.DocDate = new System.DateTime(0L);
     operation.DocId = 0L;
     operation.DocName = null;
     operation.DocNumber = null;
     operation.FromDate = new System.DateTime(0L);
     operation.Id = 0L;
     operation.IncomingTransferDate = new System.DateTime(0L);
     operation.IncomingTransferNumber = null;
     operation.IncomingTransferPack = null;
     operation.IsDeleted = false;
     operation.IsDirty = true;
     operation.LoginName = null;
     operation.ObjectWithIdType = null;
     operation.OldId = 0L;
     operation.OperatorName = null;
     operation.OrgCode = 0;
     operation.OrgDocument = null;
     operation.OrgDocumentId = 0L;
     operation.OrgDocumentView = null;
     operation.OrgName = null;
     operation.PaymentAgentId = 0L;
     operation.PaymentAgentName = null;
     int[] numArray = new int[4];
     operation.PaymentSumm = new decimal(numArray);
     operation.ReesterDate = new System.DateTime(0L);
     operation.ReesterNumber = "";
     operation.SubTypeId = 0;
     operation.SubTypeName = null;
     int[] numArray2 = new int[4];
     operation.Summ = new decimal(numArray2);
     operation.Terminal = null;
     operation.ToDate = new System.DateTime(0L);
     operation.TransactionDate = new System.DateTime(0L);
     operation.TransactionNumber = 0L;
     operation.TypeDocName = null;
     operation.TypeId = 0;
     operation.TypeName = null;
     operation.UserId = 0L;
     operation.UserName = null;
     this.accountServiceJournalView.GroupOperation = operation;
     this.accountServiceJournalView.IsVisiblePanel = false;
     this.accountServiceJournalView.set_Location(new System.Drawing.Point(3, 3));
     this.accountServiceJournalView.set_Name("accountServiceJournalView");
     this.accountServiceJournalView.set_Size(new System.Drawing.Size(0x34e, 0x234));
     this.accountServiceJournalView.set_TabIndex(0);
     this.tbCounters.Controls.Add(this.accountServiceCountersView);
     this.tbCounters.set_Location(new System.Drawing.Point(4, 0x16));
     this.tbCounters.set_Name("tbCounters");
     this.tbCounters.set_Padding(new System.Windows.Forms.Padding(3));
     this.tbCounters.set_Size(new System.Drawing.Size(0x354, 570));
     this.tbCounters.set_TabIndex(1);
     this.tbCounters.set_Text("Приборы учета");
     this.tbCounters.set_UseVisualStyleBackColor(true);
     this.accountServiceCountersView.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.accountServiceCountersView.IsUpdate = false;
     this.accountServiceCountersView.set_Location(new System.Drawing.Point(3, 3));
     this.accountServiceCountersView.set_Name("accountServiceCountersView");
     this.accountServiceCountersView.set_Size(new System.Drawing.Size(0x34e, 0x234));
     this.accountServiceCountersView.set_TabIndex(0);
     this.tbEquipments.Controls.Add(this.accountServiceEquipmentsView);
     this.tbEquipments.set_Location(new System.Drawing.Point(4, 0x16));
     this.tbEquipments.set_Name("tbEquipments");
     this.tbEquipments.set_Padding(new System.Windows.Forms.Padding(3));
     this.tbEquipments.set_Size(new System.Drawing.Size(0x354, 570));
     this.tbEquipments.set_TabIndex(2);
     this.tbEquipments.set_Text("Оборудование");
     this.tbEquipments.set_UseVisualStyleBackColor(true);
     this.accountServiceEquipmentsView.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.accountServiceEquipmentsView.IsUpdate = false;
     this.accountServiceEquipmentsView.set_Location(new System.Drawing.Point(3, 3));
     this.accountServiceEquipmentsView.set_Margin(new System.Windows.Forms.Padding(3, 4, 3, 4));
     this.accountServiceEquipmentsView.set_Name("accountServiceEquipmentsView");
     this.accountServiceEquipmentsView.set_Size(new System.Drawing.Size(0x34e, 0x234));
     this.accountServiceEquipmentsView.set_TabIndex(0);
     this.tbAccountServiceSuspension.Controls.Add(this.accountServiceSuspensionView);
     this.tbAccountServiceSuspension.set_Location(new System.Drawing.Point(4, 0x16));
     this.tbAccountServiceSuspension.set_Name("tbAccountServiceSuspension");
     this.tbAccountServiceSuspension.set_Padding(new System.Windows.Forms.Padding(3));
     this.tbAccountServiceSuspension.set_Size(new System.Drawing.Size(0x354, 570));
     this.tbAccountServiceSuspension.set_TabIndex(3);
     this.tbAccountServiceSuspension.set_Text("Отключение услуги");
     this.tbAccountServiceSuspension.set_UseVisualStyleBackColor(true);
     this.accountServiceSuspensionView.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.accountServiceSuspensionView.set_Location(new System.Drawing.Point(3, 3));
     this.accountServiceSuspensionView.set_Name("accountServiceSuspensionView");
     this.accountServiceSuspensionView.set_Size(new System.Drawing.Size(0x34e, 0x234));
     this.accountServiceSuspensionView.set_TabIndex(0);
     this.tbAccountServiceSubQualities.Controls.Add(this._accountServiceSubQualityView);
     this.tbAccountServiceSubQualities.set_Location(new System.Drawing.Point(4, 0x16));
     this.tbAccountServiceSubQualities.set_Name("tbAccountServiceSubQualities");
     this.tbAccountServiceSubQualities.set_Size(new System.Drawing.Size(0x354, 570));
     this.tbAccountServiceSubQualities.set_TabIndex(6);
     this.tbAccountServiceSubQualities.set_Text("Недопоставка");
     this.tbAccountServiceSubQualities.set_UseVisualStyleBackColor(true);
     this._accountServiceSubQualityView.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this._accountServiceSubQualityView.set_Location(new System.Drawing.Point(0, 0));
     this._accountServiceSubQualityView.set_Name("_accountServiceSubQualityView");
     this._accountServiceSubQualityView.set_Size(new System.Drawing.Size(0x354, 570));
     this._accountServiceSubQualityView.set_TabIndex(0);
     this.tbPenaltyRemission.Controls.Add(this.accountServicePenaltyRemissionView);
     this.tbPenaltyRemission.set_Location(new System.Drawing.Point(4, 0x16));
     this.tbPenaltyRemission.set_Name("tbPenaltyRemission");
     this.tbPenaltyRemission.set_Padding(new System.Windows.Forms.Padding(3));
     this.tbPenaltyRemission.set_Size(new System.Drawing.Size(0x354, 570));
     this.tbPenaltyRemission.set_TabIndex(4);
     this.tbPenaltyRemission.set_Text("Отключение пеней");
     this.tbPenaltyRemission.set_UseVisualStyleBackColor(true);
     this.accountServicePenaltyRemissionView.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.accountServicePenaltyRemissionView.set_Font(new System.Drawing.Font("Tahoma", 9.75f));
     this.accountServicePenaltyRemissionView.set_Location(new System.Drawing.Point(3, 3));
     this.accountServicePenaltyRemissionView.set_Margin(new System.Windows.Forms.Padding(3, 4, 3, 4));
     this.accountServicePenaltyRemissionView.set_Name("accountServicePenaltyRemissionView");
     this.accountServicePenaltyRemissionView.set_Size(new System.Drawing.Size(0x34e, 0x234));
     this.accountServicePenaltyRemissionView.set_TabIndex(0);
     this.tbAccountServiceRelations.Controls.Add(this.accountServiceRelationsView);
     this.tbAccountServiceRelations.set_Location(new System.Drawing.Point(4, 0x16));
     this.tbAccountServiceRelations.set_Name("tbAccountServiceRelations");
     this.tbAccountServiceRelations.set_Padding(new System.Windows.Forms.Padding(3));
     this.tbAccountServiceRelations.set_Size(new System.Drawing.Size(0x354, 570));
     this.tbAccountServiceRelations.set_TabIndex(5);
     this.tbAccountServiceRelations.set_Text("Связь с услугами ЛС");
     this.tbAccountServiceRelations.set_UseVisualStyleBackColor(true);
     this.accountServiceRelationsView.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.accountServiceRelationsView.set_Font(new System.Drawing.Font("Tahoma", 9.75f));
     this.accountServiceRelationsView.set_Location(new System.Drawing.Point(3, 3));
     this.accountServiceRelationsView.set_Margin(new System.Windows.Forms.Padding(3, 4, 3, 4));
     this.accountServiceRelationsView.set_Name("accountServiceRelationsView");
     this.accountServiceRelationsView.set_Size(new System.Drawing.Size(0x34e, 0x234));
     this.accountServiceRelationsView.set_TabIndex(0);
     this.tbAccountServiceTarrifs.Controls.Add(this.accountServiceTarrifsView);
     this.tbAccountServiceTarrifs.set_Location(new System.Drawing.Point(4, 0x16));
     this.tbAccountServiceTarrifs.set_Name("tbAccountServiceTarrifs");
     this.tbAccountServiceTarrifs.set_Size(new System.Drawing.Size(0x354, 570));
     this.tbAccountServiceTarrifs.set_TabIndex(7);
     this.tbAccountServiceTarrifs.set_Text("Индивидуальный тариф");
     this.tbAccountServiceTarrifs.set_UseVisualStyleBackColor(true);
     this.accountServiceTarrifsView.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.accountServiceTarrifsView.set_Location(new System.Drawing.Point(0, 0));
     this.accountServiceTarrifsView.set_Name("accountServiceTarrifsView");
     this.accountServiceTarrifsView.set_Size(new System.Drawing.Size(0x354, 570));
     this.accountServiceTarrifsView.set_TabIndex(0);
     this.tbAccountServiceNotms.Controls.Add(this.accountServiceNormsView);
     this.tbAccountServiceNotms.set_Location(new System.Drawing.Point(4, 0x16));
     this.tbAccountServiceNotms.set_Name("tbAccountServiceNotms");
     this.tbAccountServiceNotms.set_Padding(new System.Windows.Forms.Padding(3));
     this.tbAccountServiceNotms.set_Size(new System.Drawing.Size(0x354, 570));
     this.tbAccountServiceNotms.set_TabIndex(9);
     this.tbAccountServiceNotms.set_Text("Индивидуальный норматив");
     this.tbAccountServiceNotms.set_UseVisualStyleBackColor(true);
     this.accountServiceNormsView.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.accountServiceNormsView.set_Location(new System.Drawing.Point(3, 3));
     this.accountServiceNormsView.set_Name("accountServiceNormsView");
     this.accountServiceNormsView.set_Size(new System.Drawing.Size(0x34e, 0x234));
     this.accountServiceNormsView.set_TabIndex(0);
     this.tbBenefitDebts.Controls.Add(this.benefitDebtsView);
     this.tbBenefitDebts.set_Location(new System.Drawing.Point(4, 0x16));
     this.tbBenefitDebts.set_Name("tbBenefitDebts");
     this.tbBenefitDebts.set_Padding(new System.Windows.Forms.Padding(3));
     this.tbBenefitDebts.set_Size(new System.Drawing.Size(0x354, 570));
     this.tbBenefitDebts.set_TabIndex(8);
     this.tbBenefitDebts.set_Text("Задолженность по льготам");
     this.tbBenefitDebts.set_UseVisualStyleBackColor(true);
     this.benefitDebtsView.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.benefitDebtsView.set_Location(new System.Drawing.Point(3, 3));
     this.benefitDebtsView.set_Name("benefitDebtsView");
     this.benefitDebtsView.set_Size(new System.Drawing.Size(0x34e, 0x234));
     this.benefitDebtsView.set_TabIndex(0);
     this.tcAccountServiceAndServiceProvider.Controls.Add(this.tpAccountServices);
     this.tcAccountServiceAndServiceProvider.Controls.Add(this.tpServiceProvider);
     this.tcAccountServiceAndServiceProvider.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.tcAccountServiceAndServiceProvider.set_Location(new System.Drawing.Point(0, 0));
     this.tcAccountServiceAndServiceProvider.set_Name("tcAccountServiceAndServiceProvider");
     this.tcAccountServiceAndServiceProvider.set_SelectedIndex(0);
     this.tcAccountServiceAndServiceProvider.set_Size(new System.Drawing.Size(0x36a, 0x274));
     this.tcAccountServiceAndServiceProvider.set_TabIndex(1);
     this.tcAccountServiceAndServiceProvider.add_SelectedIndexChanged(new System.EventHandler(this.tcAccountServiceAndServiceProvider_SelectedIndexChanged));
     this.tpAccountServices.Controls.Add(this.tpAccountService);
     this.tpAccountServices.set_Location(new System.Drawing.Point(4, 0x16));
     this.tpAccountServices.set_Name("tpAccountServices");
     this.tpAccountServices.set_Padding(new System.Windows.Forms.Padding(3));
     this.tpAccountServices.set_Size(new System.Drawing.Size(0x362, 0x25a));
     this.tpAccountServices.set_TabIndex(0);
     this.tpAccountServices.set_Text("Услуга ЛС");
     this.tpAccountServices.set_UseVisualStyleBackColor(true);
     this.tpServiceProvider.Controls.Add(this.tcServiceProvider);
     this.tpServiceProvider.set_Location(new System.Drawing.Point(4, 0x16));
     this.tpServiceProvider.set_Name("tpServiceProvider");
     this.tpServiceProvider.set_Padding(new System.Windows.Forms.Padding(3));
     this.tpServiceProvider.set_Size(new System.Drawing.Size(0x362, 0x25a));
     this.tpServiceProvider.set_TabIndex(1);
     this.tpServiceProvider.set_Text("Услуга ПУ");
     this.tpServiceProvider.set_UseVisualStyleBackColor(true);
     this.tcServiceProvider.Controls.Add(this.tpTarrifs);
     this.tcServiceProvider.Controls.Add(this.tpNorms);
     this.tcServiceProvider.Controls.Add(this.tpSeason);
     this.tcServiceProvider.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.tcServiceProvider.set_Location(new System.Drawing.Point(3, 3));
     this.tcServiceProvider.set_Name("tcServiceProvider");
     this.tcServiceProvider.set_SelectedIndex(0);
     this.tcServiceProvider.set_Size(new System.Drawing.Size(860, 0x254));
     this.tcServiceProvider.set_TabIndex(0);
     this.tcServiceProvider.add_SelectedIndexChanged(new System.EventHandler(this.tcServiceProvider_SelectedIndexChanged));
     this.tpTarrifs.Controls.Add(this.serviceTariffCollectionView);
     this.tpTarrifs.set_Location(new System.Drawing.Point(4, 0x16));
     this.tpTarrifs.set_Name("tpTarrifs");
     this.tpTarrifs.set_Padding(new System.Windows.Forms.Padding(3));
     this.tpTarrifs.set_Size(new System.Drawing.Size(0x354, 570));
     this.tpTarrifs.set_TabIndex(1);
     this.tpTarrifs.set_Text("Тарифы");
     this.tpTarrifs.set_UseVisualStyleBackColor(true);
     this.serviceTariffCollectionView.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.serviceTariffCollectionView.set_Font(new System.Drawing.Font("Microsoft Sans Serif", 9.75f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0xcc));
     this.serviceTariffCollectionView.IsReadOnly = false;
     this.serviceTariffCollectionView.set_Location(new System.Drawing.Point(3, 3));
     this.serviceTariffCollectionView.set_Margin(new System.Windows.Forms.Padding(2));
     this.serviceTariffCollectionView.set_Name("serviceTariffCollectionView");
     this.serviceTariffCollectionView.ObjectWithId = null;
     this.serviceTariffCollectionView.set_Size(new System.Drawing.Size(0x34e, 0x234));
     this.serviceTariffCollectionView.set_TabIndex(0);
     this.tpNorms.Controls.Add(this.serviceNormCollectionView);
     this.tpNorms.set_Location(new System.Drawing.Point(4, 0x16));
     this.tpNorms.set_Name("tpNorms");
     this.tpNorms.set_Size(new System.Drawing.Size(0x354, 570));
     this.tpNorms.set_TabIndex(2);
     this.tpNorms.set_Text("Нормативы");
     this.tpNorms.set_UseVisualStyleBackColor(true);
     this.serviceNormCollectionView.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.serviceNormCollectionView.set_Font(new System.Drawing.Font("Microsoft Sans Serif", 9.75f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0xcc));
     this.serviceNormCollectionView.IsReadOnly = false;
     this.serviceNormCollectionView.set_Location(new System.Drawing.Point(0, 0));
     this.serviceNormCollectionView.set_Margin(new System.Windows.Forms.Padding(4));
     this.serviceNormCollectionView.set_Name("serviceNormCollectionView");
     this.serviceNormCollectionView.ObjectWithId = null;
     this.serviceNormCollectionView.set_Size(new System.Drawing.Size(0x354, 570));
     this.serviceNormCollectionView.set_TabIndex(0);
     this.tpSeason.Controls.Add(this.houseServiceSeasonsView);
     this.tpSeason.set_Location(new System.Drawing.Point(4, 0x16));
     this.tpSeason.set_Name("tpSeason");
     this.tpSeason.set_Padding(new System.Windows.Forms.Padding(3));
     this.tpSeason.set_Size(new System.Drawing.Size(0x354, 570));
     this.tpSeason.set_TabIndex(0);
     this.tpSeason.set_Text("Сезонное включение услуги");
     this.tpSeason.set_UseVisualStyleBackColor(true);
     this.houseServiceSeasonsView.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.houseServiceSeasonsView.set_Font(new System.Drawing.Font("Tahoma", 9.75f));
     this.houseServiceSeasonsView.set_Location(new System.Drawing.Point(3, 3));
     this.houseServiceSeasonsView.set_Margin(new System.Windows.Forms.Padding(3, 4, 3, 4));
     this.houseServiceSeasonsView.set_Name("houseServiceSeasonsView");
     this.houseServiceSeasonsView.set_Size(new System.Drawing.Size(0x34e, 0x234));
     this.houseServiceSeasonsView.set_TabIndex(0);
     base.set_AutoScaleDimensions(new System.Drawing.SizeF(6f, 13f));
     base.set_AutoScaleMode(System.Windows.Forms.AutoScaleMode.Font);
     base.set_ClientSize(new System.Drawing.Size(0x36a, 0x274));
     base.Controls.Add(this.tcAccountServiceAndServiceProvider);
     base.set_Name("AccountServiceForm");
     base.set_StartPosition(System.Windows.Forms.FormStartPosition.CenterScreen);
     this.set_Text("Услуга лицевого счета");
     base.add_FormClosed(new System.Windows.Forms.FormClosedEventHandler(this.AccountServicesForm_FormClosed));
     this.tpAccountService.ResumeLayout(false);
     this.tbJournal.ResumeLayout(false);
     this.tbCounters.ResumeLayout(false);
     this.tbEquipments.ResumeLayout(false);
     this.tbAccountServiceSuspension.ResumeLayout(false);
     this.tbAccountServiceSubQualities.ResumeLayout(false);
     this.tbPenaltyRemission.ResumeLayout(false);
     this.tbAccountServiceRelations.ResumeLayout(false);
     this.tbAccountServiceTarrifs.ResumeLayout(false);
     this.tbAccountServiceNotms.ResumeLayout(false);
     this.tbBenefitDebts.ResumeLayout(false);
     this.tcAccountServiceAndServiceProvider.ResumeLayout(false);
     this.tpAccountServices.ResumeLayout(false);
     this.tpServiceProvider.ResumeLayout(false);
     this.tcServiceProvider.ResumeLayout(false);
     this.tpTarrifs.ResumeLayout(false);
     this.tpNorms.ResumeLayout(false);
     this.tpSeason.ResumeLayout(false);
     base.ResumeLayout(false);
 }
コード例 #8
0
ファイル: Account.cs プロジェクト: u4097/SQLScript
 public void PenaltyMinimizationRollBack(GroupOperation groupOperation)
 {
     Mappers.AccountMapper.PenaltyMinimizationRollBack(groupOperation.Id);
 }
コード例 #9
0
ファイル: Jn.cs プロジェクト: u4097/SQLScript
 public void InsertWithGroupOperation(GroupOperation groupOperation)
 {
     groupOperation.SaveChanges();
     this.GroupOperId = groupOperation.Id;
     this.SaveChanges();
 }
コード例 #10
0
ファイル: Jn.cs プロジェクト: u4097/SQLScript
 public static ObjectList<Jn> FindBy(GroupOperation groupOperation, Account account)
 {
     return Mappers.JnMapper.FindBy(groupOperation.Id, account.Id);
 }
コード例 #11
0
 public void FillByGroupOperation(AIS.SN.Model.DomainObjects.GroupOperation groupOperation)
 {
     this.m_GroupOperation = groupOperation;
     this.UpdateBindingSourceJnByGroupOperation();
 }
コード例 #12
0
 public AccountOperationJournalOpenForm(GroupOperation groupOperation, Account account)
     : this()
 {
     this.m_AccountOperationJournalOperationsView.Fill(groupOperation, account);
     this.m_AccountOperationJournalIndicationsView.Fill(groupOperation, account);
 }
コード例 #13
0
 public void Fill(GroupOperation groupOperation, Account account)
 {
     this.bsCounterIndication.set_DataSource(ApartmentCounterIndication.FindByGroupOperId(groupOperation.Id, account.Id));
 }
コード例 #14
0
 public PenaltyMinimizationForm()
 {
     this.m_Account = Account.Null;
     this.m_GroupOperation = new GroupOperation();
     this.InitializeComponent();
 }
コード例 #15
0
ファイル: CashReturnForm.cs プロジェクト: u4097/SQLScript
 public CashReturnForm(GroupOperation sourceGroupOperation, Account localAccount, OrgDocument doc)
 {
     this.m_account = localAccount;
     this.InitializeComponent();
     if ((sourceGroupOperation == null) || (sourceGroupOperation == GroupOperation.Null))
     {
         Messages.ShowError("Ошибка: не задана групповая операция - источник!");
         base.set_DialogResult(System.Windows.Forms.DialogResult.Abort);
         base.Close();
     }
     else
     {
         this.m_SourceGroupOperation = sourceGroupOperation;
         this.UpdatePaymentSourceGridView();
         if ((doc != null) && (doc != OrgDocument.Null))
         {
             this.selectOrgDocument.SelectedOrgDocument = doc;
         }
     }
 }
コード例 #16
0
ファイル: Account.cs プロジェクト: u4097/SQLScript
 public System.Data.DataTable PenaltyMinimization(GroupOperation groupOperation)
 {
     return Mappers.AccountMapper.PenaltyMinimization(base.Id, groupOperation);
 }
コード例 #17
0
 public AccountOperationJournalChangeTypeForm()
 {
     this.m_groupOperation = new GroupOperation();
     this.InitializeComponent();
     this.set_Font(Manager.WindowFont);
 }
コード例 #18
0
 private void btnAddJournal_Click(object sender, System.EventArgs e)
 {
     CalcOperation operation = (this.bsOperation.get_Current() as CalcOperation) ?? CalcOperation.Null;
     OrgDocument document = this.selectOrgDocument.SelectedOrgDocument ?? OrgDocument.Null;
     GroupOperation groupOperation = new GroupOperation {
         UserId = User.CurrentUser.Id,
         AccountId = this.m_Jn.AccountId,
         TypeId = FasetItem.FindByName(FasetsEnum.GroupOperationsType, "Увеличение/уменьшение задолженности").Id
     };
     if (operation == CalcOperation.Null)
     {
         new BalloonWindow("Не выбрана операция.").Show(this.btnAddJournal);
     }
     else if (this.dbFromDate.IsNull)
     {
         new BalloonWindow("Не введен период.").Show(this.btnAddJournal);
     }
     else
     {
         this.m_Jn.Summ = this.nudSumm.Value;
         groupOperation.Comment = this.tbxComment.get_Text().Trim();
         if (this.sfdSubTypes.SelectedFasetItem != FasetItem.Null)
         {
             groupOperation.SubTypeId = this.sfdSubTypes.SelectedFasetItem.Id;
         }
         if (this.m_Jn.IsNew)
         {
             if (document != OrgDocument.Null)
             {
                 groupOperation.DocId = document.Id;
             }
             groupOperation.Comment = this.tbxComment.get_Text().Trim();
             if (this.sfdSubTypes.SelectedFasetItem != FasetItem.Null)
             {
                 groupOperation.SubTypeId = this.sfdSubTypes.SelectedFasetItem.Id;
             }
             groupOperation.Created = System.DateTime.Now;
             groupOperation.FromDate = this.dbFromDate.Value;
             groupOperation.ToDate = this.dbFromDate.Value.AddMonths(1).AddDays((double) -1.0);
             groupOperation.IsUseRecalc = this.cbIsUseRecalcHouseCounters.get_Checked();
             this.m_Jn.Created = groupOperation.Created;
             this.m_Jn.Period = this.dbFromDate.Value;
             this.m_Jn.CalcOperId = (byte) ((byte) operation.Id);
             this.m_Jn.CalcOperName = operation.Name;
             this.m_Jn.InsertWithGroupOperation(groupOperation);
             base.set_DialogResult(System.Windows.Forms.DialogResult.Yes);
         }
         else
         {
             this.m_Jn.InsertWithGroupOperation(groupOperation);
             this.m_Jn.UpdateJn(this.m_Jn);
             base.set_DialogResult(System.Windows.Forms.DialogResult.Yes);
         }
     }
 }
コード例 #19
0
 public void Fill(GroupOperation groupOperation, Account account)
 {
     this.bsJs.set_DataSource(Jn.FindBy(groupOperation, account));
 }