Exemplo n.º 1
0
 /// <summary>
 /// Event is invoked when Click on Edit Setting
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void toolStripMenuEditSettings_Click(object sender, EventArgs e)
 {
     KaraoqPlayBackTool karaoqPlayBackToolSetting = new KaraoqPlayBackTool();
     karaoqPlayBackToolSetting.IsEditSetting = true;
     karaoqPlayBackToolSetting.ShowDialog();
 }
Exemplo n.º 2
0
 /// <summary>
 /// Event is invoked when click Log out button click
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void kbtnLogout_Click(object sender, EventArgs e)
 {
     if (KryptonMessageBox.Show("Are you sure want to logout application?", General.SystemMessageCaption, MessageBoxButtons.YesNo, MessageBoxIcon.Question) == System.Windows.Forms.DialogResult.Yes)
     {
         KaraoqPlayBackTool karaoqPlayBackTool = new KaraoqPlayBackTool();
         karaoqPlayBackTool.TopLevel = false;
         DatabaseSyncMain databaseSyncMain = (DatabaseSyncMain)this.Parent.Parent;
         databaseSyncMain.Size = new System.Drawing.Size(karaoqPlayBackTool.Size.Width + 10, karaoqPlayBackTool.Size.Height + 56);
         databaseSyncMain.AddForms(karaoqPlayBackTool);
         karaoqPlayBackTool.TopMost = true;
         karaoqPlayBackTool.Show();
     }
 }