Zbiór zmian 783 dla branches

Pokaż
Ignoruj:
Data:
2009-07-27 18:03:43 (17 years ago)
Autor:
marek
Opis:

re #195 - dodano podstawowa edycje emisji

Lokalizacja:
branches/Emisje/BazaReklam
Pliki:
3 dodane
6 zmodyfikowane

Legenda:

Bez zmian
Dodane
Usunięte
  • branches/Emisje/BazaReklam/Baza Reklam.csproj

    r778 r783  
    185185      <DependentUpon>AgentAddForm.cs</DependentUpon> 
    186186    </Compile> 
     187    <Compile Include="EditAdIssue.cs"> 
     188      <SubType>Form</SubType> 
     189    </Compile> 
     190    <Compile Include="EditAdIssue.Designer.cs"> 
     191      <DependentUpon>EditAdIssue.cs</DependentUpon> 
     192    </Compile> 
    187193    <Compile Include="FakturowaniePoznanKatowice.cs"> 
    188194      <SubType>Form</SubType> 
     
    586592      <SubType>Designer</SubType> 
    587593      <DependentUpon>CenaEmisji.cs</DependentUpon> 
     594    </EmbeddedResource> 
     595    <EmbeddedResource Include="EditAdIssue.resx"> 
     596      <SubType>Designer</SubType> 
     597      <DependentUpon>EditAdIssue.cs</DependentUpon> 
    588598    </EmbeddedResource> 
    589599    <EmbeddedResource Include="FakturowaniePoznanKatowice.resx"> 
  • branches/Emisje/BazaReklam/KalendarzEmisji.cs

    r777 r783  
    44using System.Drawing; 
    55using System.Windows.Forms; 
     6using Baza_Reklam.Classes.Model; 
    67 
    78namespace Baza_Reklam 
     
    1617        string _tytul; 
    1718 
    18         int? _dzial; 
    19         int? _rozdzial; 
    20         int _lokalizacja; 
     19        NavigationColumn _dzial; 
     20        NavigationSubColumn _rozdzial; 
    2121        bool _doDruku; 
     22 
     23        private AdLocation _adLocation; 
    2224 
    2325 
     
    4042 
    4143 
    42         public KalendarzEmisji(REKLAMADataSet.REKLAMARow reklama, REKLAMADataSet.UKAZE_SIE_W_NRDataTable emisje, int? dzial, int? rozdzial, int lokalizacja, bool doDruku) 
     44        public KalendarzEmisji(REKLAMADataSet.REKLAMARow reklama, REKLAMADataSet.UKAZE_SIE_W_NRDataTable emisje, NavigationColumn dzial, NavigationSubColumn rozdzial, AdLocation adLocation, bool doDruku) 
    4345        { 
    4446            _dzial = dzial; 
    4547            _rozdzial = rozdzial; 
    46             _lokalizacja = lokalizacja; 
     48            _adLocation = adLocation; 
    4749            _doDruku = doDruku; 
    4850 
     
    114116                        em.dataDodania = DateTime.Today; 
    115117                        em.Nr_Wydania = Convert.ToInt16(row.Cells[0].Value); 
    116                         em.LokalizacjaId = _lokalizacja; 
    117                         if (_dzial.HasValue) 
    118                             em.DzialId = _dzial.Value; 
    119                         if (_rozdzial.HasValue) 
    120                             em.RozdzialId = _rozdzial.Value; 
     118                        em.LokalizacjaId = _adLocation.Id; 
     119                        em.Lokalizacja = _adLocation.Text; 
     120                        if (_dzial != null) 
     121                        { 
     122                            em.DzialId = _dzial.Id; 
     123                            em.Dzial = _dzial.Name; 
     124                        } 
     125                        if (_rozdzial != null) 
     126                        { 
     127                            em.RozdzialId = _rozdzial.Id; 
     128                            em.Rozdzial = _rozdzial.Name; 
     129                        } 
     130                             
    121131                        em.DoDruku = _doDruku; 
    122132 
  • branches/Emisje/BazaReklam/OrderDetails.Designer.cs

    r781 r783  
    7070            System.Windows.Forms.Label label14; 
    7171            System.Windows.Forms.Label label15; 
     72            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); 
     73            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); 
     74            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); 
    7275            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); 
    7376            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle(); 
    7477            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle(); 
    75             System.Windows.Forms.DataGridViewCellStyle dzialColumnCellStyle = new System.Windows.Forms.DataGridViewCellStyle(); 
    76             System.Windows.Forms.DataGridViewCellStyle rozdzialColumnCellStyle = new System.Windows.Forms.DataGridViewCellStyle(); 
    77             System.Windows.Forms.DataGridViewCellStyle lokalizacjaColumnCellStyle = new System.Windows.Forms.DataGridViewCellStyle(); 
    7878            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(OrderDetails)); 
    7979            this.rEKLAMADataSet = new Baza_Reklam.REKLAMADataSet(); 
     
    112112            this.zafakturowana = new System.Windows.Forms.DataGridViewCheckBoxColumn(); 
    113113            this.netto = new System.Windows.Forms.DataGridViewTextBoxColumn(); 
    114             this.ReklamaIdColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); 
    115             this.DzialColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); 
    116             this.RozdzialColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); 
    117             this.LokalizacjaColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); 
     114            this.ReklamaId = new System.Windows.Forms.DataGridViewTextBoxColumn(); 
     115            this.Dzial = new System.Windows.Forms.DataGridViewTextBoxColumn(); 
     116            this.Rozdzial = new System.Windows.Forms.DataGridViewTextBoxColumn(); 
     117            this.Lokalizacja = new System.Windows.Forms.DataGridViewTextBoxColumn(); 
    118118            this.rEKLAMAUKAZESIEWNRBindingSource = new System.Windows.Forms.BindingSource(this.components); 
    119119            this.uKAZE_SIE_W_NRTableAdapter = new Baza_Reklam.REKLAMADataSetTableAdapters.UKAZE_SIE_W_NRTableAdapter(); 
     
    194194            this.errorProvider = new System.Windows.Forms.ErrorProvider(this.components); 
    195195            this.btnSaveClose = new System.Windows.Forms.Button(); 
     196            this.editMenuItem = new System.Windows.Forms.ToolStripMenuItem(); 
    196197            sYMBOL_AKWIZYTORALabel = new System.Windows.Forms.Label(); 
    197198            tYTULLabel = new System.Windows.Forms.Label(); 
     
    933934            this.ukazeSieDataGridView.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill; 
    934935            this.ukazeSieDataGridView.BackgroundColor = System.Drawing.Color.White; 
    935             dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; 
    936             dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Control; 
    937             dataGridViewCellStyle4.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); 
    938             dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.WindowText; 
    939             dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight; 
    940             dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText; 
    941             dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.True; 
    942             this.ukazeSieDataGridView.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle4; 
     936            dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; 
     937            dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control; 
     938            dataGridViewCellStyle1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); 
     939            dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText; 
     940            dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight; 
     941            dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText; 
     942            dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True; 
     943            this.ukazeSieDataGridView.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1; 
    943944            this.ukazeSieDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; 
    944945            this.ukazeSieDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { 
     
    946947            this.zafakturowana, 
    947948            this.netto, 
    948             this.ReklamaIdColumn, 
    949             this.DzialColumn, 
    950             this.RozdzialColumn, 
    951             this.LokalizacjaColumn}); 
     949            this.ReklamaId, 
     950            this.Dzial, 
     951            this.Rozdzial, 
     952            this.Lokalizacja}); 
    952953            this.ukazeSieDataGridView.DataSource = this.rEKLAMAUKAZESIEWNRBindingSource; 
    953954            this.ukazeSieDataGridView.Location = new System.Drawing.Point(435, 9); 
     
    969970            this.nrWydaniaDataGridViewTextBoxColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; 
    970971            this.nrWydaniaDataGridViewTextBoxColumn.DataPropertyName = "Nr Wydania"; 
    971             dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; 
    972             this.nrWydaniaDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle5; 
     972            dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; 
     973            this.nrWydaniaDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle2; 
    973974            this.nrWydaniaDataGridViewTextBoxColumn.FillWeight = 149.2386F; 
    974975            this.nrWydaniaDataGridViewTextBoxColumn.HeaderText = "Nr wyd."; 
     
    992993            this.netto.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; 
    993994            this.netto.DataPropertyName = "netto"; 
    994             dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight; 
    995             dataGridViewCellStyle6.Format = "C"; 
    996             this.netto.DefaultCellStyle = dataGridViewCellStyle6; 
     995            dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight; 
     996            dataGridViewCellStyle3.Format = "C"; 
     997            this.netto.DefaultCellStyle = dataGridViewCellStyle3; 
    997998            this.netto.HeaderText = "Wartoœæ"; 
    998999            this.netto.Name = "netto"; 
     
    10021003            // ReklamaId 
    10031004            //  
    1004             this.ReklamaIdColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; 
    1005             this.ReklamaIdColumn.DataPropertyName = "ReklamaId"; 
    1006             this.ReklamaIdColumn.HeaderText = "ReklamaId"; 
    1007             this.ReklamaIdColumn.Name = "ReklamaId"; 
    1008             this.ReklamaIdColumn.ReadOnly = true; 
    1009             this.ReklamaIdColumn.Visible = false; 
    1010             //  
    1011             // DzialColumn 
    1012             //  
    1013             dzialColumnCellStyle.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; 
    1014             dzialColumnCellStyle.WrapMode = System.Windows.Forms.DataGridViewTriState.True; 
    1015             this.DzialColumn.DefaultCellStyle = dzialColumnCellStyle; 
    1016             this.DzialColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; 
    1017             this.DzialColumn.DataPropertyName = "Dzial"; 
    1018             this.DzialColumn.HeaderText = "Dzia³"; 
    1019             this.DzialColumn.Name = "Dzial"; 
    1020             this.DzialColumn.ReadOnly = true; 
    1021             this.DzialColumn.Visible = true; 
    1022             this.DzialColumn.Width = 100; 
    1023             //  
    1024             // RozdzialColumn 
    1025             //  
    1026             rozdzialColumnCellStyle.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; 
    1027             rozdzialColumnCellStyle.WrapMode = System.Windows.Forms.DataGridViewTriState.True; 
    1028             this.RozdzialColumn.DefaultCellStyle = rozdzialColumnCellStyle; 
    1029             this.RozdzialColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; 
    1030             this.RozdzialColumn.DataPropertyName = "Rozdzial"; 
    1031             this.RozdzialColumn.HeaderText = "Rozdzia³"; 
    1032             this.RozdzialColumn.Name = "Rozdzial"; 
    1033             this.RozdzialColumn.ReadOnly = true; 
    1034             this.RozdzialColumn.Visible = true; 
    1035             this.RozdzialColumn.Width = 100; 
    1036             //  
    1037             // LokalizacjaColumn 
    1038             //  
    1039             lokalizacjaColumnCellStyle.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; 
    1040             lokalizacjaColumnCellStyle.WrapMode = System.Windows.Forms.DataGridViewTriState.True; 
    1041             this.LokalizacjaColumn.DefaultCellStyle = lokalizacjaColumnCellStyle; 
    1042             this.LokalizacjaColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; 
    1043             this.LokalizacjaColumn.DataPropertyName = "Lokalizacja"; 
    1044             this.LokalizacjaColumn.HeaderText = "Lokalizacja"; 
    1045             this.LokalizacjaColumn.Name = "Lokalizacja"; 
    1046             this.LokalizacjaColumn.ReadOnly = true; 
    1047             this.LokalizacjaColumn.Visible = true; 
    1048             this.LokalizacjaColumn.Width = 100; 
     1005            this.ReklamaId.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; 
     1006            this.ReklamaId.DataPropertyName = "ReklamaId"; 
     1007            this.ReklamaId.HeaderText = "ReklamaId"; 
     1008            this.ReklamaId.Name = "ReklamaId"; 
     1009            this.ReklamaId.ReadOnly = true; 
     1010            this.ReklamaId.Visible = false; 
     1011            //  
     1012            // Dzial 
     1013            //  
     1014            this.Dzial.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; 
     1015            this.Dzial.DataPropertyName = "Dzial"; 
     1016            dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; 
     1017            dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.True; 
     1018            this.Dzial.DefaultCellStyle = dataGridViewCellStyle4; 
     1019            this.Dzial.HeaderText = "Dzia³"; 
     1020            this.Dzial.Name = "Dzial"; 
     1021            this.Dzial.ReadOnly = true; 
     1022            //  
     1023            // Rozdzial 
     1024            //  
     1025            this.Rozdzial.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; 
     1026            this.Rozdzial.DataPropertyName = "Rozdzial"; 
     1027            dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; 
     1028            dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.True; 
     1029            this.Rozdzial.DefaultCellStyle = dataGridViewCellStyle5; 
     1030            this.Rozdzial.HeaderText = "Rozdzia³"; 
     1031            this.Rozdzial.Name = "Rozdzial"; 
     1032            this.Rozdzial.ReadOnly = true; 
     1033            //  
     1034            // Lokalizacja 
     1035            //  
     1036            this.Lokalizacja.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; 
     1037            this.Lokalizacja.DataPropertyName = "Lokalizacja"; 
     1038            dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; 
     1039            dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.True; 
     1040            this.Lokalizacja.DefaultCellStyle = dataGridViewCellStyle6; 
     1041            this.Lokalizacja.HeaderText = "Lokalizacja"; 
     1042            this.Lokalizacja.Name = "Lokalizacja"; 
     1043            this.Lokalizacja.ReadOnly = true; 
    10491044            //  
    10501045            // rEKLAMAUKAZESIEWNRBindingSource 
     
    18091804            this.zmienToolStripMenuItem, 
    18101805            this.usunToolStripMenuItem, 
    1811             this.anulujToolStripMenuItem}); 
     1806            this.anulujToolStripMenuItem, 
     1807            this.editMenuItem}); 
    18121808            this.emisjeContextMenuStrip.Name = "emisjeContextMenuStrip"; 
    1813             this.emisjeContextMenuStrip.Size = new System.Drawing.Size(116, 70); 
     1809            this.emisjeContextMenuStrip.Size = new System.Drawing.Size(153, 114); 
    18141810            //  
    18151811            // zmienToolStripMenuItem 
    18161812            //  
    18171813            this.zmienToolStripMenuItem.Name = "zmienToolStripMenuItem"; 
    1818             this.zmienToolStripMenuItem.Size = new System.Drawing.Size(115, 22); 
     1814            this.zmienToolStripMenuItem.Size = new System.Drawing.Size(152, 22); 
    18191815            this.zmienToolStripMenuItem.Text = "Zmieñ"; 
    18201816            //  
     
    18221818            //  
    18231819            this.usunToolStripMenuItem.Name = "usunToolStripMenuItem"; 
    1824             this.usunToolStripMenuItem.Size = new System.Drawing.Size(115, 22); 
     1820            this.usunToolStripMenuItem.Size = new System.Drawing.Size(152, 22); 
    18251821            this.usunToolStripMenuItem.Text = "Usuñ"; 
    18261822            //  
     
    18281824            //  
    18291825            this.anulujToolStripMenuItem.Name = "anulujToolStripMenuItem"; 
    1830             this.anulujToolStripMenuItem.Size = new System.Drawing.Size(115, 22); 
     1826            this.anulujToolStripMenuItem.Size = new System.Drawing.Size(152, 22); 
    18311827            this.anulujToolStripMenuItem.Text = "Anuluj"; 
    18321828            //  
     
    18681864            this.btnSaveClose.UseVisualStyleBackColor = true; 
    18691865            this.btnSaveClose.Click += new System.EventHandler(this.btnSaveClose_Click); 
     1866            //  
     1867            // editMenuItem 
     1868            //  
     1869            this.editMenuItem.Name = "editMenuItem"; 
     1870            this.editMenuItem.Size = new System.Drawing.Size(152, 22); 
     1871            this.editMenuItem.Text = "Edytuj"; 
    18701872            //  
    18711873            // OrderDetails 
     
    20622064        private System.Windows.Forms.DataGridViewTextBoxColumn dataDataGridViewTextBoxColumn; 
    20632065        private System.Windows.Forms.DataGridViewTextBoxColumn reklamaInfoDodDataGridViewTextBoxColumn; 
     2066        private System.Windows.Forms.DataGridViewTextBoxColumn ReklamaId; 
     2067        private System.Windows.Forms.DataGridViewTextBoxColumn Dzial; 
     2068        private System.Windows.Forms.DataGridViewTextBoxColumn Rozdzial; 
     2069        private System.Windows.Forms.DataGridViewTextBoxColumn Lokalizacja; 
     2070        private System.Windows.Forms.ToolStripMenuItem editMenuItem; 
    20642071 
    20652072 
  • branches/Emisje/BazaReklam/OrderDetails.cs

    r781 r783  
    133133            _titles = titleRepository.FindAllActive(); 
    134134 
    135             //NavigationColumnRepository navigationColumnRepository = new NavigationColumnRepository(ConnString.getConnString().Value); 
    136             //_dzialy = navigationColumnRepository.FindAll(); 
    137  
    138             //NavigationSubColumnRepository navigationSubColumnRepository = new NavigationSubColumnRepository(ConnString.getConnString().Value); 
    139             //_rozdzialy = navigationSubColumnRepository.FindAll(); 
    140  
    141135            AdLocationRepository adPlacementRepository = new AdLocationRepository(ConnString.getConnString().Value); 
    142136            ComboBoxHelper.Bind(adPlacementRepository.FindAll(), cbLocation); 
     
    199193            anulujToolStripMenuItem.Click += AnulujEmisje; 
    200194            zmienToolStripMenuItem.Click += ZmienEmisje; 
     195            editMenuItem.Click += EdytujEmisje; 
    201196 
    202197            walutyComboBox.SelectedIndex = 0; 
     
    12211216                    rEKLAMADataSet.UKAZE_SIE_W_NR.Copy(); 
    12221217 
    1223                 int? dzial = null; 
    1224                 if (SelectedNavigationColumn != null) 
    1225                     dzial = SelectedNavigationColumn.Id; 
    1226  
    1227                 int? rozdzial = null; 
    1228                 if (SelectedNavigationColumn != null) 
    1229                     rozdzial = SelectedNavigationSubColumn.Id; 
    1230  
    1231                 KalendarzEmisji kalendarz = new KalendarzEmisji(Reklama, table, dzial, rozdzial, ((AdLocation)cbLocation.SelectedItem).Id, zATWIERDZONO_DO_DRUKUCheckBox.Checked); 
     1218                KalendarzEmisji kalendarz = new KalendarzEmisji(Reklama, table, SelectedNavigationColumn, SelectedNavigationSubColumn, (AdLocation)cbLocation.SelectedItem, zATWIERDZONO_DO_DRUKUCheckBox.Checked); 
    12321219 
    12331220                if (kalendarz.ShowDialog() == DialogResult.OK) 
     
    12911278                        usunToolStripMenuItem.Visible = false; 
    12921279                        anulujToolStripMenuItem.Visible = false; 
     1280                        editMenuItem.Visible = false; 
    12931281 
    12941282                        e.ContextMenuStrip = emisjeContextMenuStrip; 
     
    13041292                        usunToolStripMenuItem.Visible = false; 
    13051293                        anulujToolStripMenuItem.Visible = emisjaRow.status == 0; 
     1294                        editMenuItem.Visible = emisjaRow.status == 0; 
    13061295 
    13071296                        e.ContextMenuStrip = emisjeContextMenuStrip; 
     
    13161305                usunToolStripMenuItem.Visible = true; 
    13171306                anulujToolStripMenuItem.Visible = false; 
     1307                editMenuItem.Visible = false; 
    13181308 
    13191309                foreach (DataGridViewRow r in ukazeSieDataGridView.SelectedRows) 
     
    13971387                    ReklamaHelper.AddUpdateIssueChange((double)emisja.ID, staraEmisja, kalendarz.NowaEmisja.Value); 
    13981388            } 
     1389        } 
     1390 
     1391        private void EdytujEmisje(object sender, EventArgs e) 
     1392        { 
     1393            EditAdIssue editAdIssue = new EditAdIssue(); 
     1394            DialogResult dialogResult = editAdIssue.ShowDialog(); 
     1395            if(dialogResult == DialogResult.OK) 
     1396            { 
     1397                REKLAMADataSet.UKAZE_SIE_W_NRRow issue = (REKLAMADataSet.UKAZE_SIE_W_NRRow)((DataRowView)rEKLAMAUKAZESIEWNRBindingSource.Current).Row; 
     1398                 
     1399                issue.Lokalizacja = editAdIssue.Lokalizacja.Text; 
     1400                issue.LokalizacjaId = editAdIssue.Lokalizacja.Id; 
     1401                if (editAdIssue.Dzial!=null) 
     1402                { 
     1403                    issue.DzialId = editAdIssue.Dzial.Id; 
     1404                    issue.Dzial = editAdIssue.Dzial.Name;                     
     1405                } 
     1406 
     1407                if (editAdIssue.Rozdzial != null) 
     1408                { 
     1409                    issue.RozdzialId = editAdIssue.Rozdzial.Id; 
     1410                    issue.Rozdzial = editAdIssue.Rozdzial.Name;                     
     1411                } 
     1412 
     1413            } 
     1414 
    13991415        } 
    14001416 
  • branches/Emisje/BazaReklam/OrderDetails.resx

    r776 r783  
    253253    <value>17, 54</value> 
    254254  </metadata> 
    255   <metadata name="lISTATYPOWREKLAMYBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> 
    256     <value>17, 54</value> 
    257   </metadata> 
    258255  <metadata name="lISTA_TYPOW_REKLAMYTableAdapter.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> 
    259256    <value>17, 91</value> 
     
    270267  <metadata name="uKAZE_SIE_W_NRTableAdapter.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> 
    271268    <value>443, 91</value> 
    272   </metadata> 
    273   <metadata name="aGENCIBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> 
    274     <value>1113, 91</value> 
    275269  </metadata> 
    276270  <metadata name="aGENCIBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> 
     
    345339    <value>True</value> 
    346340  </metadata> 
    347   <metadata name="NR_WYDANIA.UserAddedColumn" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 
    348     <value>True</value> 
    349   </metadata> 
    350   <metadata name="rEKLAMAReklamaInfoDodBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> 
    351     <value>863, 91</value> 
    352   </metadata> 
    353341  <metadata name="rEKLAMAReklamaInfoDodBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> 
    354342    <value>863, 91</value> 
  • branches/Emisje/BazaReklam/Properties/Resources.Designer.cs

    r732 r783  
    22// <auto-generated> 
    33//     This code was generated by a tool. 
    4 //     Runtime Version:2.0.50727.3053 
     4//     Runtime Version:2.0.50727.3082 
    55// 
    66//     Changes to this file may cause incorrect behavior and will be lost if 
     
    7878        ///   Looks up a localized string similar to &lt;test&gt; 
    7979        ///     &lt;jezyk id=&quot;ang&quot;&gt; 
    80         ///    &lt;numeryWydan&gt;Numbers of the issues &lt;/numeryWydan&gt; 
     80        ///    &lt;numeryWydan&gt;Issues numbers &lt;/numeryWydan&gt; 
    8181        ///    &lt;fakturaZaReklamyZgodnieZzamowieniem&gt;Invoice for ads according to order &lt;/fakturaZaReklamyZgodnieZzamowieniem&gt; 
    8282        ///    &lt;fakturaKorygującaVATnr&gt;Correction invoice number&lt;/fakturaKorygującaVATnr&gt; 
     
    8585        ///    &lt;przedKorekta&gt;Before correction&lt;/przedKorekta&gt; 
    8686        ///    &lt;poKorekcie&gt;After correction&lt;/poKorekcie&gt; 
    87         ///    &lt;kwotaZwiekszenia&gt;Increasing amount after [rest of string was truncated]&quot;;. 
     87        ///    &lt;kwotaZwiekszenia&gt;Increasing amount after tax&lt;/k [rest of string was truncated]&quot;;. 
    8888        /// </summary> 
    8989        internal static string faktura {