Esempio n. 1
0
 public void masuk()
 {
    if (!(txtUserName.Text == "" || passwordBox1.Password == ""))
    {
       if (F.checkPass(txtUserName.Text, passwordBox1.Password))
       {
          if (txtUserName.Text == "admin")
          {
             Admin a = new Admin();
             a.Show();
             this.Hide();
          }
          siapa.anda = txtUserName.Text;
          string pilih = txtUserName.Text;
          switch (pilih[1])
          {
             case '1':
                //MessageBox.Show("Dokter");
                Dokter d = new Dokter();
                d.Show();
                this.Hide();
                break;
             case '2':
                //MessageBox.Show("Perawat");
                Perawat p = new Perawat();
                p.Show();
                this.Hide();
                break;
             case '3':
                //MessageBox.Show("Karyawan");
                Karyawan k = new Karyawan();
                k.Show();
                this.Hide();
                break;
             case '4':
                //MessageBox.Show("Pasien");
                Pasien s = new Pasien();
                s.Show();
                this.Hide();
                break;
          }
       }
       else if (txtUserName.Text == "su" && passwordBox1.Password == "superuser")
       {
          Admin a = new Admin();
          a.Show();
          this.Hide();
       }
       else MessageBox.Show("Username dan Password tidak cocok", "Peringatan", MessageBoxButton.OK, MessageBoxImage.Warning);
    }
    else if (txtUserName.Text == "" && !(passwordBox1.Password == ""))
       MessageBox.Show("username kosong");
    else if (passwordBox1.Password == "" && !(txtUserName.Text == ""))
       MessageBox.Show("password kosong");
    else MessageBox.Show("username & password kosong");
 }
Esempio n. 2
0
        public void masuk()
        {
            if (!(txtUserName.Text == "" || passwordBox1.Password == ""))
            {
                if (F.checkPass(txtUserName.Text, passwordBox1.Password))
                {
                    if (txtUserName.Text == "admin")
                    {
                        Admin a = new Admin();
                        a.Show();
                        this.Hide();
                    }
                    siapa.anda = txtUserName.Text;
                    string pilih = txtUserName.Text;
                    switch (pilih[1])
                    {
                    case '1':
                        //MessageBox.Show("Dokter");
                        Dokter d = new Dokter();
                        d.Show();
                        this.Hide();
                        break;

                    case '2':
                        //MessageBox.Show("Perawat");
                        Perawat p = new Perawat();
                        p.Show();
                        this.Hide();
                        break;

                    case '3':
                        //MessageBox.Show("Karyawan");
                        Karyawan k = new Karyawan();
                        k.Show();
                        this.Hide();
                        break;

                    case '4':
                        //MessageBox.Show("Pasien");
                        Pasien s = new Pasien();
                        s.Show();
                        this.Hide();
                        break;
                    }
                }
                else if (txtUserName.Text == "su" && passwordBox1.Password == "superuser")
                {
                    Admin a = new Admin();
                    a.Show();
                    this.Hide();
                }
                else
                {
                    MessageBox.Show("Username dan Password tidak cocok", "Peringatan", MessageBoxButton.OK, MessageBoxImage.Warning);
                }
            }
            else if (txtUserName.Text == "" && !(passwordBox1.Password == ""))
            {
                MessageBox.Show("username kosong");
            }
            else if (passwordBox1.Password == "" && !(txtUserName.Text == ""))
            {
                MessageBox.Show("password kosong");
            }
            else
            {
                MessageBox.Show("username & password kosong");
            }
        }
