예제 #1
0
        private static void EditJoin(ScreenDrawingSurface surface, Join join)
        {
            JoinForm form = new JoinForm(join, surface.Screen.Stage.Screens);

            form.OK += () => surface.Screen.Stage.RaiseJoinChange(join);
            form.Show();
        }
예제 #2
0
        private static void NewJoin(ScreenDrawingSurface surface, string s1, string s2, JoinType type, int offset)
        {
            Join newjoin = new Join {
                screenTwo = s2, screenOne = s1, type = type, Size = 1
            };

            newjoin.offsetOne = newjoin.offsetTwo = offset;
            JoinForm form = new JoinForm(newjoin, surface.Screen.Stage.Screens);

            form.OK += () => surface.Screen.Stage.AddJoin(newjoin);
            form.Show();
        }
예제 #3
0
 private static void EditJoin(ScreenDrawingSurface surface, Join join)
 {
     JoinForm form = new JoinForm(join, surface.Screen.Stage.Screens);
     form.OK += () => surface.Screen.Stage.RaiseJoinChange(join);
     form.Show();
 }
예제 #4
0
 private static void NewJoin(ScreenDrawingSurface surface, string s1, string s2, JoinType type, int offset)
 {
     Join newjoin = new Join {screenTwo = s2, screenOne = s1, type = type, Size = 1};
     newjoin.offsetOne = newjoin.offsetTwo = offset;
     JoinForm form = new JoinForm(newjoin, surface.Screen.Stage.Screens);
     form.OK += () => surface.Screen.Stage.AddJoin(newjoin);
     form.Show();
 }