コード例 #1
0
 public frmFormulirOperator(frmOperator frm, string nik, string nama, string level)
 {
     InitializeComponent();
     editMode               = true;
     this.nik               = nik;
     this.frm2              = frm;
     this.Text              = "Edit Operator";
     cmbNIK.Text            = nik;
     cmbNIK.Enabled         = false;
     button3.Visible        = false;
     txtNama.Text           = nama;
     cmbLevel.Text          = level;
     txtPassword.Visible    = false;
     txtConPassword.Visible = false;
     lbWarning.Visible      = true;
 }
コード例 #2
0
 public frmFormulirOperator(frmOperator frm)
 {
     InitializeComponent();
     editMode               = false;
     this.nik               = "";
     this.frm2              = frm;
     this.Text              = "Tambah Operator";
     cmbNIK.Text            = "";
     cmbNIK.Enabled         = true;
     button3.Visible        = true;
     txtNama.Text           = "";
     cmbLevel.SelectedIndex = 1;
     txtPassword.Text       = "";
     txtConPassword.Text    = "";
     lbWarning.Visible      = false;
 }