| | |
| | | /// <param name="i_gateway"></param>
|
| | | public void ShowForm(ZbGateway i_gateway)
|
| | | {
|
| | | HdlFileLogic.Current.CreateDirectory(System.IO.Path.Combine(DirNameResourse.LocalMemoryDirectory, "MyTempDir"), true);
|
| | | HdlFileLogic.Current.CreateDirectory(System.IO.Path.Combine(HdlFileNameResourse.LocalMemoryDirectory, "MyTempDir"), true);
|
| | | this.zbGateway = i_gateway;
|
| | | //设置标题信息
|
| | | base.SetTitleText("网关文件列表");
|
| | |
| | |
|
| | | var btnButton = new NormalViewControl(300, 69, true);
|
| | | btnButton.Gravity = Gravity.CenterVertical;
|
| | | btnButton.X = bodyFrameLayout.Width - Application.GetRealWidth(300) - ControlCommonResourse.XXLeft;
|
| | | btnButton.X = bodyFrameLayout.Width - Application.GetRealWidth(300) - HdlControlResourse.XXLeft;
|
| | | btnButton.TextColor = UserCenterColor.Current.TopLayoutTitleText;
|
| | | btnButton.TextAlignment = TextAlignment.CenterRight;
|
| | | btnButton.TextSize = 17;
|
| | |
| | | /// </summary>
|
| | | public override void CloseFormBefore()
|
| | | {
|
| | | HdlFileLogic.Current.DeleteDirectory(System.IO.Path.Combine(DirNameResourse.LocalMemoryDirectory, "MyTempDir"));
|
| | | HdlFileLogic.Current.DeleteDirectory(System.IO.Path.Combine(HdlFileNameResourse.LocalMemoryDirectory, "MyTempDir"));
|
| | |
|
| | | base.CloseFormBefore();
|
| | | }
|