Esempio n. 3
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.dokter = ((TCHusada.Dokter)(target));
     return;
     case 2:
     this.FormFade = ((System.Windows.Media.Animation.Storyboard)(target));
     return;
     case 3:
     this.FormFadeAnimation = ((System.Windows.Media.Animation.DoubleAnimation)(target));
     return;
     case 4:
     this.imgBackground = ((System.Windows.Controls.Image)(target));
     return;
     case 5:
     this.labeljam = ((System.Windows.Controls.Label)(target));
     return;
     case 6:
     this.labellogin = ((System.Windows.Controls.Label)(target));
     return;
     case 7:
     this.image1 = ((System.Windows.Controls.Image)(target));
     
     #line 32 "..\..\..\Dokter.xaml"
     this.image1.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.image1_MouseDown);
     
     #line default
     #line hidden
     return;
     case 8:
     this.tblogout = ((System.Windows.Controls.Label)(target));
     
     #line 33 "..\..\..\Dokter.xaml"
     this.tblogout.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.tblogout_MouseDown);
     
     #line default
     #line hidden
     return;
     case 9:
     this.labelpengguna = ((System.Windows.Controls.Label)(target));
     return;
     case 10:
     this.tblexit = ((System.Windows.Controls.Label)(target));
     
     #line 35 "..\..\..\Dokter.xaml"
     this.tblexit.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.tblexit_MouseDown);
     
     #line default
     #line hidden
     return;
     case 11:
     this.tabControl1 = ((System.Windows.Controls.TabControl)(target));
     return;
     case 12:
     this.tabItemSaya = ((System.Windows.Controls.TabItem)(target));
     return;
     case 13:
     this.groupBoxTT = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 14:
     this.labelniptt = ((System.Windows.Controls.Label)(target));
     return;
     case 15:
     this.labelnamtt = ((System.Windows.Controls.Label)(target));
     return;
     case 16:
     this.labelalatt = ((System.Windows.Controls.Label)(target));
     return;
     case 17:
     this.labelklmtt = ((System.Windows.Controls.Label)(target));
     return;
     case 18:
     this.labeltlptt = ((System.Windows.Controls.Label)(target));
     return;
     case 19:
     this.textBoxniptt = ((System.Windows.Controls.TextBox)(target));
     return;
     case 20:
     this.textBoxnamtt = ((System.Windows.Controls.TextBox)(target));
     return;
     case 21:
     this.textBoxalatt = ((System.Windows.Controls.TextBox)(target));
     return;
     case 22:
     this.textBoxklmtt = ((System.Windows.Controls.TextBox)(target));
     return;
     case 23:
     this.textBoxtlptt = ((System.Windows.Controls.TextBox)(target));
     return;
     case 24:
     this.ubahbtntt = ((System.Windows.Controls.Button)(target));
     
     #line 51 "..\..\..\Dokter.xaml"
     this.ubahbtntt.Click += new System.Windows.RoutedEventHandler(this.ubahbtntt_Click);
     
     #line default
     #line hidden
     return;
     case 25:
     this.simpanbtntt = ((System.Windows.Controls.Button)(target));
     
     #line 52 "..\..\..\Dokter.xaml"
     this.simpanbtntt.Click += new System.Windows.RoutedEventHandler(this.simpanbtntt_Click);
     
     #line default
     #line hidden
     return;
     case 26:
     this.bersihbtntt = ((System.Windows.Controls.Button)(target));
     
     #line 53 "..\..\..\Dokter.xaml"
     this.bersihbtntt.Click += new System.Windows.RoutedEventHandler(this.bersihbtntt_Click);
     
     #line default
     #line hidden
     return;
     case 27:
     this.batalbtntt = ((System.Windows.Controls.Button)(target));
     
     #line 54 "..\..\..\Dokter.xaml"
     this.batalbtntt.Click += new System.Windows.RoutedEventHandler(this.batalbtntt_Click);
     
     #line default
     #line hidden
     return;
     case 28:
     this.groupgntp = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 29:
     this.gantibtn = ((System.Windows.Controls.Button)(target));
     
     #line 59 "..\..\..\Dokter.xaml"
     this.gantibtn.Click += new System.Windows.RoutedEventHandler(this.gantibtn_Click);
     
     #line default
     #line hidden
     return;
     case 30:
     this.simpnbtn = ((System.Windows.Controls.Button)(target));
     
     #line 60 "..\..\..\Dokter.xaml"
     this.simpnbtn.Click += new System.Windows.RoutedEventHandler(this.simpnbtn_Click);
     
     #line default
     #line hidden
     return;
     case 31:
     this.batlbtn = ((System.Windows.Controls.Button)(target));
     
     #line 61 "..\..\..\Dokter.xaml"
     this.batlbtn.Click += new System.Windows.RoutedEventHandler(this.batlbtn_Click);
     
     #line default
     #line hidden
     return;
     case 32:
     this.pwdlama = ((System.Windows.Controls.Label)(target));
     return;
     case 33:
     this.pwdbaru = ((System.Windows.Controls.Label)(target));
     return;
     case 34:
     this.pwdlagi = ((System.Windows.Controls.Label)(target));
     return;
     case 35:
     this.passwordLama = ((System.Windows.Controls.PasswordBox)(target));
     return;
     case 36:
     this.passwordBaru = ((System.Windows.Controls.PasswordBox)(target));
     return;
     case 37:
     this.passwordBaru2 = ((System.Windows.Controls.PasswordBox)(target));
     return;
     case 38:
     this.groupBoxrepot = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 39:
     this.tesreportbtn = ((System.Windows.Controls.Button)(target));
     
     #line 72 "..\..\..\Dokter.xaml"
     this.tesreportbtn.Click += new System.Windows.RoutedEventHandler(this.tesreportbtn_Click);
     
     #line default
     #line hidden
     return;
     case 40:
     this.tabItemRekam = ((System.Windows.Controls.TabItem)(target));
     return;
     case 41:
     this.labelRMpass = ((System.Windows.Controls.Label)(target));
     return;
     case 42:
     this.spMainRM = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 43:
     this.dataGridRM = ((System.Windows.Controls.DataGrid)(target));
     
     #line 81 "..\..\..\Dokter.xaml"
     this.dataGridRM.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.dataGridRM_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 44:
     this.groupBoxRM = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 45:
     this.textidrm = ((System.Windows.Controls.TextBox)(target));
     return;
     case 46:
     this.textnopasrm = ((System.Windows.Controls.TextBox)(target));
     return;
     case 47:
     this.textpenyrm = ((System.Windows.Controls.TextBox)(target));
     return;
     case 48:
     this.datemasrm = ((System.Windows.Controls.DatePicker)(target));
     return;
     case 49:
     this.datekelrm = ((System.Windows.Controls.DatePicker)(target));
     return;
     case 50:
     this.labelidrm = ((System.Windows.Controls.Label)(target));
     return;
     case 51:
     this.labelnopasrm = ((System.Windows.Controls.Label)(target));
     return;
     case 52:
     this.labelpenyrm = ((System.Windows.Controls.Label)(target));
     return;
     case 53:
     this.labeltglmasrm = ((System.Windows.Controls.Label)(target));
     return;
     case 54:
     this.labeltglkelrm = ((System.Windows.Controls.Label)(target));
     return;
     case 55:
     this.simpanrm = ((System.Windows.Controls.Button)(target));
     
     #line 104 "..\..\..\Dokter.xaml"
     this.simpanrm.Click += new System.Windows.RoutedEventHandler(this.simpanrm_Click);
     
     #line default
     #line hidden
     return;
     case 56:
     this.bersihrm = ((System.Windows.Controls.Button)(target));
     
     #line 105 "..\..\..\Dokter.xaml"
     this.bersihrm.Click += new System.Windows.RoutedEventHandler(this.bersihrm_Click);
     
     #line default
     #line hidden
     return;
     case 57:
     this.batalrma = ((System.Windows.Controls.Button)(target));
     
     #line 106 "..\..\..\Dokter.xaml"
     this.batalrma.Click += new System.Windows.RoutedEventHandler(this.batalrma_Click);
     
     #line default
     #line hidden
     return;
     case 58:
     this.tambahrm = ((System.Windows.Controls.Button)(target));
     
     #line 107 "..\..\..\Dokter.xaml"
     this.tambahrm.Click += new System.Windows.RoutedEventHandler(this.tambahrm_Click);
     
     #line default
     #line hidden
     return;
     case 59:
     this.groupBox1 = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 60:
     this.tampilcust = ((System.Windows.Controls.Button)(target));
     
     #line 112 "..\..\..\Dokter.xaml"
     this.tampilcust.Click += new System.Windows.RoutedEventHandler(this.tampilcust_Click);
     
     #line default
     #line hidden
     return;
     case 61:
     this.kembalicust = ((System.Windows.Controls.Button)(target));
     
     #line 113 "..\..\..\Dokter.xaml"
     this.kembalicust.Click += new System.Windows.RoutedEventHandler(this.kembalicust_Click);
     
     #line default
     #line hidden
     return;
     case 62:
     this.nopasscust = ((System.Windows.Controls.TextBox)(target));
     return;
     case 63:
     this.labelnopass = ((System.Windows.Controls.Label)(target));
     return;
     case 64:
     this.refreshrm = ((System.Windows.Controls.Button)(target));
     
     #line 120 "..\..\..\Dokter.xaml"
     this.refreshrm.Click += new System.Windows.RoutedEventHandler(this.refreshrm_Click);
     
     #line default
     #line hidden
     return;
     case 65:
     this.tabItemResep = ((System.Windows.Controls.TabItem)(target));
     return;
     case 66:
     this.spMainRSP = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 67:
     this.tambahresep = ((System.Windows.Controls.Button)(target));
     
     #line 128 "..\..\..\Dokter.xaml"
     this.tambahresep.Click += new System.Windows.RoutedEventHandler(this.tambahresep_Click);
     
     #line default
     #line hidden
     return;
     case 68:
     this.groupBoxresep = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 69:
     this.label1 = ((System.Windows.Controls.Label)(target));
     return;
     case 70:
     this.label2 = ((System.Windows.Controls.Label)(target));
     return;
     case 71:
     this.label3 = ((System.Windows.Controls.Label)(target));
     return;
     case 72:
     this.textidresep = ((System.Windows.Controls.TextBox)(target));
     return;
     case 73:
     this.textidriwayatres = ((System.Windows.Controls.TextBox)(target));
     return;
     case 74:
     this.texthargatotres = ((System.Windows.Controls.TextBox)(target));
     return;
     case 75:
     this.groupBoxdetil = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 76:
     this.label4 = ((System.Windows.Controls.Label)(target));
     return;
     case 77:
     this.dataGridDetil = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 78:
     this.tambahobat = ((System.Windows.Controls.Button)(target));
     
     #line 149 "..\..\..\Dokter.xaml"
     this.tambahobat.Click += new System.Windows.RoutedEventHandler(this.tambahobat_Click);
     
     #line default
     #line hidden
     return;
     case 79:
     this.textnoobatres = ((System.Windows.Controls.TextBox)(target));
     return;
     case 80:
     this.hapusobat = ((System.Windows.Controls.Button)(target));
     
     #line 151 "..\..\..\Dokter.xaml"
     this.hapusobat.Click += new System.Windows.RoutedEventHandler(this.hapusobat_Click);
     
     #line default
     #line hidden
     return;
     case 81:
     this.lbldosis = ((System.Windows.Controls.Label)(target));
     return;
     case 82:
     this.textdosis = ((System.Windows.Controls.TextBox)(target));
     return;
     case 83:
     this.groupBoxlst = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 84:
     this.dataGridObat = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 85:
     this.applyresep = ((System.Windows.Controls.Button)(target));
     
     #line 168 "..\..\..\Dokter.xaml"
     this.applyresep.Click += new System.Windows.RoutedEventHandler(this.applyresep_Click);
     
     #line default
     #line hidden
     return;
     case 86:
     this.simpanresep = ((System.Windows.Controls.Button)(target));
     
     #line 169 "..\..\..\Dokter.xaml"
     this.simpanresep.Click += new System.Windows.RoutedEventHandler(this.simpanresep_Click);
     
     #line default
     #line hidden
     return;
     case 87:
     this.batalresep = ((System.Windows.Controls.Button)(target));
     
     #line 170 "..\..\..\Dokter.xaml"
     this.batalresep.Click += new System.Windows.RoutedEventHandler(this.batalresep_Click);
     
     #line default
     #line hidden
     return;
     case 88:
     this.tabItemJadwalD = ((System.Windows.Controls.TabItem)(target));
     return;
     case 89:
     this.labeljadwaldok = ((System.Windows.Controls.Label)(target));
     return;
     case 90:
     this.dataGridjadwaldok = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 91:
     this.labeljadwalper = ((System.Windows.Controls.Label)(target));
     return;
     case 92:
     this.dataGridjadwalper = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 93:
     this.jdwldoksya = ((System.Windows.Controls.Button)(target));
     
     #line 198 "..\..\..\Dokter.xaml"
     this.jdwldoksya.Click += new System.Windows.RoutedEventHandler(this.jdwldoksya_Click);
     
     #line default
     #line hidden
     return;
     case 94:
     this.jdwldoksmua = ((System.Windows.Controls.Button)(target));
     
     #line 199 "..\..\..\Dokter.xaml"
     this.jdwldoksmua.Click += new System.Windows.RoutedEventHandler(this.jdwldoksmua_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Esempio n. 4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.dokter = ((TCHusada.Dokter)(target));
                return;

            case 2:
                this.FormFade = ((System.Windows.Media.Animation.Storyboard)(target));
                return;

            case 3:
                this.FormFadeAnimation = ((System.Windows.Media.Animation.DoubleAnimation)(target));
                return;

            case 4:
                this.imgBackground = ((System.Windows.Controls.Image)(target));
                return;

            case 5:
                this.labeljam = ((System.Windows.Controls.Label)(target));
                return;

            case 6:
                this.labellogin = ((System.Windows.Controls.Label)(target));
                return;

            case 7:
                this.image1 = ((System.Windows.Controls.Image)(target));

            #line 32 "..\..\..\Dokter.xaml"
                this.image1.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.image1_MouseDown);

            #line default
            #line hidden
                return;

            case 8:
                this.tblogout = ((System.Windows.Controls.Label)(target));

            #line 33 "..\..\..\Dokter.xaml"
                this.tblogout.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.tblogout_MouseDown);

            #line default
            #line hidden
                return;

            case 9:
                this.labelpengguna = ((System.Windows.Controls.Label)(target));
                return;

            case 10:
                this.tblexit = ((System.Windows.Controls.Label)(target));

            #line 35 "..\..\..\Dokter.xaml"
                this.tblexit.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.tblexit_MouseDown);

            #line default
            #line hidden
                return;

            case 11:
                this.tabControl1 = ((System.Windows.Controls.TabControl)(target));
                return;

            case 12:
                this.tabItemSaya = ((System.Windows.Controls.TabItem)(target));
                return;

            case 13:
                this.groupBoxTT = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 14:
                this.labelniptt = ((System.Windows.Controls.Label)(target));
                return;

            case 15:
                this.labelnamtt = ((System.Windows.Controls.Label)(target));
                return;

            case 16:
                this.labelalatt = ((System.Windows.Controls.Label)(target));
                return;

            case 17:
                this.labelklmtt = ((System.Windows.Controls.Label)(target));
                return;

            case 18:
                this.labeltlptt = ((System.Windows.Controls.Label)(target));
                return;

            case 19:
                this.textBoxniptt = ((System.Windows.Controls.TextBox)(target));
                return;

            case 20:
                this.textBoxnamtt = ((System.Windows.Controls.TextBox)(target));
                return;

            case 21:
                this.textBoxalatt = ((System.Windows.Controls.TextBox)(target));
                return;

            case 22:
                this.textBoxklmtt = ((System.Windows.Controls.TextBox)(target));
                return;

            case 23:
                this.textBoxtlptt = ((System.Windows.Controls.TextBox)(target));
                return;

            case 24:
                this.ubahbtntt = ((System.Windows.Controls.Button)(target));

            #line 51 "..\..\..\Dokter.xaml"
                this.ubahbtntt.Click += new System.Windows.RoutedEventHandler(this.ubahbtntt_Click);

            #line default
            #line hidden
                return;

            case 25:
                this.simpanbtntt = ((System.Windows.Controls.Button)(target));

            #line 52 "..\..\..\Dokter.xaml"
                this.simpanbtntt.Click += new System.Windows.RoutedEventHandler(this.simpanbtntt_Click);

            #line default
            #line hidden
                return;

            case 26:
                this.bersihbtntt = ((System.Windows.Controls.Button)(target));

            #line 53 "..\..\..\Dokter.xaml"
                this.bersihbtntt.Click += new System.Windows.RoutedEventHandler(this.bersihbtntt_Click);

            #line default
            #line hidden
                return;

            case 27:
                this.batalbtntt = ((System.Windows.Controls.Button)(target));

            #line 54 "..\..\..\Dokter.xaml"
                this.batalbtntt.Click += new System.Windows.RoutedEventHandler(this.batalbtntt_Click);

            #line default
            #line hidden
                return;

            case 28:
                this.groupgntp = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 29:
                this.gantibtn = ((System.Windows.Controls.Button)(target));

            #line 59 "..\..\..\Dokter.xaml"
                this.gantibtn.Click += new System.Windows.RoutedEventHandler(this.gantibtn_Click);

            #line default
            #line hidden
                return;

            case 30:
                this.simpnbtn = ((System.Windows.Controls.Button)(target));

            #line 60 "..\..\..\Dokter.xaml"
                this.simpnbtn.Click += new System.Windows.RoutedEventHandler(this.simpnbtn_Click);

            #line default
            #line hidden
                return;

            case 31:
                this.batlbtn = ((System.Windows.Controls.Button)(target));

            #line 61 "..\..\..\Dokter.xaml"
                this.batlbtn.Click += new System.Windows.RoutedEventHandler(this.batlbtn_Click);

            #line default
            #line hidden
                return;

            case 32:
                this.pwdlama = ((System.Windows.Controls.Label)(target));
                return;

            case 33:
                this.pwdbaru = ((System.Windows.Controls.Label)(target));
                return;

            case 34:
                this.pwdlagi = ((System.Windows.Controls.Label)(target));
                return;

            case 35:
                this.passwordLama = ((System.Windows.Controls.PasswordBox)(target));
                return;

            case 36:
                this.passwordBaru = ((System.Windows.Controls.PasswordBox)(target));
                return;

            case 37:
                this.passwordBaru2 = ((System.Windows.Controls.PasswordBox)(target));
                return;

            case 38:
                this.groupBoxrepot = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 39:
                this.tesreportbtn = ((System.Windows.Controls.Button)(target));

            #line 72 "..\..\..\Dokter.xaml"
                this.tesreportbtn.Click += new System.Windows.RoutedEventHandler(this.tesreportbtn_Click);

            #line default
            #line hidden
                return;

            case 40:
                this.tabItemRekam = ((System.Windows.Controls.TabItem)(target));
                return;

            case 41:
                this.labelRMpass = ((System.Windows.Controls.Label)(target));
                return;

            case 42:
                this.spMainRM = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 43:
                this.dataGridRM = ((System.Windows.Controls.DataGrid)(target));

            #line 81 "..\..\..\Dokter.xaml"
                this.dataGridRM.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.dataGridRM_SelectionChanged);

            #line default
            #line hidden
                return;

            case 44:
                this.groupBoxRM = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 45:
                this.textidrm = ((System.Windows.Controls.TextBox)(target));
                return;

            case 46:
                this.textnopasrm = ((System.Windows.Controls.TextBox)(target));
                return;

            case 47:
                this.textpenyrm = ((System.Windows.Controls.TextBox)(target));
                return;

            case 48:
                this.datemasrm = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 49:
                this.datekelrm = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 50:
                this.labelidrm = ((System.Windows.Controls.Label)(target));
                return;

            case 51:
                this.labelnopasrm = ((System.Windows.Controls.Label)(target));
                return;

            case 52:
                this.labelpenyrm = ((System.Windows.Controls.Label)(target));
                return;

            case 53:
                this.labeltglmasrm = ((System.Windows.Controls.Label)(target));
                return;

            case 54:
                this.labeltglkelrm = ((System.Windows.Controls.Label)(target));
                return;

            case 55:
                this.simpanrm = ((System.Windows.Controls.Button)(target));

            #line 104 "..\..\..\Dokter.xaml"
                this.simpanrm.Click += new System.Windows.RoutedEventHandler(this.simpanrm_Click);

            #line default
            #line hidden
                return;

            case 56:
                this.bersihrm = ((System.Windows.Controls.Button)(target));

            #line 105 "..\..\..\Dokter.xaml"
                this.bersihrm.Click += new System.Windows.RoutedEventHandler(this.bersihrm_Click);

            #line default
            #line hidden
                return;

            case 57:
                this.batalrma = ((System.Windows.Controls.Button)(target));

            #line 106 "..\..\..\Dokter.xaml"
                this.batalrma.Click += new System.Windows.RoutedEventHandler(this.batalrma_Click);

            #line default
            #line hidden
                return;

            case 58:
                this.tambahrm = ((System.Windows.Controls.Button)(target));

            #line 107 "..\..\..\Dokter.xaml"
                this.tambahrm.Click += new System.Windows.RoutedEventHandler(this.tambahrm_Click);

            #line default
            #line hidden
                return;

            case 59:
                this.groupBox1 = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 60:
                this.tampilcust = ((System.Windows.Controls.Button)(target));

            #line 112 "..\..\..\Dokter.xaml"
                this.tampilcust.Click += new System.Windows.RoutedEventHandler(this.tampilcust_Click);

            #line default
            #line hidden
                return;

            case 61:
                this.kembalicust = ((System.Windows.Controls.Button)(target));

            #line 113 "..\..\..\Dokter.xaml"
                this.kembalicust.Click += new System.Windows.RoutedEventHandler(this.kembalicust_Click);

            #line default
            #line hidden
                return;

            case 62:
                this.nopasscust = ((System.Windows.Controls.TextBox)(target));
                return;

            case 63:
                this.labelnopass = ((System.Windows.Controls.Label)(target));
                return;

            case 64:
                this.refreshrm = ((System.Windows.Controls.Button)(target));

            #line 120 "..\..\..\Dokter.xaml"
                this.refreshrm.Click += new System.Windows.RoutedEventHandler(this.refreshrm_Click);

            #line default
            #line hidden
                return;

            case 65:
                this.tabItemResep = ((System.Windows.Controls.TabItem)(target));
                return;

            case 66:
                this.spMainRSP = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 67:
                this.tambahresep = ((System.Windows.Controls.Button)(target));

            #line 128 "..\..\..\Dokter.xaml"
                this.tambahresep.Click += new System.Windows.RoutedEventHandler(this.tambahresep_Click);

            #line default
            #line hidden
                return;

            case 68:
                this.groupBoxresep = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 69:
                this.label1 = ((System.Windows.Controls.Label)(target));
                return;

            case 70:
                this.label2 = ((System.Windows.Controls.Label)(target));
                return;

            case 71:
                this.label3 = ((System.Windows.Controls.Label)(target));
                return;

            case 72:
                this.textidresep = ((System.Windows.Controls.TextBox)(target));
                return;

            case 73:
                this.textidriwayatres = ((System.Windows.Controls.TextBox)(target));
                return;

            case 74:
                this.texthargatotres = ((System.Windows.Controls.TextBox)(target));
                return;

            case 75:
                this.groupBoxdetil = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 76:
                this.label4 = ((System.Windows.Controls.Label)(target));
                return;

            case 77:
                this.dataGridDetil = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 78:
                this.tambahobat = ((System.Windows.Controls.Button)(target));

            #line 149 "..\..\..\Dokter.xaml"
                this.tambahobat.Click += new System.Windows.RoutedEventHandler(this.tambahobat_Click);

            #line default
            #line hidden
                return;

            case 79:
                this.textnoobatres = ((System.Windows.Controls.TextBox)(target));
                return;

            case 80:
                this.hapusobat = ((System.Windows.Controls.Button)(target));

            #line 151 "..\..\..\Dokter.xaml"
                this.hapusobat.Click += new System.Windows.RoutedEventHandler(this.hapusobat_Click);

            #line default
            #line hidden
                return;

            case 81:
                this.lbldosis = ((System.Windows.Controls.Label)(target));
                return;

            case 82:
                this.textdosis = ((System.Windows.Controls.TextBox)(target));
                return;

            case 83:
                this.groupBoxlst = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 84:
                this.dataGridObat = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 85:
                this.applyresep = ((System.Windows.Controls.Button)(target));

            #line 168 "..\..\..\Dokter.xaml"
                this.applyresep.Click += new System.Windows.RoutedEventHandler(this.applyresep_Click);

            #line default
            #line hidden
                return;

            case 86:
                this.simpanresep = ((System.Windows.Controls.Button)(target));

            #line 169 "..\..\..\Dokter.xaml"
                this.simpanresep.Click += new System.Windows.RoutedEventHandler(this.simpanresep_Click);

            #line default
            #line hidden
                return;

            case 87:
                this.batalresep = ((System.Windows.Controls.Button)(target));

            #line 170 "..\..\..\Dokter.xaml"
                this.batalresep.Click += new System.Windows.RoutedEventHandler(this.batalresep_Click);

            #line default
            #line hidden
                return;

            case 88:
                this.tabItemJadwalD = ((System.Windows.Controls.TabItem)(target));
                return;

            case 89:
                this.labeljadwaldok = ((System.Windows.Controls.Label)(target));
                return;

            case 90:
                this.dataGridjadwaldok = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 91:
                this.labeljadwalper = ((System.Windows.Controls.Label)(target));
                return;

            case 92:
                this.dataGridjadwalper = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 93:
                this.jdwldoksya = ((System.Windows.Controls.Button)(target));

            #line 198 "..\..\..\Dokter.xaml"
                this.jdwldoksya.Click += new System.Windows.RoutedEventHandler(this.jdwldoksya_Click);

            #line default
            #line hidden
                return;

            case 94:
                this.jdwldoksmua = ((System.Windows.Controls.Button)(target));

            #line 199 "..\..\..\Dokter.xaml"
                this.jdwldoksmua.Click += new System.Windows.RoutedEventHandler(this.jdwldoksmua_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }