예제 #1
0
 public frmSimcard(Guid guid, bool isShowMode)
 {
     InitializeComponent();
     cls = SimcardBussines.Get(guid);
     grpAccount.Enabled = !isShowMode;
     btnFinish.Enabled  = !isShowMode;
 }
예제 #2
0
 public frmSimcardMain(Guid guid, bool isShowMode)
 {
     InitializeComponent();
     cls                 = SimcardBussines.Get(guid);
     ucHeader.Text       = !isShowMode ? $"ویرایش سیمکارت {cls.Number}" : $"مشاهده سیمکارت {cls.Number}";
     ucHeader.IsModified = true;
     grp.Enabled         = !isShowMode;
     btnFinish.Enabled   = !isShowMode;
 }