本文整理汇总了C#中DevExpress.Hide方法的典型用法代码示例。如果您正苦于以下问题:C# DevExpress.Hide方法的具体用法?C# DevExpress.Hide怎么用?C# DevExpress.Hide使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类DevExpress
的用法示例。
在下文中一共展示了DevExpress.Hide方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: ReadMyExcel
//.........这里部分代码省略.........
{
_SMVtype = (string)(MySheet.Cells[index, 4].Value.ToString());
t.SMVType = _SMVtype;
// D ebug.WriteLine(opration);
}
if (MySheet.Cells[index, 6].Value != null)
{
_SMV = (string)(MySheet.Cells[index, 6].Value.ToString());
_SMVtype = "M/C";
try {
t.SMV = Convert.ToDouble(_SMV);
t.SMVType = _SMVtype;
}
catch(Exception ex){
t.SMV = 0;
t.SMVType = _SMVtype;
Debug.WriteLine(ex.Message);
}
// D ebug.WriteLine(opration);
}
if (MySheet.Cells[index, 7].Value != null)
{
_SMV = (string)(MySheet.Cells[index, 7].Value.ToString());
_SMVtype = "M/A";
try {
t.SMV = Convert.ToDouble(_SMV);
t.SMVType = _SMVtype;
}
catch(Exception ex){
t.SMV = 0;
t.SMVType = _SMVtype;
Debug.WriteLine(ex.Message);
}
// D ebug.WriteLine(opration);
}
if (MySheet.Cells[index, 8].Value != null)
{
_OprationRole = (string)(MySheet.Cells[index, 8].Value.ToString());
t.OprationRole = _OprationRole;
// D ebug.WriteLine(opration);
}
else {
t.OprationRole ="None";
}
if (MySheet.Cells[index, 9].Value != null)
{
_OprationGrade = (string)(MySheet.Cells[index, 9].Value.ToString());
t.OprationGrade = _OprationGrade;
// D ebug.WriteLine(opration);
}
else {
t.OprationGrade = "None";
}
GenaricRepository<TempOpration> _TempOprationRepository = new GenaricRepository<TempOpration>(new ItrackContext());
bar.PerformStep();
if (_hasData == true && GetoprationByID(t.OprationID).Count == 0)
{
_TempOprationRepository.Insert(t);
}
//oprationList.Add(new OperationPool
// {
// OperationPoolID = MyValues.GetValue(1, 1).ToString(),
// OpationName = MyValues.GetValue(1, 2).ToString(),
// MachineType = MyValues.GetValue(1, 3).ToString(),
// SMVType = MyValues.GetValue(1, 4).ToString(),
// SMV = Convert.ToDouble(MyValues.GetValue(1, 4).ToString())
// });
}
bar.Hide();
return oprationList;
}
示例2: DoDayend
public static async Task<bool> DoDayend( Label lbl,DevExpress.XtraWaitForm.ProgressPanel pnl,DateTime _now) {
try {
lbl.Text = "Calculating Production Figures..";
pnl.Show();
await Task.Run(() =>
{
// AddIndividualProductionSummary(_now,txt);
});
lbl.Text = "Sucecessfuly Completed !";
pnl.Hide();
return true;
}
catch(Exception ex){
Debug.WriteLine(ex.Message);
return false;
}
}