コード例 #1
0
        private void LoadInterface()
        {
            if (frmInterface == null)
            {
                frmInterface = new frmStateDetails();
            }

            if (IsEdit)
            {
                frmInterface.IsEdit    = true;
                frmInterface.StateCode = StateCode;
                frmInterface.StateName = StateName;
            }
            else if (IsAdd)
            {
                frmInterface.IsAdd     = true;
                frmInterface.StateCode = StateCode;
                frmInterface.StateName = StateName;
            }
        }
コード例 #2
0
 private void UnloadInterface()
 {
     frmInterface.Close();
     frmInterface = null;
 }