Changeset 5795


Ignore:
Timestamp:
03/14/14 07:20:17 (6 years ago)
Author:
rohit_tandon
Message:

Profile description added.

Location:
trunk/Obi/Obi
Files:
3 added
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/Obi/Obi/Dialogs/Preferences.Designer.cs

    r5751 r5795  
    5050            this.label9 = new System.Windows.Forms.Label(); 
    5151            this.mAudioTab = new System.Windows.Forms.TabPage(); 
     52            this.m_btnProfileDiscription = new System.Windows.Forms.Button(); 
    5253            this.m_lblProfile = new System.Windows.Forms.Label(); 
    5354            this.m_SelectLevelComboBox = new System.Windows.Forms.ComboBox(); 
     
    279280            // mAudioTab 
    280281            //  
     282            this.mAudioTab.Controls.Add(this.m_btnProfileDiscription); 
    281283            this.mAudioTab.Controls.Add(this.m_lblProfile); 
    282284            this.mAudioTab.Controls.Add(this.m_SelectLevelComboBox); 
     
    303305            this.mAudioTab.Name = "mAudioTab"; 
    304306            this.mAudioTab.UseVisualStyleBackColor = true; 
     307            //  
     308            // m_btnProfileDiscription 
     309            //  
     310            resources.ApplyResources(this.m_btnProfileDiscription, "m_btnProfileDiscription"); 
     311            this.m_btnProfileDiscription.Name = "m_btnProfileDiscription"; 
     312            this.m_btnProfileDiscription.UseVisualStyleBackColor = true; 
     313            this.m_btnProfileDiscription.Click += new System.EventHandler(this.m_btnProfileDiscription_Click); 
    305314            //  
    306315            // m_lblProfile 
     
    842851        private System.Windows.Forms.ComboBox m_SelectLevelComboBox; 
    843852        private System.Windows.Forms.Label m_lblProfile; 
     853        private System.Windows.Forms.Button m_btnProfileDiscription; 
    844854    } 
    845855} 
  • trunk/Obi/Obi/Dialogs/Preferences.cs

    r5793 r5795  
    6666            m_SelectLevelComboBox.Items.Add(Localizer.Message("Preferences_Level_ComboBox_Intermediate")); 
    6767            m_SelectLevelComboBox.Items.Add(Localizer.Message("Preferences_Level_ComboBox_Advance")); 
    68             m_SelectLevelComboBox.Items.Add("Profile 1"); 
     68            m_SelectLevelComboBox.Items.Add(Localizer.Message("Preferences_Level_ComboBox_Profile_1")); 
     69            m_SelectLevelComboBox.Items.Add(Localizer.Message("Preferences_Level_ComboBox_Profile_2")); 
    6970            m_SelectLevelComboBox.Items.Add(Localizer.Message("Preferences_Level_ComboBox_Custom")); 
    7071           } 
     
    318319        private void mOKButton_Click(object sender, EventArgs e) 
    319320        { 
    320             if (m_IndexOfLevelCombox != m_SelectLevelComboBox.SelectedIndex && (this.mTab.SelectedTab == mAudioTab)) 
     321           // if (m_IndexOfLevelCombox != m_SelectLevelComboBox.SelectedIndex && (this.mTab.SelectedTab == mAudioTab)) 
     322            if(this.mTab.SelectedTab == mAudioTab) 
    321323            { 
    322324                ComboBoxSelection(); 
     
    770772                if (m_FlagComboBoxIndexChange == false) 
    771773                { 
    772                     m_SelectLevelComboBox.SelectedIndex = 4; 
    773                     m_IndexOfLevelCombox = 4; 
     774                    m_SelectLevelComboBox.SelectedIndex = 5; 
     775                    m_IndexOfLevelCombox = 5; 
    774776                } 
    775777 
     
    15981600 
    15991601            } 
    1600             else if (m_SelectLevelComboBox.SelectedIndex == 4) 
     1602            else if (m_SelectLevelComboBox.SelectedIndex == 3 || m_SelectLevelComboBox.SelectedIndex == 4 || m_SelectLevelComboBox.SelectedIndex == 5) 
    16011603            { 
    16021604                m_FlagComboBoxIndexChange = false; 
    16031605                m_IndexOfLevelCombox = m_SelectLevelComboBox.SelectedIndex; 
    16041606            } 
    1605             else if (m_SelectLevelComboBox.SelectedIndex == 3) 
    1606             { 
    1607                 m_FlagComboBoxIndexChange = false; 
    1608                 m_IndexOfLevelCombox = m_SelectLevelComboBox.SelectedIndex; 
    1609             } 
    16101607        } 
    16111608 
    16121609        private void m_SelectLevelComboBox_SelectionChangeCommitted(object sender, EventArgs e) 
    16131610        { 
    1614             if (m_IsComboBoxExpanded && (m_IndexOfLevelCombox != m_SelectLevelComboBox.SelectedIndex) && (this.mTab.SelectedTab == mAudioTab)) 
    1615             { 
     1611            //if (m_IsComboBoxExpanded && (m_IndexOfLevelCombox != m_SelectLevelComboBox.SelectedIndex) && (this.mTab.SelectedTab == mAudioTab)) 
     1612            //{ 
    16161613                 
    1617                 ComboBoxSelection(); 
    1618             } 
     1614            //    ComboBoxSelection(); 
     1615            //} 
    16191616        } 
    16201617 
     
    16341631            if (m_LeaveOnEscape) 
    16351632                return; 
    1636             if (m_IndexOfLevelCombox != m_SelectLevelComboBox.SelectedIndex && (this.mTab.SelectedTab == mAudioTab)) 
    1637             { 
    1638                 ComboBoxSelection(); 
    1639             } 
     1633            //if (m_IndexOfLevelCombox != m_SelectLevelComboBox.SelectedIndex && (this.mTab.SelectedTab == mAudioTab)) 
     1634            //{ 
     1635            //    ComboBoxSelection(); 
     1636            //} 
    16401637 
    16411638        } 
     
    16471644            } 
    16481645            return base.ProcessCmdKey(ref msg, keyData); 
     1646        } 
     1647 
     1648        private void m_btnProfileDiscription_Click(object sender, EventArgs e) 
     1649        { 
     1650            ProfileDescription profileDesc = new ProfileDescription(); 
     1651            profileDesc.ProfileSelected = m_SelectLevelComboBox.SelectedIndex; 
     1652            profileDesc.ShowDialog(); 
    16491653        } 
    16501654 
  • trunk/Obi/Obi/Dialogs/Preferences.resx

    r5754 r5795  
    308308  </data> 
    309309  <data name="&gt;&gt;labelInputDeviceName.ZOrder" xml:space="preserve"> 
    310     <value>20</value> 
     310    <value>21</value> 
    311311  </data> 
    312312  <data name="mInputDeviceCombo.AccessibleName" xml:space="preserve"> 
     
    341341  </data> 
    342342  <data name="&gt;&gt;mInputDeviceCombo.ZOrder" xml:space="preserve"> 
    343     <value>18</value> 
     343    <value>19</value> 
    344344  </data> 
    345345  <data name="labelOutputDeviceName.AutoSize" type="System.Boolean, mscorlib"> 
     
    371371  </data> 
    372372  <data name="&gt;&gt;labelOutputDeviceName.ZOrder" xml:space="preserve"> 
    373     <value>19</value> 
     373    <value>20</value> 
    374374  </data> 
    375375  <data name="mOutputDeviceCombo.AccessibleName" xml:space="preserve"> 
     
    404404  </data> 
    405405  <data name="&gt;&gt;mOutputDeviceCombo.ZOrder" xml:space="preserve"> 
    406     <value>17</value> 
     406    <value>18</value> 
    407407  </data> 
    408408  <data name="mTab.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms"> 
     
    661661    <value>0</value> 
    662662  </data> 
     663  <data name="m_btnProfileDiscription.Font" type="System.Drawing.Font, System.Drawing"> 
     664    <value>Microsoft Sans Serif, 9.75pt, style=Bold</value> 
     665  </data> 
     666  <data name="m_btnProfileDiscription.Location" type="System.Drawing.Point, System.Drawing"> 
     667    <value>585, 254</value> 
     668  </data> 
     669  <data name="m_btnProfileDiscription.Size" type="System.Drawing.Size, System.Drawing"> 
     670    <value>28, 23</value> 
     671  </data> 
     672  <data name="m_btnProfileDiscription.TabIndex" type="System.Int32, mscorlib"> 
     673    <value>32</value> 
     674  </data> 
     675  <data name="m_btnProfileDiscription.Text" xml:space="preserve"> 
     676    <value>?</value> 
     677  </data> 
     678  <data name="&gt;&gt;m_btnProfileDiscription.Name" xml:space="preserve"> 
     679    <value>m_btnProfileDiscription</value> 
     680  </data> 
     681  <data name="&gt;&gt;m_btnProfileDiscription.Type" xml:space="preserve"> 
     682    <value>System.Windows.Forms.Button, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> 
     683  </data> 
     684  <data name="&gt;&gt;m_btnProfileDiscription.Parent" xml:space="preserve"> 
     685    <value>mAudioTab</value> 
     686  </data> 
     687  <data name="&gt;&gt;m_btnProfileDiscription.ZOrder" xml:space="preserve"> 
     688    <value>0</value> 
     689  </data> 
    663690  <data name="m_lblProfile.AutoSize" type="System.Boolean, mscorlib"> 
    664691    <value>True</value> 
    665692  </data> 
    666693  <data name="m_lblProfile.Location" type="System.Drawing.Point, System.Drawing"> 
    667     <value>481, 234</value> 
     694    <value>455, 234</value> 
    668695  </data> 
    669696  <data name="m_lblProfile.Size" type="System.Drawing.Size, System.Drawing"> 
     
    686713  </data> 
    687714  <data name="&gt;&gt;m_lblProfile.ZOrder" xml:space="preserve"> 
    688     <value>0</value> 
     715    <value>1</value> 
    689716  </data> 
    690717  <data name="m_SelectLevelComboBox.AccessibleName" xml:space="preserve"> 
     
    692719  </data> 
    693720  <data name="m_SelectLevelComboBox.Location" type="System.Drawing.Point, System.Drawing"> 
    694     <value>481, 253</value> 
     721    <value>455, 253</value> 
    695722  </data> 
    696723  <data name="m_SelectLevelComboBox.Size" type="System.Drawing.Size, System.Drawing"> 
     
    710737  </data> 
    711738  <data name="&gt;&gt;m_SelectLevelComboBox.ZOrder" xml:space="preserve"> 
    712     <value>1</value> 
     739    <value>2</value> 
    713740  </data> 
    714741  <data name="m_btn_speak.AccessibleName" xml:space="preserve"> 
     
    740767  </data> 
    741768  <data name="&gt;&gt;m_btn_speak.ZOrder" xml:space="preserve"> 
    742     <value>2</value> 
     769    <value>3</value> 
    743770  </data> 
    744771  <data name="labelTTSvoice.AccessibleName" xml:space="preserve"> 
     
    770797  </data> 
    771798  <data name="&gt;&gt;labelTTSvoice.ZOrder" xml:space="preserve"> 
    772     <value>3</value> 
     799    <value>4</value> 
    773800  </data> 
    774801  <data name="mTTSvoiceCombo.FlatStyle" type="System.Windows.Forms.FlatStyle, System.Windows.Forms"> 
     
    794821  </data> 
    795822  <data name="&gt;&gt;mTTSvoiceCombo.ZOrder" xml:space="preserve"> 
    796     <value>4</value> 
     823    <value>5</value> 
    797824  </data> 
    798825  <data name="m_OperationDurationUpDown.AccessibleName" xml:space="preserve"> 
     
    818845  </data> 
    819846  <data name="&gt;&gt;m_OperationDurationUpDown.ZOrder" xml:space="preserve"> 
    820     <value>5</value> 
     847    <value>6</value> 
    821848  </data> 
    822849  <data name="m_cbOperation.Items" xml:space="preserve"> 
     
    857884  </data> 
    858885  <data name="&gt;&gt;m_cbOperation.ZOrder" xml:space="preserve"> 
    859     <value>6</value> 
     886    <value>7</value> 
    860887  </data> 
    861888  <data name="mlbOperation.AutoSize" type="System.Boolean, mscorlib"> 
     
    884911  </data> 
    885912  <data name="&gt;&gt;mlbOperation.ZOrder" xml:space="preserve"> 
    886     <value>7</value> 
     913    <value>8</value> 
    887914  </data> 
    888915  <data name="mNoiseLevelComboBox.AccessibleName" xml:space="preserve"> 
     
    923950  </data> 
    924951  <data name="&gt;&gt;mNoiseLevelComboBox.ZOrder" xml:space="preserve"> 
    925     <value>8</value> 
     952    <value>9</value> 
    926953  </data> 
    927954  <data name="label8.AutoSize" type="System.Boolean, mscorlib"> 
     
    953980  </data> 
    954981  <data name="&gt;&gt;label8.ZOrder" xml:space="preserve"> 
    955     <value>9</value> 
     982    <value>10</value> 
    956983  </data> 
    957984  <data name="label3.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms"> 
     
    9801007  </data> 
    9811008  <data name="&gt;&gt;label3.ZOrder" xml:space="preserve"> 
    982     <value>10</value> 
     1009    <value>11</value> 
    9831010  </data> 
    9841011  <data name="mChannelsTextbox.AccessibleName" xml:space="preserve"> 
     
    10131040  </data> 
    10141041  <data name="&gt;&gt;mChannelsTextbox.ZOrder" xml:space="preserve"> 
    1015     <value>11</value> 
     1042    <value>12</value> 
    10161043  </data> 
    10171044  <data name="mSampleRateTextbox.AccessibleName" xml:space="preserve"> 
     
    10461073  </data> 
    10471074  <data name="&gt;&gt;mSampleRateTextbox.ZOrder" xml:space="preserve"> 
    1048     <value>12</value> 
     1075    <value>13</value> 
    10491076  </data> 
    10501077  <data name="mChannelsCombo.AccessibleName" xml:space="preserve"> 
     
    10791106  </data> 
    10801107  <data name="&gt;&gt;mChannelsCombo.ZOrder" xml:space="preserve"> 
    1081     <value>13</value> 
     1108    <value>14</value> 
    10821109  </data> 
    10831110  <data name="labelChannels.AutoSize" type="System.Boolean, mscorlib"> 
     
    11091136  </data> 
    11101137  <data name="&gt;&gt;labelChannels.ZOrder" xml:space="preserve"> 
    1111     <value>14</value> 
     1138    <value>15</value> 
    11121139  </data> 
    11131140  <data name="mSampleRateCombo.AccessibleName" xml:space="preserve"> 
     
    11421169  </data> 
    11431170  <data name="&gt;&gt;mSampleRateCombo.ZOrder" xml:space="preserve"> 
    1144     <value>15</value> 
     1171    <value>16</value> 
    11451172  </data> 
    11461173  <data name="labelSampleRate.AutoSize" type="System.Boolean, mscorlib"> 
     
    11721199  </data> 
    11731200  <data name="&gt;&gt;labelSampleRate.ZOrder" xml:space="preserve"> 
    1174     <value>16</value> 
     1201    <value>17</value> 
    11751202  </data> 
    11761203  <data name="mAudioTab.Location" type="System.Drawing.Point, System.Drawing"> 
  • trunk/Obi/Obi/Obi.csproj

    r5623 r5795  
    77    <SchemaVersion>2.0</SchemaVersion> 
    88    <ProjectGuid>{1553F3D3-A820-400E-9B98-BCCA970E1D58}</ProjectGuid> 
    9     <OutputType>WinExe</OutputType> 
     9    <OutputType>Exe</OutputType> 
    1010    <AppDesignerFolder>Properties</AppDesignerFolder> 
    1111    <RootNamespace>Obi</RootNamespace> 
     
    222222      <DependentUpon>MultipleOptionDialog.cs</DependentUpon> 
    223223    </Compile> 
     224    <Compile Include="Dialogs\ProfileDescription.cs"> 
     225      <SubType>Form</SubType> 
     226    </Compile> 
     227    <Compile Include="Dialogs\ProfileDescription.Designer.cs"> 
     228      <DependentUpon>ProfileDescription.cs</DependentUpon> 
     229    </Compile> 
    224230    <Compile Include="Dialogs\ReportDialog.cs"> 
    225231      <SubType>Form</SubType> 
     
    384390      <DependentUpon>messages.resx</DependentUpon> 
    385391    </Compile> 
     392    <Compile Include="messages.fi.Designer.cs"> 
     393      <AutoGen>True</AutoGen> 
     394      <DesignTime>True</DesignTime> 
     395      <DependentUpon>messages.fi.resx</DependentUpon> 
     396    </Compile> 
    386397    <Compile Include="messages.fr.Designer.cs"> 
    387398      <AutoGen>True</AutoGen> 
     
    393404      <DesignTime>True</DesignTime> 
    394405      <DependentUpon>messages.hi.resx</DependentUpon> 
     406    </Compile> 
     407    <Compile Include="messages.ta.Designer.cs"> 
     408      <AutoGen>True</AutoGen> 
     409      <DesignTime>True</DesignTime> 
     410      <DependentUpon>messages.ta.resx</DependentUpon> 
    395411    </Compile> 
    396412    <Compile Include="Metadata.cs" /> 
     
    542558    <BaseApplicationManifest Include="Properties\app.manifest" /> 
    543559    <None Include="app.config" /> 
     560    <None Include="ClassDiagram1.cd" /> 
     561    <None Include="ClassDiagram2.cd" /> 
    544562    <None Include="EmptyProject.obi"> 
    545563      <CopyToOutputDirectory>Always</CopyToOutputDirectory> 
     
    11631181      <SubType>Designer</SubType> 
    11641182    </EmbeddedResource> 
     1183    <EmbeddedResource Include="Dialogs\ProfileDescription.resx"> 
     1184      <SubType>Designer</SubType> 
     1185      <DependentUpon>ProfileDescription.cs</DependentUpon> 
     1186    </EmbeddedResource> 
    11651187    <EmbeddedResource Include="Dialogs\ProgressDialog.fi.resx"> 
    11661188      <SubType>Designer</SubType> 
     
    13731395    <EmbeddedResource Include="messages.fi.resx"> 
    13741396      <SubType>Designer</SubType> 
     1397      <Generator>ResXFileCodeGenerator</Generator> 
     1398      <LastGenOutput>messages.fi.Designer.cs</LastGenOutput> 
    13751399    </EmbeddedResource> 
    13761400    <EmbeddedResource Include="messages.fr.resx"> 
     
    13811405    <EmbeddedResource Include="messages.ta.resx"> 
    13821406      <SubType>Designer</SubType> 
     1407      <Generator>ResXFileCodeGenerator</Generator> 
     1408      <LastGenOutput>messages.ta.Designer.cs</LastGenOutput> 
    13831409    </EmbeddedResource> 
    13841410    <EmbeddedResource Include="ObiForm.fi.resx"> 
     
    15881614    <EmbeddedResource Include="ProjectView\Waveform.ta.resx"> 
    15891615      <DependentUpon>Waveform.cs</DependentUpon> 
     1616      <SubType>Designer</SubType> 
     1617    </EmbeddedResource> 
     1618    <EmbeddedResource Include="ProjectView\Waveform_Recording.fr.resx"> 
     1619      <DependentUpon>Waveform_Recording.cs</DependentUpon> 
    15901620      <SubType>Designer</SubType> 
    15911621    </EmbeddedResource> 
     
    16641694    </Content> 
    16651695    <Content Include="obi.ico" /> 
     1696    <Content Include="PhraseDesc_en.html"> 
     1697      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> 
     1698    </Content> 
    16661699    <Content Include="SelectionBegin.wav"> 
    16671700      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> 
     
    17171750      <SubType>Designer</SubType> 
    17181751    </EmbeddedResource> 
     1752    <EmbeddedResource Include="UserControls\TextVUMeterPanel.fr.resx"> 
     1753      <DependentUpon>TextVUMeterPanel.cs</DependentUpon> 
     1754      <SubType>Designer</SubType> 
     1755    </EmbeddedResource> 
    17191756    <EmbeddedResource Include="UserControls\TextVUMeterPanel.ta.resx"> 
    17201757      <DependentUpon>TextVUMeterPanel.cs</DependentUpon> 
  • trunk/Obi/Obi/messages.Designer.cs

    r5793 r5795  
    47964796         
    47974797        /// <summary> 
     4798        ///   Looks up a localized string similar to Profile 1. 
     4799        /// </summary> 
     4800        internal static string Preferences_Level_ComboBox_Profile_1 { 
     4801            get { 
     4802                return ResourceManager.GetString("Preferences_Level_ComboBox_Profile_1", resourceCulture); 
     4803            } 
     4804        } 
     4805         
     4806        /// <summary> 
     4807        ///   Looks up a localized string similar to Profile 2. 
     4808        /// </summary> 
     4809        internal static string Preferences_Level_ComboBox_Profile_2 { 
     4810            get { 
     4811                return ResourceManager.GetString("Preferences_Level_ComboBox_Profile_2", resourceCulture); 
     4812            } 
     4813        } 
     4814         
     4815        /// <summary> 
    47984816        ///   Looks up a localized string similar to No Pipeline scripts found in this location. 
    47994817        /// </summary> 
     
    48284846            get { 
    48294847                return ResourceManager.GetString("prodnote", resourceCulture); 
     4848            } 
     4849        } 
     4850         
     4851        /// <summary> 
     4852        ///   Looks up a localized string similar to PhraseDesc_en.html. 
     4853        /// </summary> 
     4854        internal static string ProfileDesc_file_name { 
     4855            get { 
     4856                return ResourceManager.GetString("ProfileDesc_file_name", resourceCulture); 
    48304857            } 
    48314858        } 
  • trunk/Obi/Obi/messages.resx

    r5793 r5795  
    26082608    <value>After recording delete the following phrases</value> 
    26092609  </data> 
     2610  <data name="ProfileDesc_file_name" xml:space="preserve"> 
     2611    <value>PhraseDesc_en.html</value> 
     2612    <comment>Location of the HTML document for the "Profile Description" dialog</comment> 
     2613  </data> 
     2614  <data name="Preferences_Level_ComboBox_Profile_1" xml:space="preserve"> 
     2615    <value>Profile 1</value> 
     2616  </data> 
     2617  <data name="Preferences_Level_ComboBox_Profile_2" xml:space="preserve"> 
     2618    <value>Profile 2</value> 
     2619  </data> 
    26102620</root> 
Note: See TracChangeset for help on using the changeset viewer.