コード例 #1
0
 private void Init()
 {
     this.Height = 350;
     PrjStdsMapTableParser.CnfgFile = @"E:\MAS二期\投影库\GeoDo.Project\Output\GeoDo.Project.Cnfg.xml";
     ProParas            = new ProjectParas();
     frmSetPara          = new FormSetParas();
     _sbInfo             = new StringBuilder();
     ProParas.PrjSetting = new FY3_MERSI_PrjSettings();
 }
コード例 #2
0
 private void btnSetPara_Click(object sender, EventArgs e)
 {
     if (frmSetPara.IsDisposed)
     {
         frmSetPara = new FormSetParas();
     }
     frmSetPara.Show();
     frmSetPara.ProParas = this.ProParas;
     frmSetPara.SetDesktopLocation(this.DesktopLocation.X + this.Width, this.DesktopLocation.Y);
     frmSetPara.MainFrmPoint = this.DesktopLocation;
     frmSetPara.MainFrmSize  = this.Size;
     _oldLocation            = this.Location;
 }