SVN r463
SVN-Revision: r463
This commit is contained in:
@@ -617,6 +617,12 @@ namespace Lskj.ProductPlatform
|
||||
timer1.Interval = 1000 * 60 * (SystemInfo.Instance.Interval > 0 ? SystemInfo.Instance.Interval : 5);
|
||||
timer1.Start();
|
||||
}
|
||||
if (SystemInfo.Instance.HideHelpDocument)
|
||||
{
|
||||
this.button8.Visible = false;
|
||||
}
|
||||
|
||||
|
||||
this.gcMain.GridView.FocusedRowChanged += new DevExpress.XtraGrid.Views.Base.FocusedRowChangedEventHandler(OnRowFocusedRowChanged);
|
||||
|
||||
//this.gcMain.GridView.OptionsView.ShowFooter = false;
|
||||
@@ -699,6 +705,7 @@ namespace Lskj.ProductPlatform
|
||||
DataRow focusedRow = this.gcMain.GridView.GetFocusedDataRow();
|
||||
|
||||
GridRightMenuModel model = button.Tag as GridRightMenuModel;
|
||||
|
||||
if (rowItem == null && !model.isStartRun)
|
||||
{
|
||||
MessageUtil.Show(ResourceKeys.SelectRowIsNull);
|
||||
@@ -710,6 +717,7 @@ namespace Lskj.ProductPlatform
|
||||
{
|
||||
this.SearchLastGrid();
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -1343,37 +1351,4 @@ namespace Lskj.ProductPlatform
|
||||
if (!string.IsNullOrWhiteSpace(ERPInfo.Instance.LanguageName))
|
||||
{
|
||||
//翻译按钮固定文本
|
||||
this.TranslationFixedButton(this.panelControl13);
|
||||
this.label5.Visible = false;
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
string Message = ErrorMessage.PromptErrorMessage(ex);
|
||||
MessageUtil.Show(Message, ex.Message);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 翻译文本
|
||||
/// </summary>
|
||||
/// <param name="Control"></param>
|
||||
public void TranslationFixedButton(System.Windows.Forms.Control Control)
|
||||
{
|
||||
if (!string.IsNullOrWhiteSpace(ERPInfo.Instance.LanguageName))
|
||||
{
|
||||
foreach (System.Windows.Forms.Control ctrol in Control.Controls)
|
||||
{
|
||||
if (ctrol is Button)
|
||||
{
|
||||
Button simpleButton = ctrol as Button;
|
||||
simpleButton.Text = Business.Impl.LanguageTranslation.GetTranslatedText(ctrol.Text);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
this.TranslationFixedButton(this.panelC
|
||||
Reference in New Issue
Block a user