//su kien khi đống MĩingEditor thì refresh lại GridView và đóng form private void MyEvent_ShowMixingEditorChanged(object sender, ScaleValueChangedEventArgs e) { if (GlobalVariable.myEvent.ShowMixingEditor == false) { grcMixing.DataSource = DbMixCode.Instance.GetAllMixedList(); } }
private void MyEvent_ShowMixingEditorChanged(object sender, ScaleValueChangedEventArgs e) { if (e.ShowMixingEditor == true) { frmMixing nf = new frmMixing(); tabbedView.AddDocument(nf); } }